[ros-users] Problem with tutorial 11: Writing a Simple Publi…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: #TAN ZHI PING#
Date:  
To: ros-users@code.ros.org
Subject: [ros-users] Problem with tutorial 11: Writing a Simple Publisher and Subscriber (C++)
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