bugfix, debug code for encoder.

This commit is contained in:
Aidan Ferguson 2016-02-10 14:56:58 -05:00
parent ef9db9032b
commit b4d5ead23a

View File

@ -28,7 +28,7 @@ public:
ramp(12),
drive(&left_drive, &right_drive),
shooter( // initialize Shooter object.
&shooter1, &shooter2, &ramp, &ramp_height),
&shooter1, &shooter2, &ramp),
driver_stick(0), // right stick (operator)
operator_stick(1) // left stick (driver)
{
@ -104,6 +104,7 @@ private:
void TeleopPeriodic()
{
std::cout << "Ramp position: "<< ramp.GetEncPosition() << std::endl;
drive.ArcadeDrive(&driver_stick, true);
// This is shit code for testing. Replace it with real code.