Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
commands.c File Reference

Hardware independent data structures for commands handling. More...

+ Include dependency graph for commands.c:

Go to the source code of this file.

Functions

static void send_commands (struct transport_tx *trans, struct link_device *dev)
 
void commands_init (void)
 

Variables

pprz_t commands [COMMANDS_NB]
 
const pprz_t commands_failsafe [COMMANDS_NB] = COMMANDS_FAILSAFE
 
pprz_t command_roll_trim = 0
 
pprz_t command_pitch_trim = 0
 
pprz_t command_yaw_trim = 0
 

Detailed Description

Hardware independent data structures for commands handling.

Definition in file commands.c.

Function Documentation

◆ commands_init()

void commands_init ( void  )

Definition at line 46 of file commands.c.

References command_pitch_trim, command_roll_trim, command_yaw_trim, commands_failsafe, DefaultPeriodic, register_periodic_telemetry(), and send_commands().

Referenced by main_recovery_init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ send_commands()

static void send_commands ( struct transport_tx *  trans,
struct link_device *  dev 
)
static

Definition at line 40 of file commands.c.

References commands, and dev.

Referenced by commands_init().

+ Here is the caller graph for this function:

Variable Documentation

◆ command_pitch_trim

pprz_t command_pitch_trim = 0

Definition at line 34 of file commands.c.

Referenced by commands_init().

◆ command_roll_trim

pprz_t command_roll_trim = 0

Definition at line 33 of file commands.c.

Referenced by commands_init().

◆ command_yaw_trim

pprz_t command_yaw_trim = 0

Definition at line 35 of file commands.c.

Referenced by commands_init().

◆ commands

◆ commands_failsafe

const pprz_t commands_failsafe[COMMANDS_NB] = COMMANDS_FAILSAFE