From 84b4fca7f1c87b11549181659112976c36d8226f Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sat, 11 Oct 2014 08:31:22 -0700 Subject: [PATCH] Committing possibly broken code. (Untested) --- src/Zaphod.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Zaphod.cpp b/src/Zaphod.cpp index 7d17260..ffecb79 100644 --- a/src/Zaphod.cpp +++ b/src/Zaphod.cpp @@ -109,7 +109,7 @@ public: SmartDashboard::PutNumber("Autonomous sequence",2.0f); //Shooter presets SmartDashboard::PutNumber("ShortRange",0.465f); //Power for the shooter when against the low goal - SmartDashboard::PutNumber("ShooterButtonPower10",0.605f); + SmartDashboard::PutNumber("ShooterButtonPower10",0.855f); SmartDashboard::PutNumber("ShooterButtonPower7",1.0f); SmartDashboard::PutNumber("ShooterButtonPower8",0.5f); //Bool switches @@ -549,7 +549,8 @@ public: //}}} //Lower Shooter{{{ if(currentStep==3){ - if(40.0f<=potToDegrees(armPot.GetAverageVoltage())){ shootRobot(-0.1f); + if(40.0f<=potToDegrees(armPot.GetAverageVoltage())){ + shootRobot(-0.1f); }else{ shootRobot(0.0f); }