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

ROS_INFO_ONCE in Python

asked 2017-03-31 08:05:26 -0600

Felix Widmaier gravatar image

Is there an equivalent to ROS_INFO_ONCES in rospy?

I found rospy.loginfo_throttle() but nothing like rospy.loginfo_once(). Is this really not implemented or just hidden somewhere?

edit retag flag offensive close merge delete

Comments

Not quite sure, but I think that they do not exist in python. They are implemented in C++ using macros which are not that easy to translate in python.

NEngelhard gravatar image NEngelhard  ( 2017-03-31 09:58:12 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-04-10 20:23:11 -0600

haryngod gravatar image

In python, there is no log once, but since Lunar we can use. Please refer http://wiki.ros.org/rospy/Overview/Lo...

edit flag offensive delete link more

Comments

To have the actual code here: Since Lunar, there is rospy.loginfo_once.

Felix Widmaier gravatar image Felix Widmaier  ( 2018-04-11 01:49:02 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-03-31 08:05:26 -0600

Seen: 1,230 times

Last updated: Apr 10 '18