Package frclib.drivebase
Class FrcDifferentialDrive
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frclib.drivebase.FrcRobotDrive
frclib.drivebase.FrcDifferentialDrive
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
,edu.wpi.first.wpilibj2.command.Subsystem
This class creates the FrcDifferential drive base subsystem that consists of wheel motors and related objects for
driving a differential robot.
-
Nested Class Summary
Nested classes/interfaces inherited from class frclib.drivebase.FrcRobotDrive
FrcRobotDrive.ImuType, FrcRobotDrive.RobotInfo, FrcRobotDrive.VisionInfo
-
Field Summary
Fields inherited from class frclib.drivebase.FrcRobotDrive
driveBase, driveMotors, imu, INDEX_LEFT_BACK, INDEX_LEFT_CENTER, INDEX_LEFT_FRONT, INDEX_RIGHT_BACK, INDEX_RIGHT_CENTER, INDEX_RIGHT_FRONT, pidDrive, purePursuitDrive, robotInfo
-
Constructor Summary
ConstructorsConstructorDescriptionFrcDifferentialDrive
(FrcRobotDrive.RobotInfo robotInfo) Constructor: Create an instance of the object. -
Method Summary
Methods inherited from class frclib.drivebase.FrcRobotDrive
cancel, cancel, configDriveBase, getGyroPitch, getGyroRoll, getGyroYaw
Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, periodic, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
FrcDifferentialDrive
Constructor: Create an instance of the object.- Parameters:
robotInfo
- specifies the Differential Robot Info.
-