INF2004-Project v0.1
 
Loading...
Searching...
No Matches
pid_params Struct Reference

Struct for PID parameters. More...

#include <pid.h>

Data Fields

float current_bearing
 Current bearing for PID.
 
float current_ratio
 Current ratio for PID.
 
float epsilon
 Small epsilon value to prevent division by 0.
 
float integral
 Integral for PID.
 
float k_d
 Gain for derivative term.
 
float k_i
 Gain for integral term.
 
float k_p
 Gain for proportional term.
 
float prev_error
 Previous error for PID.
 
float ratio_to_bearing
 Ratio to bearing for PID.
 
float setpoint
 Setpoint for PID.
 

Detailed Description

Struct for PID parameters.


The documentation for this struct was generated from the following file: