MaxVelocityConstraint
- class wpimath.MaxVelocityConstraint(max_velocity: wpimath.units.meters_per_second)
Bases:
TrajectoryConstraintRepresents 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:
max_velocity – The max velocity.
- static from_fps(max_velocity: wpimath.units.feet_per_second) wpimath._wpimath.MaxVelocityConstraint
- max_velocity(pose: wpimath._wpimath.Pose2d, curvature: wpimath.units.radians_per_meter, velocity: wpimath.units.meters_per_second) wpimath.units.meters_per_second
- min_max_acceleration(pose: wpimath._wpimath.Pose2d, curvature: wpimath.units.radians_per_meter, velocity: wpimath.units.meters_per_second) wpimath._wpimath.TrajectoryConstraint.MinMax