ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi,
I'm not sure if you can see the std::cout when using roslaunch. To see all log messages (the one you print using ROS_INFO / ... ), you can use rxconsole.
Do you know about ROS_ERROR_STREAM / ROS_WARN_STREAM / ROS_INFO_STREAM ? It allows you to use a cout kind of syntax:
ROS_ERROR_STREAM("This is my index: " << i);
Hope this helps.