changed ramp power
This commit is contained in:
parent
0ed78e6902
commit
7f734dbb57
@ -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 {
|
||||||
|
Reference in New Issue
Block a user