Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
autopilot_firmware.h File Reference

Fixedwing specific autopilot interface and initialization. More...

#include "std.h"
#include "autopilot.h"
#include "subsystems/electrical.h"
+ Include dependency graph for autopilot_firmware.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LATERAL_MODE_MANUAL   0
 
#define LATERAL_MODE_ROLL_RATE   1
 
#define LATERAL_MODE_ROLL   2
 
#define LATERAL_MODE_COURSE   3
 
#define LATERAL_MODE_NB   4
 

Functions

void autopilot_firmware_init (void)
 Init function. More...
 

Variables

uint8_t lateral_mode
 
struct Electrical ap_electrical
 
uint8_t mcu1_status
 Second MCU status (FBW part) More...
 

Detailed Description

Fixedwing specific autopilot interface and initialization.

Definition in file autopilot_firmware.h.

Macro Definition Documentation

#define LATERAL_MODE_COURSE   3

Definition at line 39 of file autopilot_firmware.h.

Referenced by fly_to_xy(), h_ctl_guidance_loop(), and navigation_task().

#define LATERAL_MODE_MANUAL   0

Definition at line 36 of file autopilot_firmware.h.

Referenced by autopilot_static_init().

#define LATERAL_MODE_NB   4

Definition at line 40 of file autopilot_firmware.h.

#define LATERAL_MODE_ROLL   2
#define LATERAL_MODE_ROLL_RATE   1

Definition at line 37 of file autopilot_firmware.h.

Function Documentation

void autopilot_firmware_init ( void  )

Init function.

Definition at line 114 of file autopilot_firmware.c.

Variable Documentation

uint8_t mcu1_status

Second MCU status (FBW part)

Definition at line 39 of file autopilot_firmware.c.

Referenced by mcu1_status_update(), and send_mode().