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
commands.h File Reference

Hardware independent code for commands handling. More...

#include "paparazzi.h"
#include "generated/airframe.h"
+ Include dependency graph for commands.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SetCommands(t)
 

Variables

pprz_t commands [COMMANDS_NB]
 Storage of intermediate command values. More...
 
const pprz_t commands_failsafe [COMMANDS_NB]
 

Detailed Description

Hardware independent code for commands handling.

Definition in file commands.h.

Macro Definition Documentation

#define SetCommands (   t)
Value:
{ \
int i; \
for(i = 0; i < COMMANDS_NB; i++) commands[i] = t[i]; \
}
pprz_t commands[COMMANDS_NB]
Storage of intermediate command values.
Definition: commands.c:30

Definition at line 41 of file commands.h.

Referenced by autopilot_periodic(), event_task_fbw(), init_fbw(), and set_failsafe_mode().

Variable Documentation

pprz_t commands[COMMANDS_NB]

Storage of intermediate command values.

These values come from the RC (MANUAL mode), from the autopilot (AUTO mode) or from control loops. They are asyncronisly used to set the servos

Definition at line 30 of file commands.c.

Referenced by ArduIMU_periodicGPS(), autopilot_on_rc_frame(), Drift_correction(), electrical_periodic(), event_task_fbw(), get_commands(), handle_rc_frame(), main_periodic(), main_periodic_task(), and on_rc_message().

const pprz_t commands_failsafe[COMMANDS_NB]

Definition at line 31 of file commands.c.

Referenced by autopilot_periodic(), check_radio_lost(), init_fbw(), and set_failsafe_mode().