Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
commands.h File Reference
#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.


#define SetCommands(_in_cmd, _in_flight, _motors_on)


int32_t commands [COMMANDS_NB]
const int32_t commands_failsafe [COMMANDS_NB]

Macro Definition Documentation

#define SetCommands (   _in_cmd,
{ \
commands[COMMAND_PITCH] = _in_cmd[COMMAND_PITCH]; \
commands[COMMAND_ROLL] = _in_cmd[COMMAND_ROLL]; \
commands[COMMAND_YAW] = (_in_flight) ? _in_cmd[COMMAND_YAW] : 0; \
commands[COMMAND_THRUST] = (_motors_on) ? _in_cmd[COMMAND_THRUST] : 0; \
pprz_t commands[COMMANDS_NB]
Definition: commands.c:42

Definition at line 34 of file commands.h.

Variable Documentation

const int32_t commands_failsafe[COMMANDS_NB]

Definition at line 43 of file commands.c.

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