diff --git a/src/Shooter.h b/src/Shooter.h index 9c8af1e..f948abe 100644 --- a/src/Shooter.h +++ b/src/Shooter.h @@ -64,12 +64,14 @@ public: void LowerRamp() { - launch_spinny->Set(-1); + if(launch_spinny->GetReverseLimitOK()) + launch_spinny->Set(-1); } void RaiseRamp() { - launch_spinny->Set(1); + if(launch_spinny->GetForwardLimitOK()) + launch_spinny->Set(1); } void StopRamp() @@ -109,7 +111,7 @@ public: shotClock.Start(); } else { - std::cout << "*Goku noises*\n"; + //std::cout << "*Goku noises*\n"; } break; }