Paparazzi UAS  v5.15_devel-81-gd13dafb
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
autopilot_generated.c File Reference

Generated autopilot implementation. More...

#include "firmwares/fixedwing/autopilot_generated.h"
#include "autopilot.h"
#include "subsystems/radio_control.h"
#include "subsystems/commands.h"
#include "subsystems/actuators.h"
#include "subsystems/settings.h"
#include "subsystems/datalink/telemetry.h"
#include "generated/settings.h"
+ Include dependency graph for autopilot_generated.c:

Go to the source code of this file.

Macros

#define AUTOPILOT_CORE_AP_C
 

Functions

void autopilot_generated_init (void)
 
void autopilot_generated_periodic (void)
 
void autopilot_generated_SetModeHandler (float mode)
 AP mode setting handler. More...
 
void autopilot_generated_set_mode (uint8_t new_autopilot_mode)
 
void autopilot_generated_set_motors_on (bool motors_on)
 
static void copy_from_to_fbw (void)
 
void autopilot_generated_on_rc_frame (void)
 

Detailed Description

Generated autopilot implementation.

Definition in file autopilot_generated.c.

Macro Definition Documentation

#define AUTOPILOT_CORE_AP_C

Definition at line 27 of file autopilot_generated.c.

Function Documentation

void autopilot_generated_init ( void  )

Definition at line 41 of file autopilot_generated.c.

Referenced by init_ap(), and main_init().

+ Here is the caller graph for this function:

void autopilot_generated_on_rc_frame ( void  )

Definition at line 103 of file autopilot_generated.c.

Referenced by autopilot_on_rc_frame().

+ Here is the caller graph for this function:

void autopilot_generated_periodic ( void  )

Definition at line 50 of file autopilot_generated.c.

Referenced by autopilot_periodic().

+ Here is the caller graph for this function:

void autopilot_generated_set_mode ( uint8_t  new_autopilot_mode)

Definition at line 77 of file autopilot_generated.c.

Referenced by autopilot_generated_SetModeHandler(), and autopilot_set_mode().

+ Here is the caller graph for this function:

void autopilot_generated_set_motors_on ( bool  motors_on)

Definition at line 85 of file autopilot_generated.c.

Referenced by autopilot_set_motors_on().

+ Here is the caller graph for this function:

void autopilot_generated_SetModeHandler ( float  mode)

AP mode setting handler.

FIXME generated something else for this?

Definition at line 71 of file autopilot_generated.c.

Referenced by autopilot_SetModeHandler().

+ Here is the caller graph for this function:

static void copy_from_to_fbw ( void  )
inlinestatic

Definition at line 90 of file autopilot_generated.c.

References ap_state, fbw_state, PPRZ_MUTEX_LOCK, PPRZ_MUTEX_UNLOCK, and RADIO_YAW.

Referenced by autopilot_generated_on_rc_frame().

+ Here is the caller graph for this function: