class MecanumConstraints : DriveConstraints
Mecanum-specific drive constraints that also limit maximum wheel velocities.
baseConstraints
- base drive constraints
MecanumConstraints(baseConstraints: DriveConstraints, trackWidth: Double, wheelBase: Double = trackWidth)
Mecanum-specific drive constraints that also limit maximum wheel velocities. |
val maximumAcceleration: Double
maximum robot acceleration |
|
val maximumAngularAcceleration: Double
maximum angular acceleration (ignored by path-based trajectories) |
|
val maximumAngularVelocity: Double
maximum angular velocity |
|
val maximumVelocity: Double
maximum robot velocity |
fun maximumVelocity(pose: Pose2d, poseDeriv: Pose2d, poseSecondDeriv: Pose2d): Double
Returns the maximum velocity for the given pose derivatives. |
open fun maximumAcceleration(pose: Pose2d, poseDeriv: Pose2d, poseSecondDeriv: Pose2d): Double
Returns the maximum acceleration for the given pose derivatives. |