Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ SetCommands

#define SetCommands (   t)
Value:
{ \
int i; \
for(i = 0; i < COMMANDS_NB; i++) commands[i] = t[i]; \
}

Definition at line 41 of file commands.h.

Variable Documentation

◆ commands

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.

◆ commands_failsafe

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().

commands
pprz_t commands[COMMANDS_NB]
Storage of intermediate command values.
Definition: commands.c:30