class MotionProfile
(source)
Trapezoidal motion profile composed of motion segments.
segments
- profile motion segments
<init> |
Trapezoidal motion profile composed of motion segments. MotionProfile(segments: List<MotionSegment>) |
segments |
profile motion segments val segments: List<MotionSegment> |
duration |
Returns the duration of the motion profile. fun duration(): Double |
end |
Returns the end MotionState. fun end(): MotionState |
flipped |
Returns a flipped version of the motion profile. fun flipped(): MotionProfile |
get |
Returns the MotionState at time t. operator fun get(t: Double): MotionState |
plus |
Returns a new motion profile with other concatenated. operator fun plus(other: MotionProfile): MotionProfile |
reversed |
Returns a reversed version of the motion profile. fun reversed(): MotionProfile |
start |
Returns the start MotionState. fun start(): MotionState |