launch_ros.descriptions.composable_lifecycle_node module

Module for a description of a ComposableLifecycleNode.

class launch_ros.descriptions.composable_lifecycle_node.ComposableLifecycleNode(*, autostart: bool = False, **kwargs)

Bases: ComposableNode

Describes a lifecycle node that can be loaded into a container with other nodes.

property extra_arguments: Sequence[ParameterFile | Dict[Sequence[launch.substitution.Substitution], Sequence[launch.substitution.Substitution] | Sequence[Sequence[launch.substitution.Substitution]] | str | int | float | bool | Sequence[str] | Sequence[int] | Sequence[float] | Sequence[bool] | bytes | ParameterValue] | Parameter] | None

Get container extra arguments YAML files or dicts with substitutions to be performed.

init_lifecycle_event_manager(context: launch.LaunchContext) None
property node_autostart

Getter for autostart.

property node_name: List[launch.substitution.Substitution] | None

Get node name as a sequence of substitutions to be performed.

property node_namespace: List[launch.substitution.Substitution] | None

Get node namespace as a sequence of substitutions to be performed.

property node_plugin: List[launch.substitution.Substitution]

Get node plugin name as a sequence of substitutions to be performed.

property package: List[launch.substitution.Substitution]

Get node package name as a sequence of substitutions to be performed.

property parameters: Sequence[ParameterFile | Dict[Sequence[launch.substitution.Substitution], Sequence[launch.substitution.Substitution] | Sequence[Sequence[launch.substitution.Substitution]] | str | int | float | bool | Sequence[str] | Sequence[int] | Sequence[float] | Sequence[bool] | bytes | ParameterValue] | Parameter] | None

Get node parameter YAML files or dicts with substitutions to be performed.

property remappings: Iterable[Tuple[Tuple[launch.substitution.Substitution, ...], Tuple[launch.substitution.Substitution, ...]]] | None

Get node remapping rules as (from, to) tuples with substitutions to be performed.