Skip to content

Design and Validation ​

Responsibilities to preserve and behavior to check when changing PyLoN core.

AreaResponsibilityChecks after changes
Coordinates and unitsCentralize frame and SI-unit conversion in FrameConversionsKnown attitudes, attitude differences, rotation direction of angular velocity and torque
Simulation timeManage within-session time mapping in SimulationClock and FlightServiceCommunication delay, reordering, time rewind
SessionsReset state on generation changes using heartbeat and SessionTrackerVessel reload, bridge restart, packets from previous sessions
Vessel informationManage vessel IDs/models in configuration, model, and session servicesLifecycle without sensors and with Ground Truth disabled
CaptureManage rendering/resources in capture code, SourceCamera, RgbCaptureResourcesResolution changes, recovery from render failures, multiple sensors, rendering mods
State acquisitionRead state through ActuatorTelemetry, VesselTelemetry, VesselPartsTyped state, wheel geometry, topic units and values
Shared control and demosShared perception in pylon_perception, lease management in LeaseCoordinatorIndependent package builds, lease reissue, stopping on missing data/cancellation

Lifecycle retains KSP runtime_instance, runtime_epoch, and runtime_generation. ROS generation also identifies bridge restarts. Discard estimates and targets on generation changes and reacquire them in the new session.

Guides and API references for building ROS2 applications with PyLoN