check accel ;Check and Calibrate Accelerometer cal accel check pyro 0 ;Check recovery Pyro Continueity check pyro 1 check GPS ;Check GPS for Lock cal alt ; and Calibrate Altimeter cal 3-axis 1 ;Calibrate 3-Axis Sensor ready alt 8 8 ;Log Altitude/Acceleration 8 times per second ready accelerometer 8 8 ready gps 5 5 ;Log GPS at maximum ready primary battery Voltage 1 ;Log Battery VOltage/Current ready primary battery current 1 ready temp 1 ;Log Temperature ready input 1 ;Log Digital Inputs ready 3-axis 8 ready sima 321 ;Launch Booster at 10G Simulated for 2 seconds ready plus 2048 sima 0 fps > 500 set a ;flag speed greater the 600 fps ascent 4000, if a, fps < 400 set b if b sima 321 ;Sustainer at 10G for 2 second if b plus 2048 sima 0 apogee pyro 0 output 0 ;Release Drogue at Apogee apogee simv -100 descent 800 pyro 1 output 0 ;Release Main at 800' descent 800 simv -20 land end ;End when Landed