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

If you take a look at the error you'll see that it is raised by the message definition which rosbag tries to interpret. You possibly have personal message definitions with UTF-8 characters in it. While the tool is written in python, there always remains the pain with UTF-8 decoding what you can see in your last line:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2788: ordinal not in range(128)

Just check which of your message definitions are UTF-8 encoded by the command line tool file yourMessageDefinition.msg. If it tells you ASCII text the definition should be OK, if UTF-8 Unicode text it is not. Just open the file and substitute all special characters like µ or even in your comments. If you are unsure which character in your file is special, just open up a hex editor (like ghex), open the file and search for characters which occupy more than one byte. Then re-build the message definitions.