Package com.acmerobotics.roadrunner
Class TimeProfile
-
- All Implemented Interfaces:
public final class TimeProfile
Acceleration-limited motion profile parameterized by time.
-
-
Field Summary
Fields Modifier and Type Field Description public final Double
duration
public final DisplacementProfile
dispProfile
public final List<Double>
times
-
Constructor Summary
Constructors Constructor Description TimeProfile(DisplacementProfile dispProfile, List<Double> times)
TimeProfile(DisplacementProfile dispProfile)
-
Method Summary
-
-
Constructor Detail
-
TimeProfile
TimeProfile(DisplacementProfile dispProfile, List<Double> times)
- Parameters:
dispProfile
- displacement profiletimes
- time offsets of each displacement sample, starting at 0.
-
TimeProfile
TimeProfile(DisplacementProfile dispProfile)
- Parameters:
dispProfile
- displacement profile
-
-
-
-