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
setup_actuators.c File Reference
#include "generated/airframe.h"
#include "std.h"
#include "mcu.h"
#include "mcu_periph/sys_time.h"
#include "led.h"
#include "subsystems/actuators.h"
#include "firmwares/fixedwing/main_fbw.h"
#include "subsystems/datalink/datalink.h"
#include "subsystems/datalink/pprz_transport.h"
#include "mcu_periph/uart.h"
#include "subsystems/datalink/downlink.h"
#include "generated/settings.h"
+ Include dependency graph for setup_actuators.c:

Go to the source code of this file.

Macros

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE
 
#define DATALINK_C
 
#define IdOfMsg(x)   (x[1])
 

Functions

void dl_parse_msg (void)
 
void init_fbw (void)
 
void handle_periodic_tasks_fbw (void)
 
void periodic_task_fbw (void)
 
void event_task_fbw (void)
 

Macro Definition Documentation

#define DATALINK_C

Definition at line 15 of file setup_actuators.c.

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE

Definition at line 12 of file setup_actuators.c.

#define IdOfMsg (   x)    (x[1])

Definition at line 23 of file setup_actuators.c.

Referenced by dl_parse_msg().

Function Documentation

void dl_parse_msg ( void  )

NAV

WIND_INFO

Else there is no dl_settings section in the flight plan

Definition at line 26 of file setup_actuators.c.

References DefaultChannel, DefaultDevice, dl_buffer, IdOfMsg, LED_TOGGLE, and val.

void handle_periodic_tasks_fbw ( void  )

Definition at line 71 of file setup_actuators.c.

References electrical_periodic(), electrical_tid, fbw_periodic_tid, periodic_task_fbw(), and sys_time_check_and_ack_timer().

+ Here is the call graph for this function:

void periodic_task_fbw ( void  )