Drive

interface Drive

Properties

Link copied to clipboard
abstract val controller: RobotPosVelController
Link copied to clipboard
open val defaultAccelConstraint: AccelConstraint
Link copied to clipboard
abstract val defaultTurnConstraints: TurnConstraints
Link copied to clipboard
open val defaultVelConstraint: VelConstraint
Link copied to clipboard
Link copied to clipboard
abstract val localizer: Localizer

Functions

Link copied to clipboard
open fun createProfile(path: PosePath): DisplacementProfile

Creates and returns a time-optimal profile for the given path.

Link copied to clipboard
open fun createTrajectory(path: PosePath): DisplacementTrajectory

Creates and returns a time-optimal profile for the given path.

Link copied to clipboard
fun Drive.drawPoseHistory(canvas: Canvas)
Link copied to clipboard
fun Drive.lineTo(target: Vector2d): GenerableTrajectory
Link copied to clipboard
open fun setDrivePowers(powers: PoseVelocity2d)
abstract fun setDrivePowers(powers: PoseVelocity2dDual<Time>)
Link copied to clipboard
open fun setDrivePowersWithFF(powers: PoseVelocity2d)
abstract fun setDrivePowersWithFF(powers: PoseVelocity2dDual<Time>)
Link copied to clipboard
fun Drive.splineTo(target: Vector2d, tangent: Rotation2d): DisplacementTrajectory
Link copied to clipboard
open fun trajectoryBuilder(): TrajectoryBuilder
abstract fun trajectoryBuilder(startPose: Pose2d): TrajectoryBuilder
Link copied to clipboard
open fun updatePoseEstimate(): PoseVelocity2d