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

Revision history [back]

I tend to use ROS_INFO_STREAM when I'm doing simple debugging.

You should be able to do:

ROS_INFO_STREAM(s);

Or

ROS_INFO_STREAM("Msg: " << s);