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

Revision history [back]

The error you are seeing has to do with the string formatting. Oddly, I see that error if I use %f, but not %s (%s should try to convert the argument to a str). If you want just the timestamp, use data.header.stamp