Quote:
Originally Posted by nightpool
Try reading armPot->PIDGet(). This should show you exactly what values the PIDController class is getting.
|
Thanks nightpool. Interesting results. When reading armPot->GetAverageVoltage() we receive values that range from 0-3. (armPot->GetAverageVoltage() is what we return as the input to the PID loop). However when we read armPot->PIDGet() we receive values from 300 to 600. When we change our set points to match what PIDGet is receiving the PID works as expected... Not sure what is going on here, but at least we have a solution.
Thanks again