Package edu.wpi.first.math.trajectory
Class TrapezoidProfile.Constraints
java.lang.Object
edu.wpi.first.math.trajectory.TrapezoidProfile.Constraints
- Enclosing class:
- TrapezoidProfile
public static class TrapezoidProfile.Constraints extends Object
Profile constraints.
-
Field Summary
Fields Modifier and Type Field Description double
maxAcceleration
Maximum acceleration.double
maxVelocity
Maximum velocity. -
Constructor Summary
Constructors Constructor Description Constraints(double maxVelocity, double maxAcceleration)
Constructs constraints for a TrapezoidProfile.Constraints(Measure<Velocity<U>> maxVelocity, Measure<Velocity<Velocity<U>>> maxAcceleration)
Constructs constraints for a TrapezoidProfile. -
Method Summary
-
Field Details
-
maxVelocity
Maximum velocity. -
maxAcceleration
Maximum acceleration.
-
-
Constructor Details
-
Constraints
Constructs constraints for a TrapezoidProfile.- Parameters:
maxVelocity
- maximum velocitymaxAcceleration
- maximum acceleration
-
Constraints
public Constraints(Measure<Velocity<U>> maxVelocity, Measure<Velocity<Velocity<U>>> maxAcceleration)Constructs constraints for a TrapezoidProfile.- Type Parameters:
U
- Unit type.- Parameters:
maxVelocity
- maximum velocitymaxAcceleration
- maximum acceleration
-