ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

roswarn in cpp

asked 2011-11-27 20:58:56 -0600

apalomer gravatar image

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!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
5

answered 2011-11-27 21:13:12 -0600

edit flag offensive delete link more

Comments

I think so! Thanks!
apalomer gravatar image apalomer  ( 2011-11-27 21:14:04 -0600 )edit
0

answered 2020-08-15 04:12:59 -0600

raushan gravatar image

One can use ROS_DEBUG, ROS_INFO, ROS_WARN, ROS_ERROR and ROS_FATAL as of requirement

for Example : ROS_DEBUG("Hello %s", "World");

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-11-27 20:58:56 -0600

Seen: 1,763 times

Last updated: Aug 15 '20