ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

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

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

edit flag offensive delete link more


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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 1,482 times

Last updated: Aug 15 '20