MecanumCoefficients

Mecanum drive coefficients that define robot amplitudes for a Mecanum drivetrain. These constants are constructed per robot with a builder pattern.

Author

Lucas Bubner, 2023

Since

1.0.0-pre

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
open class Builder
Utility builder to make constructing the coefficients easier.

Properties

Link copied to clipboard
open var HEADING_PID: PIDCoefficients
The heading PID coefficients to ensure the robot does not drift while moving.
Link copied to clipboard
The lateral multiplier to ensure the robot moves in a straight line.
Link copied to clipboard
The weight of the angular velocity in the drive vector.
Link copied to clipboard
open var TRANSLATIONAL_PID: PIDCoefficients
The translational PID coefficients to ensure the robot moves in a straight line.
Link copied to clipboard
open var VX_WEIGHT: Double
The weight of the x velocity in the drive vector.
Link copied to clipboard
open var VY_WEIGHT: Double
The weight of the y velocity in the drive vector.