Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
autopilot.c File Reference

Fixedwing autopilot inititalization. More...

+ Include dependency graph for autopilot.c:

Go to the source code of this file.

Functions

void autopilot_init (void)
 Autopilot inititalization. More...
 

Variables

uint8_t pprz_mode
 
bool_t kill_throttle
 
bool_t launch
 
uint16_t autopilot_flight_time
 flight time in seconds. More...
 
uint8_t lateral_mode
 
uint16_t vsupply
 Supply voltage in deciVolt. More...
 
float energy
 Fuel consumption (mAh) TODO: move to electrical subsystem. More...
 
bool_t gps_lost
 
bool_t power_switch
 Power switch control. More...
 

Detailed Description

Fixedwing autopilot inititalization.

Definition in file autopilot.c.

Function Documentation

void autopilot_init ( void  )

Autopilot inititalization.

Definition at line 48 of file autopilot.c.

Referenced by init_ap(), and main_init().

+ Here is the caller graph for this function:

Variable Documentation

uint16_t autopilot_flight_time
float energy

Fuel consumption (mAh) TODO: move to electrical subsystem.

Definition at line 42 of file autopilot.c.

Referenced by generic_com_periodic(), and navigation_task().

bool_t gps_lost

Definition at line 44 of file autopilot.c.

Referenced by autopilot_init(), and navigation_task().

uint8_t lateral_mode

Definition at line 39 of file autopilot.c.

Referenced by autopilot_init(), fly_to_xy(), nav_without_gps(), and navigation_task().

bool_t launch

Definition at line 34 of file autopilot.c.

Referenced by autopilot_init().

bool_t power_switch

Power switch control.

Definition at line 46 of file autopilot.c.

Referenced by autopilot_init().

uint16_t vsupply

Supply voltage in deciVolt.

This the ap copy of the measurement from fbw

Definition at line 41 of file autopilot.c.

Referenced by attitude_loop(), gsm_send_report_continue(), monitor_task(), and telecommand_task().