Inspirati / gentlenav

Automatically exported from code.google.com/p/gentlenav
0 stars 0 forks source link

NASA Port: launcher #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by magicrub on 30 Aug 2013 at 6:42