CoreTalonFXSetControl(ControlRequest) Method
Control motor with generic control request object.
User must make sure the specified object is castable to a valid control request,
otherwise this function will fail at run-time and return the NotSupported StatusCode
Namespace: CTRE.Phoenix6.Hardware.CoreAssembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
public StatusCode SetControl(
ControlRequest request
)
member SetControl :
request : ControlRequest -> StatusCode
- request ControlRequest
- Control object to request of the device
StatusCodeStatus Code of the request, 0 is OK