stonier / ueye_cam

A ROS nodelet and node that wraps the driver API for UEye cameras by IDS Imaging Development Systems GMBH.
Other
1 stars 2 forks source link

Build Test (not for release)

UEye Cam Driver

This software comes with a BSD License and provides convenience APIs (c++ and ROS) that facilitate access to UEye Cameras via the IDS Software Suite.

Requirements

Buildtime

If you are just building the software, no IDS Software Suite installation is required. This package will fetch headers and libraries on-the-fly to result in a successful build. Note however, that these are not made available for a runtime environment. These headers and libraries are not installed to the install space and you'll also need to install the IDS discovery daemon.

Runtime

The IDS Software Suite installs headers, libraries, documentation and a daemon used for discovery of UEye cameras.

Start the discovery daemon for ethernet connected cameras:

$ sudo systemctl start ueyeethdrc
$ sudo /etc/init.d/ueyeethdrc start

To configure the cameras, do it via the idscameramanager graphical tool (should be reasonably self-explanatory) or via the command line tools:

Usage

Resources

Default resource paths include:

The camera calibration files are used to feed the ros2 camera_calibration framework.

The IDS configuration files are the native format for configuring an IDS camera. In general, you do not need an IDS configuration file as the ROS wrapper exposes most of the configuration via dynamic ROS parameters, but an IDS configuration file can be useful for parameters that it does not yet cover.

Quick Start

To get started, launch the standalone or component launcher. It is configured with a parameterisation that should enable connection to most IDS cameras.

# Install launcher / debugging / viz tools if you don't already have them
$ sudo apt install ros-foxy-ros2launch ros-foxy-ros2param ros-foxy-ros2run ros-foxy-ros2topic ros-foxy-rqt-image-view

# Uses ueye_cam/config/standalone.yaml
$ ros2 launch ueye_cam standalone.launch.py

# In a seperate shell, visualise the stream
$ ros2 run rqt_image_view rqt_image_view /ueye_cam/froody/image_raw

# Play around with parameters
$ ros2 param list
$ ros2 param set ueye_cam auto_gain false
$ ros2 param describe ueye_cam red_gain
$ ros2 param set ueye_cam red_gain 100

Configuration

In a typical launch, configuration can be traced to one or more sources, each with their own priority. Lower priorities can be overridden by higher priorities. From lowest, to highest:

Camera Calibration

TODO

IDS Camera Configuration Files (Optional)

Using the ros2 node, along with ros2 parameters will serve most use cases. Making use of IDS camera configuration files however (e.g. config/example_ids_configuration.ini) is useful in some situations:

TODO - how to use the IDS gui, how to export and load the configuration files.