Skip to content

Mission Modes

Lauren Greenhill edited this page May 6, 2022 · 17 revisions

Mission Mode Class

Class Contents

virtual void transition_to()

  • Sets all relevant settings in the SFR. Optionally sets the start time of the mode

virtual void dispatch()

  • Checks exit conditions

float start_time

void set_start_time(float new_start_time)

  • Stores when the mission mode started

virtual int get_id()

  • Returns numerical representation of mode for comparisons

virtual mode_type get_type()

  • Returns either NORMAL, TRANSMIT, LP, or OTHER

Mission Mode State Machine

Description of settings

Initialization

Mode Description RockBLOCK Status ACS Mode IMU Status Exit Conditions
Boot The RockBLOCK may not be on during this time due to CubeSat's proximity to the ISS. Sleep mode Off Off
  • Two hours have elapsed
Alive Signal This mode allows us to communicate with the CubeSat at one time before the ACS is activated. Downlink period of X minutes Off Off
  • X minutes have elapsed
  • RockBLOCK downlink hard faults
Low Power Alive Signal This mode allows us to communicate with the CubeSat at one time before the ACS is activated in a power saving state. TODO TODO TODO
  • TODO

Stabilization

Mode Description RockBLOCK Status ACS Mode IMU Status Exit Conditions
Detumble & Spin TODO TODO TODO TODO
  • TODO
Low Power Detumble & Spin TODO TODO TODO TODO
  • TODO

Standby

Mode Description RockBLOCK Status ACS Mode IMU Status Exit Conditions
Normal TODO TODO TODO TODO
  • TODO
Transmit TODO TODO TODO TODO
  • TODO
Low Power TODO TODO TODO TODO
  • TODO

Deployment

Mode Description RockBLOCK Status ACS Mode IMU Status Exit Conditions
Deployment Normal TODO TODO TODO TODO
  • TODO
Deployment Transmit TODO TODO TODO TODO
  • TODO
Deployment Low Power TODO TODO TODO TODO
  • TODO

Armed

Mode Description RockBLOCK Status ACS Mode IMU Status Exit Conditions
Armed Normal TODO TODO TODO TODO
  • TODO
Armed Transmit TODO TODO TODO TODO
  • TODO
Armed Low Power TODO TODO TODO TODO
  • TODO

In Sun

Mode Description RockBLOCK Status ACS Mode IMU Status Exit Conditions
In Sun Normal TODO TODO TODO TODO
  • TODO
In Sun Transmit TODO TODO TODO TODO
  • TODO
In Sun Low Power TODO TODO TODO TODO
  • TODO
In Sun Voltage Sensor Fault TODO TODO TODO TODO
  • TODO

Firing

Mode Description RockBLOCK Status ACS Mode IMU Status Exit Conditions
Turn on Camera TODO TODO TODO TODO
  • TODO
Mandatory Burns TODO TODO TODO TODO
  • TODO
Regular Burns TODO TODO TODO TODO
  • TODO
Take Photo TODO TODO TODO TODO
  • TODO

Diagram with entrance and exit conditions

mission_modes-Page-3 drawio

Outstanding Questions

  • Should alive signal allow for multiple RockBLOCK hard faults?
  • Should IMU be on during boot?
  • How does the IMU determine the CubeSat is stable during Detumble & Spin?
Clone this wiki locally