Skip to content

Mission Prep Tick

Header | Source code

This is the initial Tick function that the OBC loads with. It essentially checks MissionState to see if there is a mission that was uploaded. If there is a mission, then it progresses to PathGen. Otherwise, it does nothing.

Note: this->state->config.getCachedMission().has_value() will only be true once a valid mission has been uploaded to the system.

Look here to see the code that sets the mission. Note that this is triggered by a POST request to /mission.

Look here to see the code that checks if a mission is valid.