From de785512d6e51f5aedded76339dd4b09c713b84f 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 --- src/Robot.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Robot.cpp b/src/Robot.cpp index 28872a0..34a3fc5 100644 --- a/src/Robot.cpp +++ b/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.