Package frc.robot.subsystems.drive
Class DrivetrainReal
java.lang.Object
frc.robot.subsystems.drive.DrivetrainReal
- All Implemented Interfaces:
DrivetrainIO
DrivetrainReal
-
Nested Class Summary
Nested classes/interfaces inherited from interface frc.robot.subsystems.drive.DrivetrainIO
DrivetrainIO.DrivetrainIOInputs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDriveVoltage(double lvolts, double rvolts) Drive VoltagevoidUpdates the set of loggable inputs.
-
Constructor Details
-
DrivetrainReal
public DrivetrainReal()Drivetrain Real
-
-
Method Details
-
updateInputs
Description copied from interface:DrivetrainIOUpdates the set of loggable inputs.- Specified by:
updateInputsin interfaceDrivetrainIO
-
setDriveVoltage
public void setDriveVoltage(double lvolts, double rvolts) Drive Voltage- Specified by:
setDriveVoltagein interfaceDrivetrainIO
-