DifferentialVelocityDutyCycleWithUpdateFreqHz Method

Sets the period at which this control will update at. This is designated in Hertz, with a minimum of 20 Hz (every 50 ms) and a maximum of 1000 Hz (every 1 ms).

If this field is set to 0 Hz, the control request will be sent immediately as a one-shot frame. This may be useful for advanced applications that require outputs to be synchronized with data acquisition. In this case, we recommend not exceeding 50 ms between control calls.

Definition

Namespace: CTRE.Phoenix6.Controls
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public DifferentialVelocityDutyCycle WithUpdateFreqHz(
	double newUpdateFreqHz
)

Parameters

newUpdateFreqHz  Double
Parameter to modify

Return Value

DifferentialVelocityDutyCycle
Itself

See Also