Paparazzi UAS  v5.14.0_stable-0-g3f680d1
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_static_periodic(), fbw_on_ap_command(), fbw_on_rc_frame(), init_fbw(), and main_periodic().

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 autopilot_static_on_rc_frame(), electrical_periodic(), fbw_on_rc_frame(), get_commands(), handle_rc_frame(), main_periodic(), main_periodic_task(), mavlink_send_vfr_hud(), nps_autopilot_run_step(), send_commands(), and send_fp().

const pprz_t commands_failsafe[COMMANDS_NB]

Definition at line 31 of file commands.c.

Referenced by autopilot_static_periodic(), fbw_on_rc_frame(), init_fbw(), and main_periodic().