launch_ros.actions.lifecycle_node module
Module for the LifecycleNode action.
- class launch_ros.actions.lifecycle_node.LifecycleNode(*args: Any, **kwargs: Any)
Bases:
NodeAction that executes a ROS lifecycle node.
- execute(context: launch.LaunchContext) List[launch.action.Action] | None
Execute the action.
Delegated to
launch.actions.ExecuteProcess.execute().
- get_lifecycle_event_manager()
- property is_lifecycle_node
- property node_autostart: bool | launch.SomeSubstitutionsType
Getter for autostart.
- classmethod parse(entity: launch.frontend.Entity, parser: launch.frontend.Parser)
Return LifecycleNode action and kwargs for constructing it.
- launch_ros.actions.lifecycle_node.expose_action(_)