Tutorial for FoundationStereo with Isaac Sim#
This tutorial walks you through a graph to estimate depth with stereo images from Isaac Sim using FoundationStereo.
Tutorial Walkthrough#
Install and launch Isaac Sim following the steps in the Isaac ROS Isaac Sim Setup Guide.
Press Play to start publishing data from the Isaac Sim.
Complete the
isaac_ros_foundationstereoquickstart.
Note
Use the FoundationStereo model for the quickstart.
Open a second terminal and attach to the container:
isaac-ros activateIn the second terminal, start the
isaac_ros_foundationstereonode using the launch files:ros2 launch isaac_ros_foundationstereo isaac_ros_foundationstereo_isaac_sim.launch.py \ engine_file_path:=${ISAAC_ROS_WS:?}/isaac_ros_assets/models/foundationstereo/deployable_foundation_stereo_small_v1.0/foundationstereo_576x960.engine
ros2 launch isaac_ros_foundationstereo isaac_ros_foundationstereo_isaac_sim.launch.py \ engine_file_path:=${ISAAC_ROS_WS:?}/isaac_ros_assets/models/foundationstereo/deployable_foundation_stereo_small_v1.0/foundationstereo_320x736.engine \ model_input_width:=736 model_input_height:=320
Optionally, you can run the visualizer script to visualize the disparity image:
ros2 run isaac_ros_foundationstereo isaac_ros_foundationstereo_visualizer.py
