How to use stereo_image_proc with different topic?
Hi all,
I am a newbie in this field..
I am trying to calculate the 3d position of a specific point with respect to the camera coordinate using a stereo camera.
I'd like to use stereo_image_proc package but I am having trouble with the topic name. The warning says that the input topic is not yet advertised.
From my understanding, stereo_image_proc only recognize topics named as "stereo/left/image_raw". However, I have topic named as "left/decklink/camera/image_raw".
I tried remap option to change the topic name but it doesn't seem to work..
The below is the .launch code that I wrote..
<node name="image_listener_stereo" pkg="get_3d_pos" type="stereo_subscriber">
</node>
<node ns = "stereo" pkg="stereo_image_proc" type="stereo_image_proc" name="stereo_image_proc">
<remap from="stereo/left/image_raw" to="/left/decklink/camera/image_raw"/>
<remap from="stereo/right/image_raw" to="/right/decklink/camera/image_raw"/>
</node>
Can anyone help me with this?
Random, but drop the forward slash before "left" and "right" to be more consistent with the original topics.
EDIT: Nevermind, you put them in the namespace
ALSO: Are the images synchronized exactly? If not in the launch file pass the following