ros message operator << vs yaml

asked 2017-05-19 13:22:53 -0600

roadrunner gravatar image

I'm trying to print/save a ros messages from C++, so as to re-publish them using rostopic pub.

The generated code for ros message provides an operator<< that works almost, but... Rostopic parses pretty much everything except it stumbles over the ros-header stamp represented as a float value instead of secs & nsecs.

Is that a bug? Should these two tools be compatible?

edit retag flag offensive close merge delete