CancelableProfile

class CancelableProfile(val baseProfile: DisplacementProfile, val disps: List<Double>, val minAccels: List<Double>)

Displacement profile that can be canceled at any time to yield a new displacement profile that achieves the final velocity as soon as possible and then promptly ends.

Cancellation profiles begin with a displacement of zero regardless of the provided cancellation displacement in the base profile.

Cancellation doesn't modify the base displacement profile, allowing for multiple cancellations.

Constructors

Link copied to clipboard
constructor(baseProfile: DisplacementProfile, disps: List<Double>, minAccels: List<Double>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard