fixed a stupid logic error
if ramp is not raising, raise the ramp :P
This commit is contained in:
parent
cca8a07f68
commit
de785512d6
@ -169,11 +169,6 @@ private:
|
|||||||
shooter.PickUp(false);
|
shooter.PickUp(false);
|
||||||
pickupRunning = 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
|
* 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.
|
* inverted every iteration of the TeleopPeriodic method while the button is held down.
|
||||||
|
Reference in New Issue
Block a user