Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
main_ap.h File Reference

AP ( AutoPilot ) process API. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void init_ap (void)
 
void handle_periodic_tasks_ap (void)
 
void event_task_ap (void)
 
void sensors_task (void)
 Run at PERIODIC_FREQUENCY (60Hz if not defined) More...
 
void navigation_task (void)
 Compute desired_course. More...
 
void monitor_task (void)
 monitor stuff run at 1Hz More...
 
void reporting_task (void)
 Send a series of initialisation messages followed by a stream of periodic ones. More...
 
void attitude_loop (void)
 

Detailed Description

AP ( AutoPilot ) process API.

Definition in file main_ap.h.

Function Documentation

void event_task_ap ( void  )

USE_GPS

Definition at line 614 of file main_ap.c.

References AhrsEvent, attitude_loop(), FALSE, GpsEvent, i2c_event(), ImuEvent, inter_mcu_received_fbw, link_mcu_event_task(), on_accel_event(), on_gyro_event(), on_mag_event(), and telecommand_task().

Referenced by sim_periodic_task().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void handle_periodic_tasks_ap ( void  )
void init_ap ( void  )
void monitor_task ( void  )
void reporting_task ( void  )

Send a series of initialisation messages followed by a stream of periodic ones.

Called at 60Hz.

initialisation phase during boot

then report periodicly

Definition at line 412 of file main_ap.c.

References DefaultChannel, DefaultDevice, FALSE, TRUE, and version.

Referenced by handle_periodic_tasks_ap(), and sim_periodic_task().

+ Here is the caller graph for this function:

void sensors_task ( void  )

Run at PERIODIC_FREQUENCY (60Hz if not defined)

Definition at line 554 of file main_ap.c.

References imu_periodic(), and ins_periodic_task().

Referenced by handle_periodic_tasks_ap(), and sim_periodic_task().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: