Echoing custom messages over SSH error
I have a node running on an embedded platform publishing a custom message (just a float32[]
). I have a ros master running on a different machine, and both ROS_MASTER_URI
s and ROS_IP
s are set correctly. On the master machine, if I run rostopic echo <topic>
, I get:
ERROR: Cannot load message class for [<package>/<msg>]. Are your messages built?
If I ssh into the embedded platform and run a rostopic echo <topic>
, I get the data printed out.
I think I understand why it's not working - I haven't sourced the workspace on the embedded platform from the master - but I don't know the solution to this problem, since I want to be able to run nodes on multiple platforms, including the master.