Class Pigeon2Configurator
Pigeon2
-
Field Summary
Fields inherited from class com.ctre.phoenix6.configs.ParentConfigurator
DefaultTimeoutSeconds
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(CustomParamsConfigs configs) Applies the contents of the specified config to the device.apply
(CustomParamsConfigs configs, double timeoutSeconds) Applies the contents of the specified config to the device.apply
(GyroTrimConfigs configs) Applies the contents of the specified config to the device.apply
(GyroTrimConfigs configs, double timeoutSeconds) Applies the contents of the specified config to the device.apply
(MountPoseConfigs configs) Applies the contents of the specified config to the device.apply
(MountPoseConfigs configs, double timeoutSeconds) Applies the contents of the specified config to the device.apply
(Pigeon2Configuration configs) Applies the contents of the specified config to the device.apply
(Pigeon2Configuration configs, double timeoutSeconds) Applies the contents of the specified config to the device.apply
(Pigeon2FeaturesConfigs configs) Applies the contents of the specified config to the device.apply
(Pigeon2FeaturesConfigs configs, double timeoutSeconds) Applies the contents of the specified config to the device.Clear sticky fault: Device boot while detecting the enable signalclearStickyFault_BootDuringEnable
(double timeoutSeconds) Clear sticky fault: Device boot while detecting the enable signalClear sticky fault: Motion Detected during bootup.clearStickyFault_BootIntoMotion
(double timeoutSeconds) Clear sticky fault: Motion Detected during bootup.Clear sticky fault: Bootup checks failed: AccelerometerclearStickyFault_BootupAccelerometer
(double timeoutSeconds) Clear sticky fault: Bootup checks failed: AccelerometerClear sticky fault: Bootup checks failed: GyroscopeclearStickyFault_BootupGyroscope
(double timeoutSeconds) Clear sticky fault: Bootup checks failed: GyroscopeClear sticky fault: Bootup checks failed: MagnetometerclearStickyFault_BootupMagnetometer
(double timeoutSeconds) Clear sticky fault: Bootup checks failed: MagnetometerClear sticky fault: Motion stack data acquisition was slower than expectedclearStickyFault_DataAcquiredLate
(double timeoutSeconds) Clear sticky fault: Motion stack data acquisition was slower than expectedClear sticky fault: Hardware fault occurredclearStickyFault_Hardware
(double timeoutSeconds) Clear sticky fault: Hardware fault occurredClear sticky fault: Motion stack loop time was slower than expected.clearStickyFault_LoopTimeSlow
(double timeoutSeconds) Clear sticky fault: Motion stack loop time was slower than expected.Clear sticky fault: Accelerometer values are saturatedclearStickyFault_SaturatedAccelerometer
(double timeoutSeconds) Clear sticky fault: Accelerometer values are saturatedClear sticky fault: Gyroscope values are saturatedclearStickyFault_SaturatedGyroscope
(double timeoutSeconds) Clear sticky fault: Gyroscope values are saturatedClear sticky fault: Magnetometer values are saturatedclearStickyFault_SaturatedMagnetometer
(double timeoutSeconds) Clear sticky fault: Magnetometer values are saturatedClear sticky fault: Device supply voltage dropped to near brownout levelsclearStickyFault_Undervoltage
(double timeoutSeconds) Clear sticky fault: Device supply voltage dropped to near brownout levelsClear sticky fault: An unlicensed feature is in use, device may not behave as expected.clearStickyFault_UnlicensedFeatureInUse
(double timeoutSeconds) Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.Clear the sticky faults in the device.clearStickyFaults
(double timeoutSeconds) Clear the sticky faults in the device.refresh
(CustomParamsConfigs configs) Refreshes the values of the specified config group.refresh
(CustomParamsConfigs configs, double timeoutSeconds) Refreshes the values of the specified config group.refresh
(GyroTrimConfigs configs) Refreshes the values of the specified config group.refresh
(GyroTrimConfigs configs, double timeoutSeconds) Refreshes the values of the specified config group.refresh
(MountPoseConfigs configs) Refreshes the values of the specified config group.refresh
(MountPoseConfigs configs, double timeoutSeconds) Refreshes the values of the specified config group.refresh
(Pigeon2Configuration configs) Refreshes the values of the specified config group.refresh
(Pigeon2Configuration configs, double timeoutSeconds) Refreshes the values of the specified config group.refresh
(Pigeon2FeaturesConfigs configs) Refreshes the values of the specified config group.refresh
(Pigeon2FeaturesConfigs configs, double timeoutSeconds) Refreshes the values of the specified config group.setYaw
(double newValue) The yaw to set the Pigeon2 to right now.setYaw
(double newValue, double timeoutSeconds) The yaw to set the Pigeon2 to right now.The yaw to set the Pigeon2 to right now.The yaw to set the Pigeon2 to right now.Methods inherited from class com.ctre.phoenix6.configs.ParentConfigurator
getConfigsPrivate, reportIfFrequent, setConfigsPrivate
-
Constructor Details
-
Pigeon2Configurator
-
-
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
-
setYaw
The yaw to set the Pigeon2 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. Units are in deg.- Returns:
- StatusCode of the set command
-
setYaw
The yaw to set the Pigeon2 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. Units are in deg.timeoutSeconds
- Maximum time to wait up to in seconds.- Returns:
- StatusCode of the set command
-
setYaw
The yaw to set the Pigeon2 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. Units are in deg.- Returns:
- StatusCode of the set command
-
setYaw
The yaw to set the Pigeon2 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. Units are in deg.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
-
clearStickyFault_Hardware
Clear sticky fault: Hardware fault occurredThis 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
-
clearStickyFault_Hardware
Clear sticky fault: Hardware fault occurredThis 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
-
clearStickyFault_Undervoltage
Clear sticky fault: Device supply voltage dropped to near brownout levelsThis 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
-
clearStickyFault_Undervoltage
Clear sticky fault: Device supply voltage dropped to near brownout levelsThis 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
-
clearStickyFault_BootDuringEnable
Clear sticky fault: Device boot while detecting the enable signalThis 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
-
clearStickyFault_BootDuringEnable
Clear sticky fault: Device boot while detecting the enable signalThis 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
-
clearStickyFault_UnlicensedFeatureInUse
Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.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
-
clearStickyFault_UnlicensedFeatureInUse
Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.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
-
clearStickyFault_BootupAccelerometer
Clear sticky fault: Bootup checks failed: AccelerometerThis 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
-
clearStickyFault_BootupAccelerometer
Clear sticky fault: Bootup checks failed: AccelerometerThis 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
-
clearStickyFault_BootupGyroscope
Clear sticky fault: Bootup checks failed: GyroscopeThis 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
-
clearStickyFault_BootupGyroscope
Clear sticky fault: Bootup checks failed: GyroscopeThis 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
-
clearStickyFault_BootupMagnetometer
Clear sticky fault: Bootup checks failed: MagnetometerThis 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
-
clearStickyFault_BootupMagnetometer
Clear sticky fault: Bootup checks failed: MagnetometerThis 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
-
clearStickyFault_BootIntoMotion
Clear sticky fault: Motion Detected during bootup.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
-
clearStickyFault_BootIntoMotion
Clear sticky fault: Motion Detected during bootup.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
-
clearStickyFault_DataAcquiredLate
Clear sticky fault: Motion stack data acquisition was slower than expectedThis 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
-
clearStickyFault_DataAcquiredLate
Clear sticky fault: Motion stack data acquisition was slower than expectedThis 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
-
clearStickyFault_LoopTimeSlow
Clear sticky fault: Motion stack loop time was slower than expected.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
-
clearStickyFault_LoopTimeSlow
Clear sticky fault: Motion stack loop time was slower than expected.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
-
clearStickyFault_SaturatedMagnetometer
Clear sticky fault: Magnetometer values are saturatedThis 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
-
clearStickyFault_SaturatedMagnetometer
Clear sticky fault: Magnetometer values are saturatedThis 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
-
clearStickyFault_SaturatedAccelerometer
Clear sticky fault: Accelerometer values are saturatedThis 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
-
clearStickyFault_SaturatedAccelerometer
Clear sticky fault: Accelerometer values are saturatedThis 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
-
clearStickyFault_SaturatedGyroscope
Clear sticky fault: Gyroscope values are saturatedThis 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
-
clearStickyFault_SaturatedGyroscope
Clear sticky fault: Gyroscope values are saturatedThis 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
-