Buoyancy Firmware  1.0
Buoyancy Vehicle Firmware Documentation
PID.c File Reference
#include "PID.h"
Include dependency graph for PID.c:

Functions

pid_t pid_create (pid_t pid, float *in, float *out, float *set, float kp, float ki, float kd)
 Creates a new PID controller. More...
 
bool pid_need_compute (pid_t pid)
 Check if PID loop needs to run. More...
 
void pid_compute (pid_t pid)
 Computes the output of the PID control. More...
 
void pid_tune (pid_t pid, float kp, float ki, float kd)
 Sets new PID tuning parameters. More...
 
void pid_sample (pid_t pid, uint32_t time)
 Sets the pid algorithm period. More...
 
void pid_limits (pid_t pid, float min, float max)
 Sets the limits for the PID controller output. More...
 
void pid_auto (pid_t pid)
 Enables automatic control using PID. More...
 
void pid_manual (pid_t pid)
 Disables automatic process control. More...
 
void pid_direction (pid_t pid, enum pid_control_directions dir)
 Configures the PID controller direction. More...
 

Variables

mission_t mission
 Create mission struct instance. More...