Class TrapezoidProfile.ProfileTiming
java.lang.Object
org.wpilib.math.trajectory.TrapezoidProfile.ProfileTiming
- Enclosing class:
TrapezoidProfile
Profile Timing.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionZero initializes the timing object for a Trapezoid Profile.ProfileTiming(double t_1, double t_2, double t_3) Constructs the timing object for a Trapezoid Profile. -
Method Summary
-
Field Details
-
t_1
public double t_1The time the profile spends in the first leg. -
t_2
public double t_2The time the profile spends at the velocity limit. -
t_3
public double t_3The time the profile spends in the last leg.
-
-
Constructor Details
-
ProfileTiming
public ProfileTiming(double t_1, double t_2, double t_3) Constructs the timing object for a Trapezoid Profile.- Parameters:
t_1- The time the profile spends on the first leg.t_2- The time the profile spends at the velocity limit.t_3- the time the profile spends on the last leg.
-
ProfileTiming
public ProfileTiming()Zero initializes the timing object for a Trapezoid Profile.
-
-
Method Details
-
equals
-
hashCode
-