Class TalonFXConfigurator
public class TalonFXConfigurator extends ParentConfigurator
TalonFX
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TalonFXConfigurator(DeviceIdentifier id)
-
Method Summary
Modifier and Type Method Description StatusCode
apply(AudioConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(AudioConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(ClosedLoopGeneralConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(ClosedLoopGeneralConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(ClosedLoopRampsConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(ClosedLoopRampsConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(CurrentLimitsConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(CurrentLimitsConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(CustomParamsConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(CustomParamsConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(FeedbackConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(FeedbackConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(HardwareLimitSwitchConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(HardwareLimitSwitchConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(MotionMagicConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(MotionMagicConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(MotorOutputConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(MotorOutputConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(OpenLoopRampsConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(OpenLoopRampsConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(Slot0Configs configs)
Applies the contents of the specified config to the device.StatusCode
apply(Slot0Configs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(Slot1Configs configs)
Applies the contents of the specified config to the device.StatusCode
apply(Slot1Configs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(Slot2Configs configs)
Applies the contents of the specified config to the device.StatusCode
apply(Slot2Configs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(SoftwareLimitSwitchConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(SoftwareLimitSwitchConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(TalonFXConfiguration configs)
Applies the contents of the specified config to the device.StatusCode
apply(TalonFXConfiguration configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(TorqueCurrentConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(TorqueCurrentConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
apply(VoltageConfigs configs)
Applies the contents of the specified config to the device.StatusCode
apply(VoltageConfigs configs, double timeoutSeconds)
Applies the contents of the specified config to the device.StatusCode
clearStickyFaults()
Clear the sticky faults in the device.StatusCode
clearStickyFaults(double timeoutSeconds)
Clear the sticky faults in the device.StatusCode
refresh(AudioConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(AudioConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(ClosedLoopGeneralConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(ClosedLoopGeneralConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(ClosedLoopRampsConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(ClosedLoopRampsConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(CurrentLimitsConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(CurrentLimitsConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(CustomParamsConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(CustomParamsConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(FeedbackConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(FeedbackConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(HardwareLimitSwitchConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(HardwareLimitSwitchConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(MotionMagicConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(MotionMagicConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(MotorOutputConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(MotorOutputConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(OpenLoopRampsConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(OpenLoopRampsConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(Slot0Configs configs)
Refreshes the values of the specified config group.StatusCode
refresh(Slot0Configs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(Slot1Configs configs)
Refreshes the values of the specified config group.StatusCode
refresh(Slot1Configs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(Slot2Configs configs)
Refreshes the values of the specified config group.StatusCode
refresh(Slot2Configs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(SoftwareLimitSwitchConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(SoftwareLimitSwitchConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(TalonFXConfiguration configs)
Refreshes the values of the specified config group.StatusCode
refresh(TalonFXConfiguration configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(TorqueCurrentConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(TorqueCurrentConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
refresh(VoltageConfigs configs)
Refreshes the values of the specified config group.StatusCode
refresh(VoltageConfigs configs, double timeoutSeconds)
Refreshes the values of the specified config group.StatusCode
setRotorPosition(double newValue)
The position to set the rotor position to right now.StatusCode
setRotorPosition(double newValue, double timeoutSeconds)
The position to set the rotor position to right now.Methods inherited from class com.ctre.phoenixpro.configs.ParentConfigurator
getConfigsPrivate, setConfigsPrivate
-
Constructor Details
-
Method Details
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
refresh
Refreshes the values of the specified config group.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refresh- Returns:
- StatusCode of refreshing the configs
-
refresh
Refreshes the values of the specified config group.Call to refresh the selected configs from the device.
- Parameters:
configs
- The configs to refreshtimeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of refreshing the configs
-
apply
Applies the contents of the specified config to the device.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.- Returns:
- StatusCode of the set command
-
apply
Applies the contents of the specified config to the device.Call to apply the selected configs.
- Parameters:
configs
- Configs to apply against.timeoutSeconds
- Maximum amount of time to wait when performing configuration- Returns:
- StatusCode of the set command
-
setRotorPosition
The position to set the rotor position to right now.This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
newValue
- Value to set to.- Returns:
- StatusCode of the set command
-
setRotorPosition
The position to set the rotor position to right now.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
newValue
- Value to set to.timeoutSeconds
- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
clearStickyFaults
Clear the sticky faults in the device.This typically has no impact on the device functionality. Instead, it just clears telemetry faults that are accessible via API and Tuner Self-Test.
This will wait up to
ParentConfigurator.defaultTimeoutSeconds
.This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Returns:
- StatusCode of the set command
-
clearStickyFaults
Clear the sticky faults in the device.This typically has no impact on the device functionality. Instead, it just clears telemetry faults that are accessible via API and Tuner Self-Test.
This is available in the configurator in case the user wants to initialize their device entirely without passing a device reference down to the code that performs the initialization. In this case, the user passes down the configurator object and performs all the initialization code on the object.
- Parameters:
timeoutSeconds
- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-