Currently tested on Ubuntu 20.04 with ROS Noetic, on an AMD64 system, using a 37AUX462 USB3 Vision camera.
The camera driver has two components
tiscamera
which is the core drivertiscamera-dutil
which contains many additional useful features, such as tonemapping
- Install GStreamer
sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
- Install Python Depencies
python3-gi python3-pyqt5
- Uninstall if only if exist tiscamera driver
sudo apt remove tiscamera
- For ARM64
gstreamer-1.0 libusb-1.0 libglib2.0 libgirepository1.0-dev libudev-dev libtinyxml-dev libzip-dev libnotify-dev
The files exist in tis_camera_driver/sdk. Just take care that you system AMD64 or ARM64
tiscamera_0.12.0
which is the core drivertiscamera-dutils_1.0.0
which contains many additional useful features, such as tonemapping- Change directory to tis_camera_driver/sdk and you can install as
sudo apt install tiscamera_0.12.0_amd64.deb
and
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. https://github.com/TheImagingSource/tiscamera/releases
Clone https://github.com/TheImagingSource/tiscamera
and checkout the release version
git clone https://github.com/TheImagingSource/tiscamera.git && cd tiscamera
./scripts/dependency-manager install
git checkout v-tiscamera-0.12.0
mkdir build && cd build
cmake -DBUILD_TOOLS=ON -DBUILD_ARAVIS=OFF ..
make
sudo make install
Create a workpsace as tis_ws/src and change your directory to tis_ws/src
git clone https://github.com/cyhunblr/tis_camera_driver
cd ..
rosdep install --from-paths src --ignore-src -r -y
catkin_make -DCMAKE_BUILD_TYPE=Release
source devel/setup.bash
roslaunch tis_camera_driver tis_camera.launch
tis_camera_driver/config
- You need to know your camera's serial number and set this parameter in config/configuration.yaml.
- You can view and modify other parameters if necessary.
tis_camera_driver/intrinsics
- The tis_front_cam.yaml file is the output from the camera_calibration package.
- If you do not set the intrinsic file, camera info will not be published.
- If tcam lib not found, you have to apply Build from Source.
- Publish Rectified Image
- Add some other parameter ex. exposure, gain, etc.
- Clean and prepare the interface
- Implementation to ROS2
- Seperate the branch AMD64 and ARM64