ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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?