Dynamic Reconstruction with RealSense
This tutorial demonstrates how to perform reconstruction of a scene with moving elements in nvblox using a RealSense camera.
The algorithm used for nvblox dynamic reconstruction is based on the following paper:
For more information about dynamic reconstruction in nvblox see Technical Details.
Note
Dynamic reconstruction requires accurate pose estimation. Objects moving slower than the odometry drift can’t be detected as dynamic.
Example with RealSense Live Data
- Before continuing this example, you must have successfully completed the
Connect the RealSense device to your machine using a USB 3 cable/port.
Run the ROS Docker container using the
run_dev.sh
script:cd ${ISAAC_ROS_WS}/src/isaac_ros_common && \ ./scripts/run_dev.sh
Source the workspace:
source /workspaces/isaac_ros-dev/install/setup.bash
Verify that the RealSense camera is connected by running
realsense-viewer
:realsense-viewer
If successful, run the launch file to spin up the example:
ros2 launch nvblox_examples_bringup realsense_dynamics_example.launch.py
Note
If you want to restrict odometry to a 2D plane
(for example, to run a robot in a flat environment),
you can use the flatten_odometry_to_2d
argument.
Example with RealSense Recorded Data
If you want to run the example on recorded data see RealSense Data Recording for Nvblox.
Troubleshooting
See RealSense Issues.