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