Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
takeoff_detect.h File Reference

Automatic takeoff assistance for fixed-wing. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void takeoff_detect_init (void)
 Init function. More...
 
void takeoff_detect_start (void)
 Start function called once before periodic. More...
 
void takeoff_detect_periodic (void)
 Periodic call. More...
 

Detailed Description

Automatic takeoff assistance for fixed-wing.

The planes's launching can be triggered/aborted by pointing the nose up or down for a given time.

Definition in file takeoff_detect.h.

Function Documentation

void takeoff_detect_init ( void  )

Init function.

Definition at line 72 of file takeoff_detect.c.

void takeoff_detect_periodic ( void  )

Periodic call.

  • can be enabled or disabled from settings
  • enabled by default, disable himself after launch

Definition at line 85 of file takeoff_detect.c.

References launch, pprz_mode, PPRZ_MODE_AUTO2, takeoff_detect_struct::state, stateGetNedToBodyEulers_f(), takeoff_detect, TAKEOFF_DETECT_ABORT_PITCH, TAKEOFF_DETECT_DISABLE_TIMER, TAKEOFF_DETECT_LAUNCH_PITCH, TAKEOFF_DETECT_TIMER, takeoff_detect_struct::timer, TO_DETECT_ARMED, TO_DETECT_DISABLED, and TO_DETECT_LAUNCHING.

+ Here is the call graph for this function:

void takeoff_detect_start ( void  )

Start function called once before periodic.

Definition at line 78 of file takeoff_detect.c.

References takeoff_detect_struct::state, takeoff_detect, takeoff_detect_struct::timer, and TO_DETECT_ARMED.