lerp

fun Vector2d.lerp(other: Vector2d, t: Double): Vector2d

Linearly interpolate between two vectors. The t parameter is not clamped between 0-1.


fun Pose2d.lerp(other: Pose2d, t: Double): Pose2d

Linearly interpolate between two poses. The t parameter is not clamped between 0-1.


fun Rotation2d.lerp(other: Rotation2d, t: Double): Rotation2d

Linearly interpolate between two rotations. The t parameter is not clamped between 0-1. Rotation value will take the shortest path.