Package org.yamcs.simulator.pus
Class Pus22Service
java.lang.Object
org.yamcs.simulator.pus.AbstractPusService
org.yamcs.simulator.pus.Pus22Service
ST[22] position-based scheduling
The position-based scheduling service type provides the capability to command on-board application processes using requests preĀloaded on-board the spacecraft and released when it reaches a given orbit position.
This service is the mirror of Pus11Service (time-based scheduling): the same sub-schedule / group semantics,
the same insert / delete / shift / report subtypes, just keyed on a PusPosition (orbit number + orbit angle)
instead of a PusTime. The orbit itself is a simple synthetic clock: the angle sweeps 0..360 degrees uniformly
over a fixed orbital period, and the orbit number increments on each wrap.
-
Field Summary
Fields inherited from class org.yamcs.simulator.pus.AbstractPusService
log, pusSimulator, pusType -
Method Summary
Modifier and TypeMethodDescriptionCurrent simulated position, derived from the wall clock.voidexecuteTc(PusTcPacket tc) voidstart()Methods inherited from class org.yamcs.simulator.pus.AbstractPusService
ack_completion, ack_start, nack_completion, nack_start, newPacket
-
Method Details
-
start
public void start()- Overrides:
startin classAbstractPusService
-
currentPosition
Current simulated position, derived from the wall clock. -
executeTc
- Specified by:
executeTcin classAbstractPusService
-