Ask Your Question

Revision history [back]

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.