34 #include "generated/modules.h"
37 #ifndef TAKEOFF_DETECT_LAUNCH_PITCH
38 #define TAKEOFF_DETECT_LAUNCH_PITCH RadOfDeg(30.)
42 #ifndef TAKEOFF_DETECT_ABORT_PITCH
43 #define TAKEOFF_DETECT_ABORT_PITCH RadOfDeg(-20.)
47 #ifndef TAKEOFF_DETECT_TIMER
48 #define TAKEOFF_DETECT_TIMER 2.
52 #ifndef TAKEOFF_DETECT_DISABLE_TIMER
53 #define TAKEOFF_DETECT_DISABLE_TIMER 4.
121 takeoff_detect_takeoff_detect_periodic_status = MODULES_STOP;
Automatic takeoff assistance for fixed-wing.
#define TAKEOFF_DETECT_LAUNCH_PITCH
Default pitch angle to trigger launch.
void takeoff_detect_start(void)
Start function called once before periodic.
static struct FloatEulers * stateGetNedToBodyEulers_f(void)
Get vehicle body attitude euler angles (float).
#define TAKEOFF_DETECT_ABORT_PITCH
Default pitch angle to cancel launch.
takeoff_detect_state
Takeoff detection states.
#define TAKEOFF_DETECT_DISABLE_TIMER
Disable timer in seconds.
void takeoff_detect_periodic(void)
Periodic call.
#define TAKEOFF_DETECT_TIMER
Detection timer in seconds.
void takeoff_detect_init(void)
Init function.
API to get/set the generic vehicle states.
Takeoff detection structure.
enum takeoff_detect_state state
static struct takeoff_detect_struct takeoff_detect
Fixedwing autopilot modes.