This example shows how to start the camera node and align depth stream to other available streams such as color or infra-red.
In our launch file rs_align_depth_launch.py We will align depth to color.
ros2 launch realsense2_camera rs_align_depth_launch.py
You can also enable align depth by overriding its value in the command line:
ros2 launch realsense2_camera rs_launch.py align_depth.enable:=true
As can be seen from the image below, Aligned Topics are now available
Updated 2 months ago