1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-22 06:01:23 +00:00

Cleaned up PID

This commit is contained in:
bpmcgeeney
2021-09-21 21:42:18 -07:00
parent 382566a8da
commit 9eb9bce77c
4 changed files with 36 additions and 44 deletions

View File

@@ -34,7 +34,7 @@ struct Vehicle {
double Kp, Ki, Kd;
double yError, yPrevError;
double pError, pPrevError;
double y_pidRefeed, p_pidRefeed, i_yError, i_pError = 0;
double i_yError, i_pError = 0;
double simTime;
int stepSize;