Autodrone
Multi-Domain Vehicle
compute_axis_commands.c File Reference

This file creates the inputs to the PID controller and sends values to the mixer. More...

#include "board.h"

Functions

void computeAxisCommands (float dt)
 Computes the commands that get sent to the mixer. More...
 

Variables

float attCmd [3]
 
float attPID [3]
 
float ratePID [3]
 
float rateCmd [3]
 

Detailed Description

This file creates the inputs to the PID controller and sends values to the mixer.

Author
Jeremy Wolfe
Date
07 MAR 2022

Function Documentation

◆ computeAxisCommands()

void computeAxisCommands ( float  dt)

Computes the commands that get sent to the mixer.

Parameters
dtThe PID loop period in sec.
Returns
Void.

Variable Documentation

◆ attCmd

float attCmd[3]

◆ attPID

float attPID[3]

◆ rateCmd

float rateCmd[3]

◆ ratePID

float ratePID[3]