Welcome to Jetson Orin NX Developer Kit repository
当製品の日本語版マニュアル資料は、こちらからご取得ください。
04.Free space segmentation
Isaac ROS Free space segmentation
Isaac ROS Free Space Segmentation official website link: https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_freespace_segmentation/index.html
Overview
Free space segmentation processes segmentation masks that contain the pose of the robot relative to the ground, and generates the occupancy grid used for obstacle avoidance by Nav2. Bi3D free space is an additional source of occupancy grid that mobile robots can use.

Quick experience
First start the container with the following command
./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. The input image is 1920×1080 and the model input is 960×576:
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:=576Terminal B: play the input in a loop at 0.25 times the speed:
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: run the depth segmentation post-processing:
xxxxxxxxxxpython3 /workspaces/isaac_ros-dev/ess_segmentation.pyTerminal D: open rqt image view and select /ess/depth_segmentation under Topic:
xxxxxxxxxxros2 run rqt_image_view rqt_image_view
