ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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);