Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
autopilot_generated.h File Reference

Autopilot generated implementation Calls the code generated from autopilot XML file. More...

#include "std.h"
#include "generated/autopilot_core_ap.h"
#include "generated/airframe.h"
#include "state.h"
Include dependency graph for autopilot_generated.h:

Go to the source code of this file.

Functions

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

Detailed Description

Autopilot generated implementation Calls the code generated from autopilot XML file.

Definition in file autopilot_generated.h.

Function Documentation

◆ autopilot_generated_init()

void autopilot_generated_init ( void )
extern

Definition at line 41 of file autopilot_generated.c.

References autopilot, and autopilot_arming_init().

Referenced by autopilot_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ autopilot_generated_on_rc_frame()

void autopilot_generated_on_rc_frame ( void )
extern

Definition at line 92 of file autopilot_generated.c.

References autopilot, autopilot_arming_check_motors_on(), commands, radio_control, radio_control_get(), and RADIO_YAW.

Referenced by autopilot_on_rc_frame().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ autopilot_generated_periodic()

void autopilot_generated_periodic ( void )
extern

Definition at line 50 of file autopilot_generated.c.

References autopilot, and autopilot_in_flight().

Referenced by autopilot_periodic().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ autopilot_generated_set_mode()

void autopilot_generated_set_mode ( uint8_t new_autopilot_mode)
extern

Definition at line 77 of file autopilot_generated.c.

References autopilot, and FALSE.

Referenced by autopilot_generated_SetModeHandler(), and autopilot_set_mode().

Here is the caller graph for this function:

◆ autopilot_generated_set_motors_on()

void autopilot_generated_set_motors_on ( bool motors_on)
extern

Definition at line 85 of file autopilot_generated.c.

References AP_MODE_KILL, autopilot, and autopilot_arming_set().

Referenced by autopilot_force_motors_on().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ autopilot_generated_SetModeHandler()

void autopilot_generated_SetModeHandler ( float mode)
extern

AP mode setting handler.

FIXME generated something else for this?

Definition at line 71 of file autopilot_generated.c.

References autopilot_generated_set_mode(), and mode.

Referenced by autopilot_SetModeHandler().

Here is the call graph for this function:
Here is the caller graph for this function: