fromAngle

fun fromAngle(angle: Measure<Angle>, ticksPerRevolution: Number, reduction: Double): Int

Convert an angle to encoder ticks.

Return

The number of encoder ticks.

Parameters

angle

The angle.

ticksPerRevolution

The number of encoder ticks per revolution.

reduction

The gear reduction (input speed / output speed).