Originally created by: magicrub
Originally owned by: magicrub
Feature Description
Launcher mechanism. Main features:
// Example launch: http://www.youtube.com/watch?v=BVJ2bqXfHEE
- allows for system to be in a normal operation state while sitting on the launcher, ready to launch.
- while waiting, the throttle is disabled and some pitch trim is added of PWM value LAUNCH_TRIM_PITCH_UP
- upon a launch detection (forward acceleration >= LAUNCH_BEGIN_GRAVITY_THRESHOLD), two timers start.
- while launching, throttle is inhibited for duration LAUNCH_TIMER_THROTTLE_DELAY and pitch-up is added for duration LAUNCH_TIMER_PITCH_UP
- after a launch, it is wise to check if we were successful or not. if not, disable the throttle again. This mode sticks forever and a reboot is required to clear. This duration delay is LAUNCH_TIMER_SUCCESS_CHECK.
What still needs to be decided?
Nothing, ready to port
What still needs to be done?
Ready to port the code as-is, but this is something that should go into the wiki. The above text may suffice.