The Imaging Source USB3.1 IMX Board Cameras
#
Camera Driver Installation GuideThe camera driver has two components
tiscamera
which is the core drivertiscamera-dutil
which contains many additional useful features, such as tonemapping
tiscamera
Core Driver#
Step 1/3: Install 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.deb
directly.
However, it is strongly recommanded to build from source, for the main tiscamera driver, especially on Nvidia arm64 platform.
tiscamera
From Source#
Build Install
GStreamer
through apt firstClone
https://github.com/TheImagingSource/tiscamera
and checkout the release version, for examplev-tiscamera-0.12.0
git clone https://github.com/TheImagingSource/tiscamera.gitgit checkout v-tiscamera-0.12.0
Change CMakeList.txt
BUILD_TOOLS
toON
(Jetson TX2) Install dependencies
gstreamer-1.0 libusb-1.0 libglib2.0 libgirepository1.0-dev libudev-dev libtinyxml-dev libzip-dev libnotify-dev
Install python dependencies
python3-gi python3-pyqt5
Uninstall existing apt package
sudo apt remove tiscamera
use CMake build and install:
mkdir build && cd buildcmake -DBUILD_ARAVIS=OFF ..makesudo make install
tiscamera-dutils
#
Step 2/3: Install 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.
tiscamera_ros
#
Step 3/3: Integrating with 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_list
file, which defines the camera string name, as well as serial numberhardware_sync_mode
set tonone
if no hardware synchronisation is used- if hardware sync is used, it should set to
slave
- the
param
file, which sets the exposure settings for all cameras