ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Tried to subscribe to a topic with the same name but different md5sum

asked 2018-12-02 02:49:02 -0500

boon gravatar image

updated 2018-12-02 04:43:18 -0500

gvdhoorn gravatar image

I am trying to launch lsd_slam, as,

rosrun lsd_slam_core live_slam /image:=/ardrone/front/image_raw /camera_info:=/ardrone/front/image_raw

and then I get the error,

rosrun lsd_slam_core live_slam /image:=/ardrone/front/image_raw /camera_info:=/ardrone/front/image_raw
terminate called after throwing an instance of 'ros::ConflictingSubscriptionException'
  what():  Tried to subscribe to a topic with the same name but different md5sum as a topic that was already subscribed [sensor_msgs/CameraInfo/c9a58c1b0b154e0e6da7578cb991d214 vs. sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743]
Aborted (core dumped)

I had been running lsd_slam successfully for some time. I know not what changed in the setup.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-02 04:45:07 -0500

gvdhoorn gravatar image
rosrun lsd_slam_core live_slam /image:=/ardrone/front/image_raw /camera_info:=/ardrone/front/image_raw

Note the remap you're specifying at the end there:

/camera_info:=/ardrone/front/image_raw

you're trying to remap the camera_info topic to the ardrone/front/image_raw topic. The first is of type sensor_msgs/CameraInfo, while the second is of type sensor_msgs/Image.

Those are not compatible.

I had been running lsd_slam successfully for some time

Probably, but I doubt you were using the same remap.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2018-12-02 02:49:02 -0500

Seen: 2,670 times

Last updated: Dec 02 '18