Package org.chsrobotics.lib.trajectory
Class AsymmetricTrapezoidProfile.Constraints
- java.lang.Object
-
- org.chsrobotics.lib.trajectory.AsymmetricTrapezoidProfile.Constraints
-
- Enclosing class:
- AsymmetricTrapezoidProfile
public static class AsymmetricTrapezoidProfile.Constraints extends java.lang.ObjectA data class to hold the maximum allowable rates for the output of a AsymmetricTrapezoidProfile.Because of the number of cases this profile has to handle, acceleration and deceleration don't coorespond to acceleration in a specific direction, or towards higher/lower absolute values. It's probably best to think of them as the acceleration constraint for the first phase of motion, and deceleration constraint for the final phase of motion.
-
-
Field Summary
Fields Modifier and Type Field Description doublemaxAccelerationdoublemaxDecelerationdoublemaxVelocity
-
Constructor Summary
Constructors Constructor Description Constraints(double maxVelocity, double maxAcceleration, double maxDeceleration)Constructs Constraints for a AsymmetricTrapezoidProfile.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-