fprime/Svc/SeqDispatcher/SeqDispatcherEvents.fppi
Zimri Leisher b0716ad605
Add sequence dispatcher component (#2731)
* Add sequence dispatcher component

* Add seq start port to cmd sequencer

* Update author names and some include paths

* Get fully compiling, move consts/enums to correct places, check for connections on init

* Add spelling exceptions

* Get unit tests almost compiling...

* Fix string type in port, call component init in test

* Fix unit test compilation errors and assertions

* Switch back to using StringBase

* Switch to FwIndexType, remove textLogIn

* UpperCamel events, add warning for unexpected seq start

* remove init method, add check for connected to getNextAvailableIdx

* Update sdd, change event from low to high, static cast a portnum

* Add state diagram, add more warnings, fix wrong header types, use assert instead of warning for runSeq

---------

Co-authored-by: Zimri Leisher <zimri.leisher@fireflyspace.com>
2024-09-17 17:55:09 -07:00

38 lines
1001 B
Plaintext

event InvalidSequencer(
idx: U16
) \
severity warning high \
format "Invalid sequence index {}"
event NoAvailableSequencers() \
severity warning high \
format "No available cmd sequencers to dispatch a sequence to"
event UnknownSequenceFinished(
idx: U16
) \
severity warning low \
format "Sequencer {} completed a sequence with no matching start notification"
event ConflictingSequenceStarted(
idx: U16,
newSequence: string size 240,
sequenceInInternalState: string size 240
) \
severity warning high \
format "Sequencer {} started a sequence {} while still running {}"
event UnexpectedSequenceStarted(
idx: U16,
newSequence: string size 240
) \
severity warning low \
format "Sequencer {} was externally commanded to start a sequence {}"
event LogSequencerStatus(
idx: U16
state: CmdSequencerState
filename: string size 240
) \
severity activity low \
format "Sequencer {} with state {} is running file {}"