From bbcd3ed4943c38ba1f54bfe83cdc0b7d981c8b70 Mon Sep 17 00:00:00 2001 From: Aidan Ferguson Date: Sat, 20 Feb 2016 13:28:56 -0500 Subject: [PATCH] debug code to tell what the H-E-double-hockey-sticks the int the encoder returns is doing. --- src/Robot.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Robot.cpp b/src/Robot.cpp index ca3e071..75f2aba 100644 --- a/src/Robot.cpp +++ b/src/Robot.cpp @@ -118,7 +118,8 @@ private: void TeleopPeriodic() { - //std::cout << "Ramp position: "<< launch_spinny.GetEncPosition() << std::endl; + std::cout << "arm encoder position: " << arms.GetEncPosition() << std::endl; + std::cout << "arm encoder velocity: " << arms.GetEncVel() << std::endl; drive.ArcadeDrive(&driver_stick, true); //bool rampDoing = false;