class documentation

The ROS2 standard: lifecycle_msgs, one change_state call per node.

The default flavour. Its path is the node itself.

Method __init__ Resolve the standard services, and the ChangeState request this flavour builds.
Async Method send Call <node>/change_state once per node, and report every node that said no.
Class Variable flavour Undocumented
Instance Variable _change Undocumented
Instance Variable _request_type Undocumented
Instance Variable _transition_type Undocumented

Inherited from LifecycleDriver:

Method __repr__ Return a representation naming the flavour and what it drives.
Async Method appearances Yield how many publishers one node's transition_event has, now and on each change.
Async Method apply Drive every node toward what one Skill trigger means, and return what went wrong.
Async Method close Close every subscription this Driver opened. Idempotent.
Async Method offered_transitions Ask one node which transitions it will accept right now.
Async Method open Subscribe to every node's transition_event.
Async Method read_state Ask one node what state it is in. One call, never a poll.
Async Method transitions Yield every transition one node announces, until its subscription closes.
Class Variable coordinates_a_set Whether path names a coordinator other than the node it drives, so that the nodes need to be listed. True for a nav2 manager, false for the standard flavour.
Property binding Return the declaration this Driver was built from.
Property paths Return the lifecycle nodes this Driver observes, in declaration order.
Async Method _call Call one ROS2 service, answering None when the call does not happen.
Async Method _gate Ask each node which transitions it offers, keeping silence apart from none.
Instance Variable _binding Undocumented
Instance Variable _event_type Undocumented
Instance Variable _get_available Undocumented
Instance Variable _get_state Undocumented
Instance Variable _runtime Undocumented
Instance Variable _subscriptions Undocumented
def __init__(self, *, binding: LifecycleBinding, runtime: RuntimeInterface):

Resolve the standard services, and the ChangeState request this flavour builds.

async def send(self, transition: LifecycleNodeTransition, paths: tuple[str, ...]) -> Sequence[str]:

Call <node>/change_state once per node, and report every node that said no.

flavour: ClassVar[str] =
_change: ServiceTypes =

Undocumented

_request_type: Any =

Undocumented

_transition_type: Any =

Undocumented