Fix duplicate encoders in examples (#2033)

This commit is contained in:
Austin Shalit
2019-11-03 12:08:05 -05:00
committed by Peter Johnson
parent f22d0961e3
commit 114ddaf81f
6 changed files with 10 additions and 10 deletions

View File

@@ -67,7 +67,7 @@ class Drivetrain {
frc::SpeedControllerGroup m_rightGroup{m_rightMaster, m_rightFollower};
frc::Encoder m_leftEncoder{0, 1};
frc::Encoder m_rightEncoder{0, 1};
frc::Encoder m_rightEncoder{2, 3};
frc2::PIDController m_leftPIDController{1.0, 0.0, 0.0};
frc2::PIDController m_rightPIDController{1.0, 0.0, 0.0};