Paparazzi UAS  v4.2.2_stable-4-gcc32f65
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.

Macros

#define SetCommands(_in_cmd, _in_flight, _motors_on)
 

Variables

int32_t commands [COMMANDS_NB]
 
const int32_t commands_failsafe [COMMANDS_NB]
 

Macro Definition Documentation

#define SetCommands (   _in_cmd,
  _in_flight,
  _motors_on 
)
Value:
{ \
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:48

Definition at line 34 of file commands.h.

Variable Documentation

const int32_t commands_failsafe[COMMANDS_NB]

Definition at line 49 of file commands.c.

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