MakeblockPID

This commit is contained in:
clplaneguy
2019-04-05 09:56:10 -05:00
committed by GitHub
parent 428087f16a
commit 381dad63f9

View File

@ -204,7 +204,7 @@ void PID2::SetControllerDirection(int Direction)
{
if(inAuto && Direction !=controllerDirection)
{
kp = (0 - kp);
kp = (0 - kp);
ki = (0 - ki);
kd = (0 - kd);
}