open class DriveConstraints : TrajectoryConstraints
This class describes general robot trajectory constraints. More specifically, for paths, the robot velocity, robot acceleration, and robot angular velocity are limited. For point turns, the angular velocity and angular acceleration are limited.
maxVel
- maximum robot velocity
maxAccel
- maximum robot acceleration
maxJerk
- maximum robot jerk (ignored by dynamic profiles)
maxAngVel
- maximum angular velocity
maxAngAccel
- maximum angular acceleration (ignored by path-based trajectories)
maxAngJerk
- maximum angular jerk (ignored by path-based trajectories)
DriveConstraints(maxVel: Double, maxAccel: Double, maxJerk: Double, maxAngVel: Double, maxAngAccel: Double, maxAngJerk: Double)
This class describes general robot trajectory constraints. More specifically, for paths, the robot velocity, robot acceleration, and robot angular velocity are limited. For point turns, the angular velocity and angular acceleration are limited. |
var maxAccel: Double
maximum robot acceleration |
|
var maxAngAccel: Double
maximum angular acceleration (ignored by path-based trajectories) |
|
var maxAngJerk: Double
maximum angular jerk (ignored by path-based trajectories) |
|
var maxAngVel: Double
maximum angular velocity |
|
var maxJerk: Double
maximum robot jerk (ignored by dynamic profiles) |
|
var maxVel: Double
maximum robot velocity |
open fun get(pose: Pose2d, deriv: Pose2d, secondDeriv: Pose2d): SimpleMotionConstraints
Returns the maximum velocity and acceleration for the given pose derivatives. |
open class MecanumConstraints : DriveConstraints
Mecanum-specific drive constraints that also limit maximum wheel velocities. |
|
open class SwerveConstraints : DriveConstraints
Mecanum-specific drive constraints that also limit maximum wheel velocities. |
|
open class TankConstraints : DriveConstraints
Tank-specific drive constraints that also limit maximum wheel velocities. |