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
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_on_ap_command(), autopilot_periodic(), event_task_fbw(), init_fbw(), main_periodic(), 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(), electrical_periodic(), event_task_fbw(), get_commands(), handle_rc_frame(), main_periodic(), main_periodic_task(), mavlink_send_vfr_hud(), periodic_task_fbw(), and send_commands().

const pprz_t commands_failsafe[COMMANDS_NB]

Definition at line 31 of file commands.c.

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