roswarn in cpp
Hi, I'm used to rospy.loginfo/rospy.logwarn/rospy.logerr but I can not find how to use them in cpp. Can somebody tell me it please? Thanks!
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi, I'm used to rospy.loginfo/rospy.logwarn/rospy.logerr but I can not find how to use them in cpp. Can somebody tell me it please? Thanks!
Are you looking for this? http://www.ros.org/wiki/roscpp/Overview/Logging
One can use ROS_DEBUG, ROS_INFO, ROS_WARN, ROS_ERROR and ROS_FATAL as of requirement
for Example : ROS_DEBUG("Hello %s", "World");
Asked: 2011-11-27 20:58:56 -0500
Seen: 1,669 times
Last updated: Aug 15 '20
How to be 100% sure that only one callback is being executed at a time?
Getting list of publishers and subscribers for all ros topics in C++ code
Help with writing a subscriber node for an existing publisher
rviz orbit viewcontroller lookat function
Is it possible to avoid busy-waiting in a spinner? [closed]
catkin_make not installing new source
generic way to test message equality
Error compiling rosbag_storage on Mac OS X Yosemite
Is there functionality built into ros to get nodes to print a stacktrace on crash?