|
rosros 0.2.5
Simple unified interface to ROS1 / ROS2 Python API
|
Constructor. More...
Public Member Functions | |
| __init__ (self, last_expected, last_real, current_expected, current_real, last_duration) | |
Public Attributes | |
| current_expected | |
| current_real | |
| last_duration | |
| last_expected | |
| last_real | |
Constructor.
Port of rospy.timer.TimerEvent from ROS1 to ROS2.
| last_expected | when previous callback should have happened, as rospy.Time |
| last_real | when previous callback actually happened, as rospy.Time |
| current_expected | when current callback should have been called, as rospy.Time |
| last_duration | duration of the last callback (end time minus start time) in seconds, as float. Note that this is always in wall-clock time. |
| rosros.rospify.timer.TimerEvent.__init__ | ( | self, | |
| last_expected, | |||
| last_real, | |||
| current_expected, | |||
| current_real, | |||
| last_duration | |||
| ) |