RoadRunnerDrivetrain
abstract class RoadRunnerDrivetrain<T : Any>(hardwareMap: HardwareMap, orientation: RevHubOrientationOnRobot) : Drivetrain
A RoadRunner dev.kingssack.volt.attachment.drivetrain.Drivetrain.
Parameters
hardwareMap
the hardware map
orientation
the control hub's orientation
T
the type of kinematics to use
Inheritors
Constructors
Properties
Functions
Link copied to clipboard
Create a new trajectory action builder.
Link copied to clipboard
Ensures the attachment is in the Idle state, throwing an exception if not.
Link copied to clipboard
Set the drive powers.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun trajectory(from: Pose2d = localizer.pose, block: TrajectoryActionBuilder.() -> TrajectoryActionBuilder): Action
Build a trajectory action.