Skip to content

pylon_interfaces/msg/SimulatorState ​

Interface index · Topic reference · Upstream SimulatorState.msg

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

bash
ros2 interface show pylon_interfaces/msg/SimulatorState

Fields ​

NameTypeValue / explicit default
headerstd_msgs/Header—
vessel_idstring—
runtime_instancestring—
runtime_epochstring—
runtime_generationuint64—
observation_sequenceuint64—
stateuint8—
communication_alivebool—
pausedbool—
packedbool—
physics_warpbool—
control_availablebool—
simulation_advancingbool—
universal_timefloat64—
realtime_since_startupfloat64—
warp_ratefloat64—
seconds_since_progressfloat64—
heartbeat_age_secfloat64—

Constants ​

NameTypeValue / explicit default
STATE_INITIALIZINGuint80
STATE_ADVANCINGuint81
STATE_PAUSEDuint82
STATE_STALLEDuint83
STATE_UNAVAILABLEuint84
STATE_STALEuint85

Raw definition ​

text
# Heartbeat health uses real time; progression uses KSP universal time.
# Published during pause and packed warp, independently of physics sensors.
uint8 STATE_INITIALIZING=0
uint8 STATE_ADVANCING=1
uint8 STATE_PAUSED=2
uint8 STATE_STALLED=3
uint8 STATE_UNAVAILABLE=4
uint8 STATE_STALE=5

# Receipt time, not the simulation clock (which can be paused).
std_msgs/Header header
string vessel_id
string runtime_instance
string runtime_epoch
uint64 runtime_generation
# Unity frame number shared with other telemetry; compare only within an epoch.
uint64 observation_sequence
uint8 state
bool communication_alive
# Last observed flags; do not treat them as current when communication_alive=false.
bool paused
bool packed
bool physics_warp
# Whether the vessel is unpacked and commands can currently be accepted.
bool control_available
# True only when UT advanced between the latest two heartbeat observations.
bool simulation_advancing
float64 universal_time
float64 realtime_since_startup
float64 warp_rate
float64 seconds_since_progress
float64 heartbeat_age_sec

Guides and API references for building ROS2 applications with PyLoN