changed ramp power

This commit is contained in:
Aidan Ferguson 2016-03-05 10:31:25 -05:00
parent 0ed78e6902
commit 7f734dbb57
1 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@
#define LAUNCH_POWER 1 #define LAUNCH_POWER 1
#define SPINUP_TIME 1.5 // seconds. #define SPINUP_TIME 1.5 // seconds.
#define LAUNCH_TIME 0.5 #define LAUNCH_TIME 0.5
#define RAMP_POWER 0.3
class Shooter class Shooter
{ {
@ -64,7 +65,7 @@ public:
void LowerRamp() void LowerRamp()
{ {
ramp->Set(-0.5); ramp->Set(-RAMP_POWER);
if(ramp->Limits::kReverseLimit){ if(ramp->Limits::kReverseLimit){
SmartDashboard::PutNumber("ramp", 2); //going to put a circlar dial to show where the ramp could be SmartDashboard::PutNumber("ramp", 2); //going to put a circlar dial to show where the ramp could be
} else { } else {
@ -74,7 +75,7 @@ public:
void RaiseRamp() void RaiseRamp()
{ {
ramp->Set(0.5); ramp->Set(RAMP_POWER);
if(ramp->Limits::kForwardLimit){ if(ramp->Limits::kForwardLimit){
SmartDashboard::PutNumber("ramp", 0); //going to put a circlar dial to show where the ramp could be SmartDashboard::PutNumber("ramp", 0); //going to put a circlar dial to show where the ramp could be
} else { } else {