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

You need to send the data encoded in the correct way. Yaml doesn't understand hexidecimal it's relying on decimal. You need to convert your values to the expected encoding. So 0x6a is just 106 then it will be encoded into the uint8 binary data field as expected. The other fields are not going in as hex values that you expect either. Your 40 will represent 0x28 in the data. Whereas I think you want to represent 0x40 so it should be 64.