[ros-users] Problem with tutorial 11: Writing a Simple Publisher and Subscriber (C++)

#TAN ZHI PING# TANZ0066 at e.ntu.edu.sg
Sun Aug 15 15:17:20 UTC 2010


 Hi to all,

Thanks for your help. But i'm very curious why there is only output from ROS_INFO and none from ROS_DEBUG although there is no error.

--------------------------------------------Experiment.cpp------------------------------
#include <ros/console.h>

int main(void){

    ROS_DEBUG("Hello %s", "World");
    ROS_DEBUG_STREAM("Hello " << "World");
    ROS_INFO("%s", "World");

return 0;
}
----------------------------------------------------------------------------------------------------

With thanks,
Zhiping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100815/6920e96e/attachment-0003.html>


More information about the ros-users mailing list