Flight Lab / Flight software & commanding / 07
Lesson 07 of 08 · about 5 min
A Script Runner procedure is the dictionary exercised in order. It sends a command, waits until a telemetry check is true, and then checks a second item. The wait uses the timeout from the definition. A wider timeout would pass a slower vehicle than the one you defined.
Script the heater pass: command HEATER_ON with a duration of 30, wait until HEATER_STATE equals 1, then check that HEATER_CMD_CNT equals 1. Give the wait the same 2 second timeout as the definition.