Package frclib.drivebase
Class FrcMecanumDrive
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frclib.drivebase.FrcRobotDrive
frclib.drivebase.FrcMecanumDrive
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
,edu.wpi.first.wpilibj2.command.Subsystem
This class creates the FrcMecanum drive base subsystem that consists of wheel motors and related objects for
driving a mecanum 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
ConstructorsConstructorDescriptionFrcMecanumDrive
(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
-
FrcMecanumDrive
Constructor: Create an instance of the object.- Parameters:
robotInfo
- specifies the Mecanum Robot Info.
-