From 7f734dbb5771102b597ed811ed516652fc8e1596 Mon Sep 17 00:00:00 2001 From: Aidan Ferguson Date: Sat, 5 Mar 2016 10:31:25 -0500 Subject: [PATCH] changed ramp power --- Robot2016/src/Shooter.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Robot2016/src/Shooter.h b/Robot2016/src/Shooter.h index 5de8a86..8339baf 100644 --- a/Robot2016/src/Shooter.h +++ b/Robot2016/src/Shooter.h @@ -12,6 +12,7 @@ #define LAUNCH_POWER 1 #define SPINUP_TIME 1.5 // seconds. #define LAUNCH_TIME 0.5 +#define RAMP_POWER 0.3 class Shooter { @@ -64,7 +65,7 @@ public: void LowerRamp() { - ramp->Set(-0.5); + ramp->Set(-RAMP_POWER); if(ramp->Limits::kReverseLimit){ SmartDashboard::PutNumber("ramp", 2); //going to put a circlar dial to show where the ramp could be } else { @@ -74,7 +75,7 @@ public: void RaiseRamp() { - ramp->Set(0.5); + ramp->Set(RAMP_POWER); if(ramp->Limits::kForwardLimit){ SmartDashboard::PutNumber("ramp", 0); //going to put a circlar dial to show where the ramp could be } else {