timeLeftUntil

Calculates the time remaining until the profile reaches a target position.

Return

The time remaining until the target is reached, in seconds.

Parameters

target

The target position to reach.