diff --git a/MyRobot.cpp b/MyRobot.cpp index 02af8f1..6a1fff2 100644 --- a/MyRobot.cpp +++ b/MyRobot.cpp @@ -595,7 +595,7 @@ public: //}}} } //Collector Motor{{{ - if(Lstick.GetRawButton(11)==1){ + if(Lstick.GetRawButton(11)==1&&50<=potToDegrees(armPot.GetAverageVoltage())){ setMotorValue(6,1,1); }else if(Lstick.GetRawButton(12)==1){ setMotorValue(6,1,255);