core / com.acmerobotics.roadrunner.path.heading / LinearInterpolator

LinearInterpolator

class LinearInterpolator : HeadingInterpolator (source)

Linear heading interpolator for time-optimal transitions between poses.

Parameters

startHeading - start heading

angle - angle to sweep through (can be greater than a revolution)

Constructors

<init>

Linear heading interpolator for time-optimal transitions between poses.

LinearInterpolator(startHeading: Double, angle: Double)