ProtoTwin API
    Preparing search index...

    Class VelocityControlProfile

    Trapezoidal speed profile for velocity control.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Initializes the speed profile curve.

      Parameters

      • targetPosition: number

        Unused.

      • initialPosition: number

        The (signed) initial position.

      • initialVelocity: number

        The (signed) initial velocity.

      • targetVelocity: number

        The (unsigned) maximum/target velocity.

      • maximumAcceleration: number

        The (unsigned) maximum/target acceleration.

      • maximumDeceleration: number

        The (unsigned) maximum/target deceleration.

      Returns void

    • Resets the speed profile curve.

      Returns void