class MotionProfileBuilder
Easy-to-use builder for creating motion profiles.
MotionProfileBuilder(start: MotionState)
Easy-to-use builder for creating motion profiles. |
fun appendAccelerationControl(accel: Double, dt: Double): MotionProfileBuilder
Appends a constant-acceleration control for the provided duration. |
|
fun appendJerkControl(jerk: Double, dt: Double): MotionProfileBuilder
Appends a constant-jerk control for the provided duration. |
|
fun appendProfile(profile: MotionProfile): MotionProfileBuilder
Appends a MotionProfile to the current queue of control actions. |
|
fun build(): MotionProfile
Constructs and returns the MotionProfile instance. |