Robotics StackExchange | Archived questions

ros message operator << vs yaml

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?

Asked by roadrunner on 2017-05-19 13:22:53 UTC

Comments

Answers