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 | Q&A answers.ros.org |
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");
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2011-11-27 20:58:56 -0600
Seen: 1,482 times
Last updated: Aug 15 '20
Multiple NodeHandle instances vs shared NodeHandle
Multiple Subscribers in one Cpp file.
"Recursive Print Statement" with Nodelets
how to dynamic set subscribe type
How to install roscpp, sensor_msgs and pcl_ros on ubuntu?
Should I link ${catkin_LIBRARIES} to my library, or to executables?
Calculate picking pose from mesh origin pose (using tf?)
Using roscpp_init and raspy.init in python (Using a C++ class in Python)