setControl

fun MonguFX.setControl(control: ControlRequest): StatusCode

Sets the ControlRequest for the underlying TalonFX motor.

Receiver

The MonguFX instance representing the motor controller.

Return

The StatusCode indicating the result of the operation.

Parameters

control

The ControlRequest to apply to the motor.