Road Runner Drive
interface RoadRunnerDrive
Interface for access methods in RoadRunner drive classes, such as MecanumDrive and TankDrive.
Author
Lucas Bubner, 2023
Since
1.0.0-pre
Inheritors
Functions
Link copied to clipboard
Abort the current trajectory.
Link copied to clipboard
Follow a trajectory.
Link copied to clipboard
Follow a trajectory asynchronously.
Link copied to clipboard
Follow a trajectory sequence.
Link copied to clipboard
Follow a trajectory sequence asynchronously.
Link copied to clipboard
Get an acceleration constraint for the drive.
Link copied to clipboard
Get the drive constants related to this drive.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the last reported pose error from the drive.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the attached TrajectorySequenceRunner for this drive.
Link copied to clipboard
open fun getVelocityConstraint(maxVel: Double, maxAngularVel: Double, trackWidth: Double): TrajectoryVelocityConstraint
Get a velocity constraint for the drive.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set a drive power.
Link copied to clipboard
Set a drive velocity and/or acceleration target.
Link copied to clipboard
Assert the heading of the robot.
Link copied to clipboard
Set the new localizer to use.
Link copied to clipboard
Set the motor powers for each motor on this drive.
Link copied to clipboard
Set the PIDF coefficients for the drive motors.
Link copied to clipboard
Assert the position of the robot.
Link copied to clipboard
Set a drive power with axial weights.
Link copied to clipboard
Set a drive power with axial weights.
Link copied to clipboard
Set the zero power behaviour of all motors.
Link copied to clipboard
Get a trajectory builder for the drive.
Link copied to clipboard
Get a trajectory sequence builder for the drive.
Link copied to clipboard
Update the pose estimate of the drive.
Link copied to clipboard
Set a remembered pose from memory in another OpMode.
Link copied to clipboard
Run current trajectory blocking until it is complete.