Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
main_fbw.h File Reference

FBW ( FlyByWire ) process API. More...

#include "std.h"
+ Include dependency graph for main_fbw.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FBW_MODE_MANUAL   0
 Fly by wire modes. More...
 
#define FBW_MODE_AUTO   1
 
#define FBW_MODE_FAILSAFE   2
 
#define FBW_MODE_OF_PPRZ(mode)   ((mode) < THRESHOLD_MANUAL_PPRZ ? FBW_MODE_MANUAL : FBW_MODE_AUTO)
 

Functions

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

Variables

uint8_t fbw_mode
 
bool_t failsafe_mode
 

Detailed Description

FBW ( FlyByWire ) process API.

Definition in file main_fbw.h.

Macro Definition Documentation

#define FBW_MODE_AUTO   1

Definition at line 36 of file main_fbw.h.

#define FBW_MODE_FAILSAFE   2

Definition at line 37 of file main_fbw.h.

#define FBW_MODE_MANUAL   0

Fly by wire modes.

Definition at line 35 of file main_fbw.h.

#define FBW_MODE_OF_PPRZ (   mode)    ((mode) < THRESHOLD_MANUAL_PPRZ ? FBW_MODE_MANUAL : FBW_MODE_AUTO)

Definition at line 38 of file main_fbw.h.

Referenced by handle_rc_frame().

Function Documentation

void handle_periodic_tasks_fbw ( void  )

Definition at line 345 of file main_fbw.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 init_fbw ( void  )
void periodic_task_fbw ( void  )

Variable Documentation

bool_t failsafe_mode