Skip to content

jetson_install

Moscowsky Anton edited this page Nov 23, 2021 · 7 revisions

This section is about installing the package on Jetson series computers.

The problem is that at the time of this writing, support for Ubuntu 20.04 has not been released for Jetson, on which ROS Noetic is installed, in turn based on OpenCV 4.2.0, which has access to the DNN module. Thus, you simply cannot use a platform designed for fast graphical computing as intended for ROS. This requires reinstalling OpenCV.
__Note: __ reinstalling OpenCV and replacing cv_bridge may break other packages!

Tested on platforms:

Jetson platform JetPack version OpenCV version
Xavier AGX 4.4.1 4.4.0
  1. Install OpenCV 4.4.0 using script https://github.com/Extended-Object-Detection-ROS/nano_build_opencv
cd
mkdir Libs && cd Libs
git clone https://github.com/Extended-Object-Detection-ROS/nano_build_opencv
./build_opencv.sh 4.4.0

Version 4.2.0 is not supported by new JetPack 2. Create symlink /usr/include/opencv --> /usr/include/opencv4

cd /usr/include
sudo ln -s opencv4 opencv
  1. Download modified for cv4 cv_bridge
cd catkin_ws/src
git clone https://github.com/Extended-Object-Detection-ROS/cv_bridge_fixed_for_jetson 
catkin_build
  1. Then insatll package https://github.com/Extended-Object-Detection-ROS/extended_object_detection/wiki/eod_install
Clone this wiki locally