Replaced Talon motor controller in DifferentialDrive class docs with Spark (#868)

This commit is contained in:
Tyler Veness
2018-01-03 18:27:34 -08:00
committed by Peter Johnson
parent bb38ef5642
commit 1f4822f332
2 changed files with 20 additions and 20 deletions

View File

@@ -28,12 +28,12 @@ class SpeedController;
* @code{.cpp}
* class Robot {
* public:
* frc::Talon m_frontLeft{1};
* frc::Talon m_rearLeft{2};
* frc::Spark m_frontLeft{1};
* frc::Spark m_rearLeft{2};
* frc::SpeedControllerGroup m_left{m_frontLeft, m_rearLeft};
*
* frc::Talon m_frontRight{3};
* frc::Talon m_rearRight{4};
* frc::Spark m_frontRight{3};
* frc::Spark m_rearRight{4};
* frc::SpeedControllerGroup m_right{m_frontRight, m_rearRight};
*
* frc::DifferentialDrive m_drive{m_left, m_right};
@@ -44,14 +44,14 @@ class SpeedController;
* @code{.cpp}
* class Robot {
* public:
* frc::Talon m_frontLeft{1};
* frc::Talon m_midLeft{2};
* frc::Talon m_rearLeft{3};
* frc::Spark m_frontLeft{1};
* frc::Spark m_midLeft{2};
* frc::Spark m_rearLeft{3};
* frc::SpeedControllerGroup m_left{m_frontLeft, m_midLeft, m_rearLeft};
*
* frc::Talon m_frontRight{4};
* frc::Talon m_midRight{5};
* frc::Talon m_rearRight{6};
* frc::Spark m_frontRight{4};
* frc::Spark m_midRight{5};
* frc::Spark m_rearRight{6};
* frc::SpeedControllerGroup m_right{m_frontRight, m_midRight, m_rearRight};
*
* frc::DifferentialDrive m_drive{m_left, m_right};