MaxVelocityConstraint

class wpimath.trajectory.constraint.MaxVelocityConstraint(maxVelocity: meters_per_second)

Bases: TrajectoryConstraint

Represents a constraint that enforces a max velocity. This can be composed with the EllipticalRegionConstraint or RectangularRegionConstraint to enforce a max velocity within a region.

Constructs a new MaxVelocityConstraint.

Parameters:

maxVelocity – The max velocity.

static fromFps(maxVelocity: feet_per_second) wpimath._controls._controls.constraint.MaxVelocityConstraint
maxVelocity(pose: wpimath.geometry._geometry.Pose2d, curvature: radians_per_meter, velocity: meters_per_second) meters_per_second
minMaxAcceleration(pose: wpimath.geometry._geometry.Pose2d, curvature: radians_per_meter, speed: meters_per_second) wpimath._controls._controls.constraint.TrajectoryConstraint.MinMax