public class MecanumConstraints
extends DriveConstraints
Mecanum-specific drive constraints that also limit maximum wheel velocities.
maximumAcceleration, maximumAngularAcceleration, maximumAngularVelocity, maximumVelocity| Constructor and Description |
|---|
MecanumConstraints(DriveConstraints baseConstraints,
double trackWidth,
double wheelBase)
Mecanum-specific drive constraints that also limit maximum wheel velocities.
|
MecanumConstraints(DriveConstraints baseConstraints,
double trackWidth)
Mecanum-specific drive constraints that also limit maximum wheel velocities.
|
| Modifier and Type | Method and Description |
|---|---|
double |
maximumVelocity(Pose2d pose,
Pose2d poseDeriv,
Pose2d poseSecondDeriv)
Returns the maximum velocity for the given pose derivatives.
|
maximumAcceleration, maximumVelocitymaximumAcceleration, maximumVelocitypublic MecanumConstraints(DriveConstraints baseConstraints, double trackWidth, double wheelBase)
Mecanum-specific drive constraints that also limit maximum wheel velocities.
baseConstraints - base drive constraintstrackWidth - track widthwheelBase - wheel basebaseConstraints - base drive constraintstrackWidth - track widthwheelBase - wheel basepublic MecanumConstraints(DriveConstraints baseConstraints, double trackWidth)
Mecanum-specific drive constraints that also limit maximum wheel velocities.
baseConstraints - base drive constraintstrackWidth - track widthbaseConstraints - base drive constraintstrackWidth - track width