moveTowards

fun Vector2d.moveTowards(other: Vector2d, stepSizeInches: Double): Vector2d

Move a vector towards another vector by a step size.


fun Pose2d.moveTowards(other: Pose2d, stepSizeInches: Double, stepSizeRad: Double): Pose2d

Move a pose towards another pose by a step size.


fun Rotation2d.moveTowards(other: Rotation2d, stepSize: Measure<Angle>): Rotation2d

Move a rotation towards another rotation by a step size.