something halled
This commit is contained in:
parent
99175b1bfb
commit
5e7a390bd4
@ -238,8 +238,7 @@ private:
|
|||||||
// This code will become obsolete after the Shooter logic is complete.
|
// This code will become obsolete after the Shooter logic is complete.
|
||||||
float opThrottle = SaneThrottle(operator_stick.GetThrottle());
|
float opThrottle = SaneThrottle(operator_stick.GetThrottle());
|
||||||
|
|
||||||
if(!pickupRunning && ( opThrottle > shooter_power + DEADZONE_RADIUS
|
if(!pickupRunning && !unjamming)
|
||||||
|| opThrottle < shooter_power - DEADZONE_RADIUS))
|
|
||||||
{
|
{
|
||||||
shooter.SetPower(opThrottle);
|
shooter.SetPower(opThrottle);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user