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

md5sum error between ROS nodes

asked 2021-02-03 18:04:53 -0600

mateusguilherme gravatar image

Hello I'm running "raspicam node" (git Raspicam_node) on a raspberry pi 4 with ROS Melodic. When another node subscribes to the image messages I get the following error:

[ERROR] [1612396068.195064226]: Client [/image_converter_12348_1612396068098] wants topic /raspicam_node/image/compressed to have datatype/md5sum [sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743], but our version has [sensor_msgs/CompressedImage/8f7a12909da2c9d3332d540a0977563f]. Dropping connection.

Apparently the rapicam_node node is functioning normally, the problem only happens when another node tries to subscribe to the Image messages. I need another node to subscribe to the messages to process the image with opencv. From what git says raspicam_node was made for the kinetic version.

any suggestions?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-02-04 02:07:11 -0600

mgruhler gravatar image

One of publisher/subscribers is looking at a sensor_msgs/Image, the other at a sensor_msgs/CompressedImage. Make sure the type of message you are subscribing to matches what you declare in your code. There is also a sensor_msgs/Image topic in raspicam_node under the /raspicam_node/image topic... (you need to set enable_raw to true) See the readmed

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-02-03 18:04:53 -0600

Seen: 1,087 times

Last updated: Feb 04 '21