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

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: #TAN ZHI PING#
Dato:  
Til: ros-users@code.ros.org
Emne: [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