From 21138d6bc6f5372f50ed863d2b1ae534c963e821 Mon Sep 17 00:00:00 2001 From: Jason Cox Date: Sat, 13 Feb 2016 12:09:08 -0500 Subject: [PATCH] removed old debug statements --- src/Robot.cpp | 3 ++- src/Shooter.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Robot.cpp b/src/Robot.cpp index b356e3d..cab8ba8 100644 --- a/src/Robot.cpp +++ b/src/Robot.cpp @@ -114,7 +114,7 @@ private: void TeleopPeriodic() { - std::cout << "Ramp position: "<< launch_spinny.GetEncPosition() << std::endl; + //std::cout << "Ramp position: "<< launch_spinny.GetEncPosition() << std::endl; drive.ArcadeDrive(&driver_stick, true); //bool rampDoing = false; @@ -186,6 +186,7 @@ private: */ if(driver_stick.GetRawButton(THUMB) && !inverting) { + std::cout << "Inverting Drive Train."; left_drive.SetInverted(!left_drive.GetInverted()); right_drive.SetInverted(!right_drive.GetInverted()); inverting = true; diff --git a/src/Shooter.h b/src/Shooter.h index a388f33..2ec7e5f 100644 --- a/src/Shooter.h +++ b/src/Shooter.h @@ -86,7 +86,7 @@ public: pickup->Set((float) (state * PICKUP_POWER)); launcher->Set((float) (state * PICKUP_POWER * -1)); //launch_spinny->Set(-1.0*PICKUP_POWER); - std::cout << "picking up!\n"; + //std::cout << "picking up!\n"; } /** @@ -101,7 +101,7 @@ public: { pickup->Set(power); launcher->Set(power); - std::cout << "setting shooter power" << std::endl; + //std::cout << "setting shooter power" << std::endl; } private: