OAK-D-Lite rgb camera and depth combined on Jetson Nano 2G.
rgb_depth.cpp
How to use.
- down load on Jetson Nano 2G
$ cd ~catkin_ws/src
$ git clone https://github.com/tosa-no-onchan/depthai_ros_app.git
$ cd ..
$ catkin_make --pkg depthai_ros_app -j1 - run
on Remote PC
$ roscore
on Jeston Nano 2G
$ ros run depthai_ros_app rgb_depth
or
$roslaunch depthai_ros_app rgb_depth.launch
on Remote PC
$rviz
add /rgb/image/Image compressed
add /stereo_publisher/stereo/depth/Image compressedDepth
add /stereo_publisher/stereo/depth/DepthCloud compressedDepth