ros-perception / depthimage_to_laserscan

Converts a depth image to a laser scan for use with navigation and localization.
243 stars 163 forks source link

camera_info remapping in launch file doesn't work (melodic) #54

Open paulacvalle opened 2 years ago

paulacvalle commented 2 years ago

Hello, I am using this package with a pre-recorded data from an Intel RealSense camera, and my image depth topic is "/camera/aligned_depth_to_color/image_raw", but my camera_info topic is "/camera/color/camera_info". I can sucessfully remap the "image" topic in my launch file, but the "camera_info" topic uses the same path as "image" and does not remap.

I am not used to ROS in C++, so I don't know where I could change in the source code for this to work.

Currently using topic_tools relay to re-publish the "/camera/color/camera_info" topic as "/camera/aligned_depth_to_color/camera_info", but it's bothersome, so I decided to open this issue to let the developers know about it.

Thanks for developing this package and cheers!

dt1729 commented 1 year ago

Same problem as well, does not work with ROS noetic either.

fernandaroeg commented 1 year ago

Same problem for me in ROS noetic, had to republish my data to fit the topic