launch_ros.actions.lifecycle_node module

Module for the LifecycleNode action.

class launch_ros.actions.lifecycle_node.LifecycleNode(*args: Any, **kwargs: Any)

Bases: Node

Action 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

Getter for autostart.