launch_ros.events.lifecycle.state_transition module

Module for StateTransition event.

class launch_ros.events.lifecycle.state_transition.StateTransition(*args: Any, **kwargs: Any)

Bases: Event

Event emitted when a lifecycle node makes a state transition.

property action: LifecycleNode

Getter for action.

property goal_state: str

Getter for goal_state.

property msg: lifecycle_msgs.msg.TransitionEvent

Getter for msg.

name = 'launch_ros.events.lifecycle.StateTransition'
property start_state: str

Getter for start_state.

property timestamp: int

Getter for timestamp.

property transition: str

Getter for transition.