resetPosition

fun MonguFX.resetPosition(position: Double = 0.0): StatusCode

Resets the position of the TalonFX motor to the specified value.

Receiver

The MonguFX instance representing the motor controller.

Return

The StatusCode indicating the result of the operation.

Parameters

position

The position to set the motor to. Defaults to 0.0.