C++ examples no longer use deprecated APIs (#703)

This commit is contained in:
Tyler Veness
2017-11-05 19:39:47 -08:00
committed by Peter Johnson
parent c24e755409
commit faf134a674
6 changed files with 20 additions and 19 deletions

View File

@@ -25,8 +25,8 @@ DriveTrain::DriveTrain()
// frc::LiveWindow::GetInstance()->AddActuator("DriveTrain", "Back Right
// CIM", &m_backRightCIM);
// Configure the RobotDrive to reflect the fact that all our motors are
// wired backwards and our drivers sensitivity preferences.
// Configure the DifferentialDrive to reflect the fact that all our
// motors are wired backwards and our drivers sensitivity preferences.
m_robotDrive.SetSafetyEnabled(false);
m_robotDrive.SetExpiration(0.1);
m_robotDrive.SetMaxOutput(1.0);