Home

Awesome

Isaac ROS Nvblox

Nvblox ROS 2 integration for local 3D scene reconstruction and mapping.

<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_nvblox/isaac_sim_nvblox_humans.gif/"><img alt="image" src="https://media.githubusercontent.com/media/NVIDIA-ISAAC-ROS/.github/main/resources/isaac_ros_docs/repositories_and_packages/isaac_ros_nvblox/isaac_sim_nvblox_humans.gif/" width="600px"/></a></div>

Overview

Isaac ROS Nvblox contains ROS 2 packages for 3D reconstruction and cost maps for navigation. isaac_ros_nvblox processes depth and pose to reconstruct a 3D scene in real-time and outputs a 2D costmap for Nav2. The costmap is used in planning during navigation as a vision-based solution to avoid obstacles.

isaac_ros_nvblox is designed to work with depth-cameras and/or 3D LiDAR. The package uses GPU acceleration to compute a 3D reconstruction and 2D costmaps using nvblox, the underlying framework-independent C++ library.

<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_nvblox/isaac_ros_nvblox_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_nvblox/isaac_ros_nvblox_nodegraph.png/" width="750px"/></a></div>

Above is a typical graph that uses isaac_ros_nvblox. Nvblox takes a depth image, a color image, and a pose as input, with which it computes a 3D scene reconstruction on the GPU. In this graph the pose is computed using visual_slam, or some other pose estimation node. The reconstruction is sliced into an output cost map which is provided through a cost map plugin into Nav2. An optional colorized 3D reconstruction is delivered into rviz using the mesh visualization plugin. Nvblox streams mesh updates to RViz to update the reconstruction in real-time as it is built.

isaac_ros_nvblox offers several modes of operation. In its default mode the environment is assumed to be static. Two additional modes of operation are provided to support mapping scenes which contain dynamic elements: people reconstruction, for mapping scenes containing people, and dynamic reconstruction, for mapping scenes containing more general dynamic objects. The graph above shows isaac_ros_nvblox operating in people reconstruction mode. The color image corresponding to the depth image is processed with unet, using the PeopleSemSegNet DNN model to estimate a segmentation mask for persons in the color image. Nvblox uses this mask to separate reconstructed persons into a separate people-only part of the reconstruction. The Technical Details provide more information on these three types of mapping.

Performance

The following tables provides timings for various functions of nvblox core on various platforms.

<table class="docutils align-default"> <thead> <tr class="row-odd"> <th class="head">Dataset</th> <th class="head">Voxel Size (m)</th> <th class="head">Component</th> <th class="head">x86_64 w/ 3090 (Desktop)</th> <th class="head">x86_64 w/ RTX A3000 (Laptop)</th> <th class="head">AGX Orin</th> <th class="head">Orin Nano</th> </tr> </thead> <tbody> <tr class="row-even"> <td rowspan="5">Replica</td> <td rowspan="5">0.05</td> <td>TSDF</td> <td>0.5 ms</td> <td>0.3 ms</td> <td>0.8 ms</td> <td>2.1 ms</td> </tr> <tr class="row-odd"> <td>Color</td> <td>0.7 ms</td> <td>0.7 ms</td> <td>1.1 ms</td> <td>3.6 ms</td> </tr> <tr class="row-even"> <td>Meshing</td> <td>0.7 ms</td> <td>1.3 ms</td> <td>2.3 ms</td> <td>13 ms</td> </tr> <tr class="row-odd"> <td>ESDF</td> <td>0.8 ms</td> <td>1.2 ms</td> <td>1.7 ms</td> <td>6.2 ms</td> </tr> <tr class="row-even"> <td>Dynamics</td> <td>1.7 ms</td> <td>1.4 ms</td> <td>2.0 ms</td> <td>N/A(\*)</td> </tr> <tr class="row-even"> <td rowspan="5">Redwood</td> <td rowspan="5">0.05</td> <td>TSDF</td> <td>0.2 ms</td> <td>0.2 ms</td> <td>0.5 ms</td> <td>1.2 ms</td> </tr> <tr class="row-odd"> <td>Color</td> <td>0.5 ms</td> <td>0.5 ms</td> <td>0.8 ms</td> <td>2.6 ms</td> </tr> <tr class="row-even"> <td>Meshing</td> <td>0.3 ms</td> <td>0.5 ms</td> <td>0.9 ms</td> <td>4.2 ms</td> </tr> <tr class="row-odd"> <td>ESDF</td> <td>0.8 ms</td> <td>1.0 ms</td> <td>1.5 ms</td> <td>5.1 ms</td> </tr> <tr class="row-even"> <td>Dynamics</td> <td>1.0 ms</td> <td>0.7 ms</td> <td>1.2 ms</td> <td>N/A(\*)</td> </tr> </tbody> </table>

(*): Dynamics not supported on Jetson Nano.


Documentation

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


Packages

Latest

Update 2024-12-10: Optimized performance for always-on dynamic obstacle detection and 1 cm voxels