Realsense launch and wrong remapping

Hello

When I launch any of the perception examples the remapping is always wrong. below is an example launch command:

ros2 launch isaac_ros_examples isaac_ros_examples.launch.py launch_fragments:=realsense_mono_rect_depth

in the launch file for example isaac_ros_realsense_mono_rect_depth_core.launch.py' you have this remapping code:

remappings=[('color/image_raw', '/mage_rect'), 
('color/camera_info', 'camera_info_rect')]

But this doesn’t take into consideration the name_space of the launch files. So I had to manually change this code to:

remappings=[('/realsense2_camera/color/image_raw', '/image_rect'), 
('/realsense2_camera/color/camera_info', '/camera_info_rect')]

And it works. you might want to consider fixing this ‘bug’

Bren

Hi @bren1

Thank you for your post and also the bug report. I forwarded your bug to engineering to be fixed in a future release.

Thank you
Raffaello