[wpilib] Fix outdated DifferentialDrive docs (#6249)

They accidentally got reverted when undeprecating MotorController in the
review process for #6053.
This commit is contained in:
Tyler Veness
2024-01-19 20:34:58 -08:00
committed by GitHub
parent 370126db38
commit 9227d09960
2 changed files with 6 additions and 5 deletions

View File

@@ -90,8 +90,9 @@ class DifferentialDrive : public RobotDriveBase,
/**
* Construct a DifferentialDrive.
*
* To pass multiple motors per side, use a MotorControllerGroup. If a motor
* needs to be inverted, do so before passing it in.
* To pass multiple motors per side, use CAN motor controller followers or
* PWMSpeedController::AddFollower(). If a motor needs to be inverted, do so
* before passing it in.
*
* @param leftMotor Left motor setter.
* @param rightMotor Right motor setter.