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

Revision history [back]

click to hide/show revision 1
initial version

answered 2011-12-29 00:55:20 -0500

joq gravatar image

Encode the data as either a hex or decimal character string, then parse it on the other end. That is a lot more effort than just sending std_msgs/int16, but seems necessary for multiple commands using the same string message type.

Maybe there is a better way to approach your design problem. Could you instead use multiple message types? Multiple topics?