Diff_MotionMagicDutyCycle_VelocityDutyCycleWithUpdateFreqHz 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.Compound
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public Diff_MotionMagicDutyCycle_VelocityDutyCycle WithUpdateFreqHz(
	double newUpdateFreqHz
)

Parameters

newUpdateFreqHz  Double
Parameter to modify

Return Value

Diff_MotionMagicDutyCycle_VelocityDutyCycle
Itself

See Also