withTimeout

Set a timeout for the trajectory, to be applied to the overhead task running the trajectory. Should be called first, before any other builder methods. If this method is not called or fed negative values, an infinite timeout will be used.

Return

trajectory builder

Parameters

interval

Timeout for the trajectory