mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[examples] Add comment to drivedistanceoffboard example (#4877)
Co-authored-by: Ryan Blue <ryanzblue@gmail.com>
This commit is contained in:
committed by
GitHub
parent
371d15dec3
commit
e95e88fdf9
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user