Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
autopilot_firmware.h File Reference
#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

◆ LATERAL_MODE_COURSE

#define LATERAL_MODE_COURSE   3

Definition at line 39 of file autopilot_firmware.h.

◆ LATERAL_MODE_MANUAL

#define LATERAL_MODE_MANUAL   0

Definition at line 36 of file autopilot_firmware.h.

◆ LATERAL_MODE_NB

#define LATERAL_MODE_NB   4

Definition at line 40 of file autopilot_firmware.h.

◆ LATERAL_MODE_ROLL

#define LATERAL_MODE_ROLL   2

Definition at line 38 of file autopilot_firmware.h.

◆ LATERAL_MODE_ROLL_RATE

#define LATERAL_MODE_ROLL_RATE   1

Definition at line 37 of file autopilot_firmware.h.

Function Documentation

◆ autopilot_firmware_init()

void autopilot_firmware_init ( void  )

Init function.

Definition at line 114 of file autopilot_firmware.c.

Variable Documentation

◆ ap_electrical

◆ lateral_mode

◆ mcu1_status

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().