open class TankConstraints : DriveConstraints
Tank-specific drive constraints that also limit maximum wheel velocities.
baseConstraints
- base drive constraints
TankConstraints(baseConstraints: DriveConstraints, trackWidth: Double)
Tank-specific drive constraints that also limit maximum wheel velocities. |
val trackWidth: Double
track width |
var maxAccel: Double
maximum robot acceleration |
|
var maxAngAccel: Double
maximum angular acceleration (ignored by trajectories) |
|
var maxAngJerk: Double
maximum angular jerk (ignored by trajectories) |
|
var maxAngVel: Double
maximum angular velocity |
|
var maxJerk: Double
maximum robot jerk (ignored by dynamic profiles) |
|
var maxVel: Double
maximum robot velocity |
open operator fun get(pose: Pose2d, deriv: Pose2d, secondDeriv: Pose2d): SimpleMotionConstraints
Returns the maximum velocity and acceleration for the given pose derivatives. |