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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDriveVoltage
(double lvolts, double rvolts) Drive Voltagevoid
Updates the set of loggable inputs.
-
Constructor Details
-
DrivetrainReal
public DrivetrainReal()Drivetrain Real
-
-
Method Details
-
updateInputs
Description copied from interface:DrivetrainIO
Updates the set of loggable inputs.- Specified by:
updateInputs
in interfaceDrivetrainIO
-
setDriveVoltage
public void setDriveVoltage(double lvolts, double rvolts) Drive Voltage- Specified by:
setDriveVoltage
in interfaceDrivetrainIO
-