Autodrone
Multi-Domain Vehicle
process_commands.c File Reference

This file processes the receiver inputs to ensure they are in the correct ranges for further computations. More...

#include "board.h"

Functions

void processCommands (void)
 Processes receiver commands. More...
 

Variables

uint8_t commandInDetent [3] = { true, true, true }
 
uint8_t previousCommandInDetent [3] = { true, true, true }
 
modes_e mode = TRANS_FLIGHT
 
flightModes_e flightMode = ANGLE
 
semaphore_t armed = false
 
uint8_t armingTimer = 0
 
uint8_t disarmingTimer = 0
 
float rxCommands [8]
 

Detailed Description

This file processes the receiver inputs to ensure they are in the correct ranges for further computations.

Author
Jeremy Wolfe
Date
07 MAR 2022

Function Documentation

◆ processCommands()

void processCommands ( void  )

Processes receiver commands.

Returns
Void.

Variable Documentation

◆ armed

semaphore_t armed = false

◆ armingTimer

uint8_t armingTimer = 0

◆ commandInDetent

uint8_t commandInDetent[3] = { true, true, true }

◆ disarmingTimer

uint8_t disarmingTimer = 0

◆ flightMode

flightModes_e flightMode = ANGLE

◆ mode

◆ previousCommandInDetent

uint8_t previousCommandInDetent[3] = { true, true, true }

◆ rxCommands

float rxCommands[8]