Home

Awesome

Isaac ROS Pose Estimation

Deep learned, NVIDIA-accelerated 3D object pose estimation

<div align="center"><a class="reference internal image-reference" href="https://media.githubusercontent.com/media/NVIDIA-ISAAC-ROS/.github/main/resources/isaac_ros_docs/repositories_and_packages/isaac_ros_pose_estimation/dope_objects.png/"><img alt="image" src="https://media.githubusercontent.com/media/NVIDIA-ISAAC-ROS/.github/main/resources/isaac_ros_docs/repositories_and_packages/isaac_ros_pose_estimation/dope_objects.png/" width="400px"/></a></div>

Overview

Isaac ROS Pose Estimation contains three ROS 2 packages to predict the pose of an object. Please refer the following table to see the differences of them:

NodeNovel Object wo/ RetrainingTAO SupportSpeedQualityMaturity
isaac_ros_foundationposeN/AFastBestNew
isaac_ros_dopexxFastestGoodTime-tested
isaac_ros_centerposexFasterBetterEstablished

Those packages use GPU acceleration for DNN inference to estimate the pose of an object. The output prediction can be used by perception functions when fusing with the corresponding depth to provide the 3D pose of an object and distance for navigation or manipulation.

<div align="center"><a class="reference internal image-reference" href="https://media.githubusercontent.com/media/NVIDIA-ISAAC-ROS/.github/main/resources/isaac_ros_docs/repositories_and_packages/isaac_ros_pose_estimation/isaac_ros_pose_estimation_nodegraph.png/"><img alt="image" src="https://media.githubusercontent.com/media/NVIDIA-ISAAC-ROS/.github/main/resources/isaac_ros_docs/repositories_and_packages/isaac_ros_pose_estimation/isaac_ros_pose_estimation_nodegraph.png/" width="500px"/></a></div>

isaac_ros_foundationpose is used in a graph of nodes to estimate the pose of a novel object using 3D bounding cuboid dimensions. It’s developed on top of FoundationPose model, which is a pre-trained deep learning model developed by NVLabs. FoundationPose is capable for both pose estimation and tracking on unseen objects without requiring fine-tuning, and its accuracy outperforms existing state-of-art methods.

FoundationPose comprises two distinct models: the refine model and the score model. The refine model processes initial pose hypotheses, iteratively refining them, then passes these refined hypotheses to the score model, which selects and finalizes the pose estimation. Additionally, the refine model can serve for tracking, that updates the pose estimation based on new image inputs and the previous frame’s pose estimate. This tracking process is more efficient compared to pose estimation, which speeds exceeding 120 FPS on the Jetson Orin platform.

isaac_ros_dope is used in a graph of nodes to estimate the pose of a known object with 3D bounding cuboid dimensions. To produce the estimate, a DOPE (Deep Object Pose Estimation) pre-trained model is required. Input images may need to be cropped and resized to maintain the aspect ratio and match the input resolution of DOPE. After DNN inference has produced an estimate, the DNN decoder will use the specified object type, along with the belief maps produced by model inference, to output object poses.

NVLabs has provided a DOPE pre-trained model using the HOPE dataset. HOPE stands for Household Objects for Pose Estimation. HOPE is a research-oriented dataset that uses toy grocery objects and 3D textured meshes of the objects for training on synthetic data. To use DOPE for other objects that are relevant to your application, the model needs to be trained with another dataset targeting these objects. For example, DOPE has been trained to detect dollies for use with a mobile robot that navigates under, lifts, and moves that type of dolly. To train your own DOPE model, please refer to the Training your Own DOPE Model Tutorial.

isaac_ros_centerpose has similarities to isaac_ros_dope in that both estimate an object pose; however, isaac_ros_centerpose provides additional functionality. The CenterPose DNN performs object detection on the image, generates 2D keypoints for the object, estimates the 6-DoF pose up to a scale, and regresses relative 3D bounding cuboid dimensions. This is performed on a known object class without knowing the instance-for example, a CenterPose model can detect a chair without having trained on images of that specific chair.

Pose estimation is a compute-intensive task and therefore not performed at the frame rate of an input camera. To make efficient use of resources, object pose is estimated for a single frame and used as an input to navigation. Additional object pose estimates are computed to further refine navigation in progress at a lower frequency than the input rate of a typical camera.

Packages in this repository rely on accelerated DNN model inference using Triton or TensorRT from Isaac ROS DNN Inference. For preprocessing, packages in this rely on the Isaac ROS DNN Image Encoder, which can also be found at Isaac ROS DNN Inference.

Performance

Sample Graph<br/><br/>Input Size<br/><br/>AGX Orin<br/><br/>Orin NX<br/><br/>Orin Nano 8GB<br/><br/>x86_64 w/ RTX 4060 Ti<br/><br/>x86_64 w/ RTX 4090<br/><br/>
FoundationPose Pose Estimation Node<br/><br/><br/><br/>720p<br/><br/><br/><br/>1.72 fps<br/><br/><br/>690 ms @ 30Hz<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>7.02 fps<br/><br/><br/>170 ms @ 30Hz<br/><br/>
DOPE Pose Estimation Graph<br/><br/><br/><br/>VGA<br/><br/><br/><br/>41.3 fps<br/><br/><br/>42 ms @ 30Hz<br/><br/>17.5 fps<br/><br/><br/>76 ms @ 30Hz<br/><br/><br/><br/><br/><br/>85.2 fps<br/><br/><br/>24 ms @ 30Hz<br/><br/>199 fps<br/><br/><br/>14 ms @ 30Hz<br/><br/>
Centerpose Pose Estimation Graph<br/><br/><br/><br/>VGA<br/><br/><br/><br/>36.3 fps<br/><br/><br/>4.8 ms @ 30Hz<br/><br/>19.7 fps<br/><br/><br/>4.9 ms @ 30Hz<br/><br/>13.8 fps<br/><br/><br/>7.4 ms @ 30Hz<br/><br/>50.2 fps<br/><br/><br/>23 ms @ 30Hz<br/><br/>50.2 fps<br/><br/><br/>20 ms @ 30Hz<br/><br/>

Documentation

Please visit the Isaac ROS Documentation to learn how to use this repository.


Packages

Latest

Update 2024-09-26: Update for ZED compatibility