Public Member Functions | |
| def | __init__ |
| def | run |
| def | shutdown |
Private Attributes | |
| _callback | |
| _oneshot | |
| _period | |
| _shutdown | |
Convenience class for calling a callback at a specified rate
| def hrl_lib.timer.Timer.__init__ | ( | self, | |
| period, | |||
| callback, | |||
oneshot = False |
|||
| ) |
Constructor. @param period: desired period between callbacks @type period: rospy.Time @param callback: callback to be called @type callback: function taking rospy.TimerEvent @param oneshot: if True, fire only once, otherwise fire continuously until shutdown is called [default: False] @type oneshot: bool
| def hrl_lib.timer.Timer.run | ( | self | ) |
| def hrl_lib.timer.Timer.shutdown | ( | self | ) |
hrl_lib::timer.Timer::_callback [private] |
hrl_lib::timer.Timer::_oneshot [private] |
hrl_lib::timer.Timer::_period [private] |
hrl_lib::timer.Timer::_shutdown [private] |