From a57a9c76111d4109e3204d163cb9bfc2eb3b90a6 Mon Sep 17 00:00:00 2001 From: dkbug Date: Sat, 20 Feb 2016 16:07:26 -0500 Subject: [PATCH] fixed a stupid logic error if ramp is not raising, raise the ramp :P --- Robot2016/src/Robot.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Robot2016/src/Robot.cpp b/Robot2016/src/Robot.cpp index 28872a0..34a3fc5 100644 --- a/Robot2016/src/Robot.cpp +++ b/Robot2016/src/Robot.cpp @@ -169,11 +169,6 @@ private: shooter.PickUp(false); pickupRunning = false; } - else if(ramp.Get() != 1) - { - ramp.Set(1); - } - /* * The 'inverting' variable is used to make sure that the drive train isn't getting * inverted every iteration of the TeleopPeriodic method while the button is held down.