[examples] Add comment to drivedistanceoffboard example (#4877)

Co-authored-by: Ryan Blue <ryanzblue@gmail.com>
This commit is contained in:
Berke Sinan Yetkin
2023-01-19 07:46:41 +03:00
committed by GitHub
parent 371d15dec3
commit e95e88fdf9

View File

@@ -19,12 +19,14 @@ public class DriveSubsystem extends SubsystemBase {
private final ExampleSmartMotorController m_leftFollower =
new ExampleSmartMotorController(DriveConstants.kLeftMotor2Port);
// The motors on the right side of the drive.
private final ExampleSmartMotorController m_rightLeader =
new ExampleSmartMotorController(DriveConstants.kRightMotor1Port);
private final ExampleSmartMotorController m_rightFollower =
new ExampleSmartMotorController(DriveConstants.kRightMotor2Port);
// The feedforward controller.
private final SimpleMotorFeedforward m_feedforward =
new SimpleMotorFeedforward(
DriveConstants.ksVolts,