StoRC
Autonomous Payload Delivery System
|
Contains all controls functions for feedback and inner loop control. More...
Go to the source code of this file.
Functions | |
void | THR_control (float dt) |
void | RUD_control (float dt) |
void | throttle_mixing (void) |
void | perturb (void) |
Contains all controls functions for feedback and inner loop control.
Definition in file controls.pde.
void perturb | ( | void | ) |
Perturbation routine that periodically adds step inputs to rudder, elevator, etc. Data collected from the results can be used to validate the simulation model.
Definition at line 197 of file controls.pde.
void RUD_control | ( | float | dt | ) |
Definition at line 79 of file controls.pde.
void THR_control | ( | float | dt | ) |
PID control on roll angle
dt | the time elapsed since the last call (for integration) |
Definition at line 43 of file controls.pde.
void throttle_mixing | ( | void | ) |
Add elevator Add rudder based on roll (bank) angle (phi). Add rudder based on current throttle position to offset the additional motor torque caused by an increase in throttle.
Definition at line 173 of file controls.pde.