How to change the message type of a topic ?
I am facing this error when I try to launch my pose3D.launch node :
[ERROR] [1537274177.574505613]: Client [/pose3D] wants topic /odo to have datatype/md5sum [intervalmapmsg/odo/18550ae0562d2d3f5ac16bd524fd7ee4], but our version has [motioncommonmsg/Odometry/53fb859e63296783fbcea5a91fdc0352]. Dropping connection.
I have a rosbag with a topic /vehicle/odometry, and the message type is supposed to be /intervalmapmsg/odo. Has the error message say, I think my rosbag is sending the wrong type of message but when print the msg of my rosbag thanks to a python script i can clearly see this is the good type.
So I am guessing the msg of my rosbag has a type of msg has motioncommonmsg/Odometry and even if intervalmapmsg/odo msg type is the same, ros can't recognize it.
When i run the command line
rostopic info /intervalmapmsg/odo
I get the following :
Type: motioncommonmsg/Odometry
Publishers: * /rqtguicppnode30580 (http://agoldstrich-Precision-7520:46015/)
Subscribers: None
So indeed I need to change my topic type. Is it possible to change it ? And how can I do that ?
Asked by antoineniotna on 2018-09-18 09:28:40 UTC
Comments