![]() |
Paparazzi UAS
v6.1.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
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 | reporting_task (void) |
Send a series of initialisation messages followed by a stream of periodic ones. More... | |
AP ( AutoPilot ) process API
Definition in file main_ap.h.
void event_task_ap | ( | void | ) |
Definition at line 213 of file main_ap.c.
References autopilot_on_rc_frame(), inter_mcu_received_fbw, and link_mcu_event_task().
Referenced by sim_periodic_task().
void handle_periodic_tasks_ap | ( | void | ) |
Definition at line 157 of file main_ap.c.
References datalink_time, LED_PERIODIC, modules_datalink_tid, modules_gnc_tid, modules_mcu_core_tid, modules_sensors_tid, reporting_task(), sys_time_check_and_ack_timer(), and TELEMETRY_FREQUENCY.
Referenced by sim_periodic_task().
void init_ap | ( | void | ) |
Definition at line 104 of file main_ap.c.
References ap_state, Imu::body_to_imu, COMMAND_PITCH_TRIM, COMMAND_ROLL_TRIM, COMMAND_YAW_TRIM, DATALINK_PERIOD, f, imu, modules_datalink_tid, modules_gnc_tid, modules_mcu_core_tid, modules_sensors_tid, orientationGetQuat_f(), PPRZ_MUTEX_LOCK, PPRZ_MUTEX_UNLOCK, SENSORS_PERIOD, SYS_PERIOD, sys_time_register_timer(), and sys_time_register_timer_offset().
Referenced by sim_init().
void reporting_task | ( | void | ) |
Send a series of initialisation messages followed by a stream of periodic ones.
Definition at line 192 of file main_ap.c.
References autopilot_send_version(), DefaultChannel, DefaultDevice, and DefaultPeriodic.
Referenced by handle_periodic_tasks_ap().