27 #include "navigation.h"
uint16_t duration
The duration in seconds to reach the final throttle.
void nav_heli_spinup_setup(uint16_t duration, float throttle)
Initialization function.
#define HORIZONTAL_MODE_MANUAL
bool nav_heli_spinup_run(void)
Runs the heli spinup routine, with the parameters set by nav_heli_spinup_setup.
#define HORIZONTAL_MODE_ATTITUDE
uint32_t throttle
The final throttle level.
static struct nav_heli_spinup_t nav_heli_spinup
uint32_t nav_throttle
direct throttle from 0:MAX_PPRZ, used in VERTICAL_MODE_MANUAL
#define VERTICAL_MODE_MANUAL