CancelableProfile

@Serializable
@SerialName(value = "CancelableProfile")
class CancelableProfile(val baseProfile: DisplacementProfile, val disps: List<Double>, val minAccels: List<Double>) : Profile

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>)

Types

Link copied to clipboard
object Companion

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun get(x: Double): DualNum<Time>
Link copied to clipboard
operator fun invoke(): DisplacementProfile

Shortcut for the original displacement profile.