Skip to content

pylon_interfaces/msg/ControlAuthorityState ​

Interface index · Topic reference · Upstream ControlAuthorityState.msg

Generated from the definitions stored in this site; upstream may differ. See snapshot provenance and conventions.

bash
ros2 interface show pylon_interfaces/msg/ControlAuthorityState

Fields ​

NameTypeValue / explicit default
headerstd_msgs/Header—
stateuint8—
generationuint64—
vessel_idstring—
vessel_namestring—
controller_idstring—
lease_idstring—
priorityint32—
lease_remaining_secfloat64—
sas_suppressedbool—
emergency_stopbool—
last_sequenceuint64—
reasonstring—

Constants ​

NameTypeValue / explicit default
STATE_PLAYERuint80
STATE_PYLONuint81
STATE_UNOWNEDuint80
STATE_OWNEDuint81

Raw definition ​

text
# Only active_vessel has control authority. Emergency stop is a separate flag.
uint8 STATE_PLAYER=0
uint8 STATE_PYLON=1
# Compatibility aliases.
uint8 STATE_UNOWNED=0
uint8 STATE_OWNED=1

std_msgs/Header header
uint8 state
# Observation guard: same bridge-local generation as VesselLifecycle.
uint64 generation
string vessel_id
string vessel_name

# Compatibility: last request source, never another owner.
string controller_id
string lease_id

# Compatibility: always zero; priorities do not arbitrate control.
int32 priority
float64 lease_remaining_sec
bool sas_suppressed
bool emergency_stop
uint64 last_sequence
string reason

Guides and API references for building ROS2 applications with PyLoN