|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
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.
93 #ifndef TAKEOFF_DETECT_ALSO_IN_AUTO1
118 #ifndef TAKEOFF_DETECT_ALSO_IN_AUTO1
138 takeoff_detect_takeoff_detect_periodic_status = MODULES_STOP;
void takeoff_detect_periodic(void)
Periodic call.
void takeoff_detect_start(void)
Start function called once before periodic.
void takeoff_detect_init(void)
Init function.
static struct takeoff_detect_struct takeoff_detect
enum takeoff_detect_state state
static struct FloatEulers * stateGetNedToBodyEulers_f(void)
Get vehicle body attitude euler angles (float).
#define TAKEOFF_DETECT_LAUNCH_PITCH
Default pitch angle to trigger launch.
struct pprz_autopilot autopilot
Global autopilot structure.
#define TAKEOFF_DETECT_ABORT_PITCH
Default pitch angle to cancel launch.
#define TAKEOFF_DETECT_TIMER
Detection timer in seconds.
takeoff_detect_state
Takeoff detection states.
#define TAKEOFF_DETECT_DISABLE_TIMER
Disable timer in seconds.
uint8_t autopilot_get_mode(void)
get autopilot mode
Takeoff detection structure.
bool launch
request launch