my previous error and current error in the pid calculations are the same number.
On line 209.
prevErr = curErr;