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