|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Data Structures | |
| struct | nav_heli_spinup_t |
Functions | |
| void | nav_heli_spinup_setup (uint16_t duration, float throttle) |
| Initialization function. | |
| bool | nav_heli_spinup_run (void) |
| Heli spinup run function. | |
Definition in file nav_heli_spinup.h.
| struct nav_heli_spinup_t |
Definition at line 33 of file nav_heli_spinup.h.
| Data Fields | ||
|---|---|---|
| uint16_t | duration | The duration in seconds to reach the final throttle. |
| uint32_t | throttle | The final throttle level. |
|
extern |
Heli spinup run function.
Controls the spinup of the throttle without stabilization
Heli spinup run function.
Definition at line 64 of file nav_heli_spinup.c.
References COMMAND_PITCH, COMMAND_ROLL, nav, nav_heli_spinup, NAV_HORIZONTAL_MODE_NONE, NAV_VERTICAL_MODE_MANUAL, stabilization, and stage_time.
|
extern |
Initialization function.
Called in the flight plan before the 'run' function
| [in] | duration | The duration in seconds before reaching final throttle level |
| [in] | throttle | The throttle value to go to |
| duration | duration over which the heli should spin up [s] | |
| throttle | the final throttle at the end of the spinup |
Sets the heli spinup routine parameters and sets the horizontal and vertical modes to manual, with zero commands
Definition at line 40 of file nav_heli_spinup.c.
References COMMAND_PITCH, COMMAND_ROLL, nav_heli_spinup_t::duration, MAX_PPRZ, nav, nav_heli_spinup, NAV_HORIZONTAL_MODE_NONE, NAV_VERTICAL_MODE_MANUAL, stabilization, and nav_heli_spinup_t::throttle.