Replies: 5 comments 1 reply
-
In order to keep the md5sum value the same between publisher(C++ Code) and subcriber(Golang Code)? [2022/04/27 16:19:46] [ERROR] subscriber '/ros_message' got an error: Client [/goroslib_sub] wants topic /ros_message to have datatype/md5sum [my_package/MessageDefine/bb2536dfe63ce438b01083e3738ff786], but our version has [my_package/MessageDefine/9a79d9978a17eda1bf6fd4440b27c26e]. Dropping connection. |
Beta Was this translation helpful? Give feedback.
-
Do is support ROS1.0 and melodic ? |
Beta Was this translation helpful? Give feedback.
-
You have to make sure that message definitions are the same on both the Go publisher and the C++ subscriber. This library provides an utility that allows to convert C++ message definitions into Go definitions: https://github.com/aler9/goroslib#import-existing-messages-services-and-actions |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm confused by the "--gopackage=/pkg/msgs" bit. |
Beta Was this translation helpful? Give feedback.
-
one more related request. |
Beta Was this translation helpful? Give feedback.
-
1、I try to get info of topic ,I write code by golang with goroslib,and start program in ubuntu18.04 as subcriber
2、I write a published with C++,and start program in ubuntu18.04 as published
subcriber get info as follow
[2022/04/27 16:19:46] [ERROR] subscriber '/ros_message' got an error: Client [/goroslib_sub] wants topic /ros_message to have datatype/md5sum [my_package/MessageDefine/bb2536dfe63ce438b01083e3738ff786], but our version has [my_package/MessageDefine/9a79d9978a17eda1bf6fd4440b27c26e]. Dropping connection.
I am c
ROS_C++.zip
onfused, what should I do? Please help me
golang_sub.zip
,
Beta Was this translation helpful? Give feedback.
All reactions