open class SwerveVelocityConstraint : TrajectoryVelocityConstraint
(source)
Mecanum-specific drive constraints that also limit maximum wheel velocities.
maxWheelVel
- maximum wheel velocity
<init> |
Mecanum-specific drive constraints that also limit maximum wheel velocities. SwerveVelocityConstraint(maxWheelVel: Double, trackWidth: Double, wheelBase: Double = trackWidth) |
get |
Returns the maximum profile velocity. open fun get(s: Double, pose: Pose2d, deriv: Pose2d, baseRobotVel: Pose2d): Double |