launch_ros.actions.ros_timer module
Module for the ROSTimer action.
- class launch_ros.actions.ros_timer.ROSTimer(*args: Any, **kwargs: Any)
Bases:
TimerAction
Action that defers other entities until a period of time has passed, unless canceled.
This timer uses ROS time instead of wall clock time. To enable the use of sim time, you must also use the SetUseSimTime action. All timers are “one-shot”, in that they only fire one time and never again.
- describe() str
Return a description of this ROSTimer.
- execute(context: launch.launch_context.LaunchContext)
- classmethod parse(entity: launch.frontend.Entity, parser: launch.frontend.Parser)
Return the ROSTimer action and kwargs for constructing it.
- launch_ros.actions.ros_timer.expose_action(_)