Welcome to Jetson Orin NX Developer Kit repository
当製品の日本語版マニュアル資料は、こちらからご取得ください。
03.DNN stereoscopic depth
Isaac ROS DNN Stereo Depth
Isaac ROS DNN Stereo Depth official website link: https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_dnn_stereo_depth/index.html
Overview
DNN Stereo Depth uses deep learning to estimate disparity/depth from stereo images, which provides distance information for robot manipulation, navigation and obstacle avoidance. ESS is also the stereo depth component of the Isaac ROS perception solution.

Quick experience
First start the container with the following command
xxxxxxxxxx./run_isaac.sh
Then confirm the container on the host with docker ps, and open the container terminals with docker exec -it <container name> bash. Each terminal has to use the same ROS/FastDDS environment, for example:

Note: all the terminals below are executed inside the container:
Terminal A: start the Nano pool=8 ESS and specify the model size that matches the 1920×1080 input:
xxxxxxxxxxros2 launch /workspaces/isaac_ros-dev/launch/ess_nano_pool8.launch.py \ engine_file_path:=/workspaces/isaac_ros-dev/isaac_ros_assets/models_pending/dnn_stereo_disparity/dnn_stereo_disparity_v4.1.0_onnx_trt10.16/ess.engine \ ess_plugin_file_path:=/workspaces/isaac_ros-dev/isaac_ros_assets/models_pending/dnn_stereo_disparity/dnn_stereo_disparity_v4.1.0_onnx_trt10.16/plugins/aarch64/ess_plugins.so \ input_image_width:=1920 input_image_height:=1080 \ model_input_width:=960 model_input_height:=576 threshold:=0.0Terminal B: play the ESS input bag in a loop:
xxxxxxxxxxros2 bag play /workspaces/isaac_ros-dev/isaac_ros_assets/isaac_ros_ess/rosbags/ess_rosbag \ --loop --rate 0.25 --remap \ /left/camera_info:=/left/camera_info_rect \ /right/camera_info:=/right/camera_info_rectTerminal C: start the official DNN Stereo visualizer:
xxxxxxxxxxros2 run isaac_ros_dnn_stereo_decoder isaac_ros_dnn_stereo_visualizer.py
When the threshold is set to 0.4, the result is shown as follows:

Terminal D: check the disparity output briefly:
timeout 8 ros2 topic hz /disparity