The Imaging Source USB3.1 IMX Board Cameras

Camera Driver Installation Guide#
The camera driver has two components
tiscamerawhich is the core drivertiscamera-dutilwhich contains many additional useful features, such as tonemapping
Step 1/3: Install tiscamera Core Driver#
For Intel-based processor, you may choose to install the official compiled tiscamera package from here: https://github.com/TheImagingSource/tiscamera/releases
note
- As of Jan 2021, we are using version 0.12.0
- For TX2 or Xavier, if cannot build from source, can try to install the official compiled tiscamera package
tiscamera_0.12.0_arm64.debdirectly.
However, it is strongly recommanded to build from source, for the main tiscamera driver, especially on Nvidia arm64 platform.
Build tiscamera From Source#
Install
GStreamerthrough apt firstClone
https://github.com/TheImagingSource/tiscameraand checkout the release version, for examplev-tiscamera-0.12.0git clone https://github.com/TheImagingSource/tiscamera.gitgit checkout v-tiscamera-0.12.0Change CMakeList.txt
BUILD_TOOLStoON(Jetson TX2) Install dependencies
gstreamer-1.0 libusb-1.0 libglib2.0 libgirepository1.0-dev libudev-dev libtinyxml-dev libzip-dev libnotify-devInstall python dependencies
python3-gi python3-pyqt5Uninstall existing apt package
sudo apt remove tiscamerause CMake build and install:
mkdir build && cd buildcmake -DBUILD_ARAVIS=OFF ..makesudo make install
Step 2/3: Install tiscamera-dutils#
Also install the dutils package here tiscamera-dutils_1.0.0.160
https://github.com/chengguizi/tiscamera_ros/tree/master/sdk_debs
tip
To verify driver installation, connect the camera using usb cable, then run tcam-capture, and there should be an option for tonemapping showing up. Otherwise, the installation is unsuccessful.
Also, in gst-inspect-1.0 tcambin, the dutil should have default to be true.
Step 3/3: Integrating with ROS: tiscamera_ros#
The ROS driver could be found at https://github.com/chengguizi/tiscamera_ros/
Dependencies:
- mavlink (install by apt
ros-melodic-mavlink) - mavros (https://github.com/chengguizi/mavros, monotonic branch)
There are two files important for configuration, in the launch folder
- the
device_listfile, which defines the camera string name, as well as serial numberhardware_sync_modeset tononeif no hardware synchronisation is used- if hardware sync is used, it should set to
slave
- the
paramfile, which sets the exposure settings for all cameras