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
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 "firmwares/fixedwing/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 16 of file setup_actuators.c.

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE

Definition at line 13 of file setup_actuators.c.

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

Definition at line 24 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 27 of file setup_actuators.c.

References actuators, DefaultChannel, DefaultDevice, IdOfMsg, LED_TOGGLE, SetServo, and val.

void handle_periodic_tasks_fbw ( void  )

Definition at line 72 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  )

Definition at line 79 of file setup_actuators.c.

References actuators, DefaultChannel, DefaultDevice, fbw_downlink_periodic_task(), fbw_mode, FBW_MODE_AUTO, FBW_MODE_MANUAL, link_mcu_periodic_task(), radio_control, and set_failsafe_mode().

Referenced by handle_periodic_tasks_fbw().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: