| 
    RIT VEXU Core API
    
   | 
 
#include <pid.h>
Public Attributes | |
| double | p | 
| proportional coeffecient p * error()  | |
| double | i | 
| integral coeffecient i * integral(error)  | |
| double | d | 
| derivitave coeffecient d * derivative(error)  | |
| double | deadband | 
| at what threshold are we close enough to be finished  | |
| double | on_target_time | 
| ERROR_TYPE | error_method | 
pid_config_t holds the configuration parameters for a pid controller In addtion to the constant of proportional, integral and derivative, these parameters include:
| ERROR_TYPE PID::pid_config_t::error_method | 
Linear or angular. wheter to do error as a simple subtraction or to wrap
| double PID::pid_config_t::on_target_time | 
the time in seconds that we have to be on target for to say we are officially at the target