diff --git a/DriveBase/src/Robot.cpp b/DriveBase/src/Robot.cpp index db5df2c..3662233 100644 --- a/DriveBase/src/Robot.cpp +++ b/DriveBase/src/Robot.cpp @@ -11,8 +11,8 @@ #ifndef BUTTON_LAYOUT #define BUTTON_LAYOUT -#define TRIGGER 10 // I have no idea what the right button number is... -#define THUMB 11 +#define TRIGGER 0 +#define THUMB 1 #endif // BUTTON_LAYOUT @@ -77,15 +77,18 @@ public: if(rstick.GetRawButton(TRIGGER)) { // SHOOT THE BALL + ramp.Set(-0.5); } if(rstick.GetRawButton(THUMB)) { // lower the ramp + ramp.Set(0.5); } else { // raise the ramp to HALF (so it isn't down all the time!) + ramp.Set(0); } // How to pickup?