changed ramp power

This commit is contained in:
Aidan Ferguson 2016-03-05 10:31:25 -05:00
parent 0ed78e6902
commit 7f734dbb57

View File

@ -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 {