From 5e7a390bd417fdfb65c43a33c9152188a932724f Mon Sep 17 00:00:00 2001 From: Jason Cox Date: Tue, 23 Feb 2016 17:39:21 -0500 Subject: [PATCH] something halled --- src/Robot.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Robot.cpp b/src/Robot.cpp index 4ac3bb7..1ec2bad 100644 --- a/src/Robot.cpp +++ b/src/Robot.cpp @@ -238,8 +238,7 @@ private: // This code will become obsolete after the Shooter logic is complete. float opThrottle = SaneThrottle(operator_stick.GetThrottle()); - if(!pickupRunning && ( opThrottle > shooter_power + DEADZONE_RADIUS - || opThrottle < shooter_power - DEADZONE_RADIUS)) + if(!pickupRunning && !unjamming) { shooter.SetPower(opThrottle); }