Crate liftof_scheduler

Source
Expand description

Liftof scheduler - this will run as an additional process on the TOF main computer to schedule run/start stop through the liftof-cc main program

Features

  • receive TofCommmandV2 from telemetry packets (flight computer)
  • modifiy liftof-config file, recreate links to config files
  • start/stop liftof process
  • scedule run queue

Run flow/staging:

There are 3 directories in the staging directory:

  • current - the configuration which is run currently
  • next - the configuration which shall be run next. This configuration can be edited until the next run start.
  • queue - config files in here will get assesed and sorted every new run cycle and the one with the highest priority (number) will get executed first.

Structsยง

LiftofSchedArgs ๐Ÿ”’

Functionsยง

main ๐Ÿ”’
send_ack_packet ๐Ÿ”’
Send an ack packet to liftof-cc