Can't subscribe to custom ROS message
Show older comments
I'm using ROS Indigo, Ubuntu 14.04 networked to my Windows Matlab machine. I created a custom message /path_management/path and I'm able to see it on the Matlab side with rostopic list /path_management/path, or rostopic info /path_management/path:
Publishers: * /path_management (<http://linux-PC:39466/>)
Subscribers: * /WaypointPathFollowing_54689 (<http://10.150.150.246:60582/>) * /rostopic_7874_1485558978151 (<http://10.150.150.245:45728/>)
But it times out when I try to echo. I notice in Simulink, the IsNew line never goes high.
The echo works fine on the ROS side for the custom message, and in addition, echo of /odom on ROS AND Matlab side works fine too. So it doesn't seem to be a networking issue.
Additional Info - on Ubuntu (ROS master) side the following error appears:
[ERROR] [1485635087.631443805, 5100.234000000]: Client
[/matlab_global_node_42828] wants topic /path_management/path to have
datatype/md5sum [path_management/path/aac7397a189d8edec434ccc8926eb4da], but
our version has [path_management/path/d702e7bbf3b5ac3c2b7bd081a8a34ca7].
Dropping connection.
Any help in this regard would be appreciated.
Accepted Answer
More Answers (0)
Categories
Find more on Network Connection and Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!