CTRE Phoenix 6 C++ 25.0.0-beta-4
Loading...
Searching...
No Matches
ctre::phoenix6::configs::Pigeon2Configurator Class Reference

Class description for the Pigeon 2 IMU sensor that measures orientation. More...

#include <ctre/phoenix6/core/CorePigeon2.hpp>

Inheritance diagram for ctre::phoenix6::configs::Pigeon2Configurator:
ctre::phoenix6::configs::ParentConfigurator

Public Member Functions

ctre::phoenix::StatusCode Refresh (Pigeon2Configuration &configs) const
 Refreshes the values of the specified config group.
 
ctre::phoenix::StatusCode Refresh (Pigeon2Configuration &configs, units::time::second_t timeoutSeconds) const
 Refreshes the values of the specified config group.
 
ctre::phoenix::StatusCode Apply (const Pigeon2Configuration &configs)
 Applies the contents of the specified config to the device.
 
ctre::phoenix::StatusCode Apply (const Pigeon2Configuration &configs, units::time::second_t timeoutSeconds)
 Applies the contents of the specified config to the device.
 
ctre::phoenix::StatusCode Refresh (MountPoseConfigs &configs) const
 Refreshes the values of the specified config group.
 
ctre::phoenix::StatusCode Refresh (MountPoseConfigs &configs, units::time::second_t timeoutSeconds) const
 Refreshes the values of the specified config group.
 
ctre::phoenix::StatusCode Apply (const MountPoseConfigs &configs)
 Applies the contents of the specified config to the device.
 
ctre::phoenix::StatusCode Apply (const MountPoseConfigs &configs, units::time::second_t timeoutSeconds)
 Applies the contents of the specified config to the device.
 
ctre::phoenix::StatusCode Refresh (GyroTrimConfigs &configs) const
 Refreshes the values of the specified config group.
 
ctre::phoenix::StatusCode Refresh (GyroTrimConfigs &configs, units::time::second_t timeoutSeconds) const
 Refreshes the values of the specified config group.
 
ctre::phoenix::StatusCode Apply (const GyroTrimConfigs &configs)
 Applies the contents of the specified config to the device.
 
ctre::phoenix::StatusCode Apply (const GyroTrimConfigs &configs, units::time::second_t timeoutSeconds)
 Applies the contents of the specified config to the device.
 
ctre::phoenix::StatusCode Refresh (Pigeon2FeaturesConfigs &configs) const
 Refreshes the values of the specified config group.
 
ctre::phoenix::StatusCode Refresh (Pigeon2FeaturesConfigs &configs, units::time::second_t timeoutSeconds) const
 Refreshes the values of the specified config group.
 
ctre::phoenix::StatusCode Apply (const Pigeon2FeaturesConfigs &configs)
 Applies the contents of the specified config to the device.
 
ctre::phoenix::StatusCode Apply (const Pigeon2FeaturesConfigs &configs, units::time::second_t timeoutSeconds)
 Applies the contents of the specified config to the device.
 
ctre::phoenix::StatusCode Refresh (CustomParamsConfigs &configs) const
 Refreshes the values of the specified config group.
 
ctre::phoenix::StatusCode Refresh (CustomParamsConfigs &configs, units::time::second_t timeoutSeconds) const
 Refreshes the values of the specified config group.
 
ctre::phoenix::StatusCode Apply (const CustomParamsConfigs &configs)
 Applies the contents of the specified config to the device.
 
ctre::phoenix::StatusCode Apply (const CustomParamsConfigs &configs, units::time::second_t timeoutSeconds)
 Applies the contents of the specified config to the device.
 
ctre::phoenix::StatusCode SetYaw (units::angle::degree_t newValue)
 The yaw to set the Pigeon2 to right now.
 
ctre::phoenix::StatusCode SetYaw (units::angle::degree_t newValue, units::time::second_t timeoutSeconds)
 The yaw to set the Pigeon2 to right now.
 
ctre::phoenix::StatusCode ClearStickyFaults ()
 Clear the sticky faults in the device.
 
ctre::phoenix::StatusCode ClearStickyFaults (units::time::second_t timeoutSeconds)
 Clear the sticky faults in the device.
 
ctre::phoenix::StatusCode ClearStickyFault_Hardware ()
 Clear sticky fault: Hardware fault occurred.
 
ctre::phoenix::StatusCode ClearStickyFault_Hardware (units::time::second_t timeoutSeconds)
 Clear sticky fault: Hardware fault occurred.
 
ctre::phoenix::StatusCode ClearStickyFault_Undervoltage ()
 Clear sticky fault: Device supply voltage dropped to near brownout levels.
 
ctre::phoenix::StatusCode ClearStickyFault_Undervoltage (units::time::second_t timeoutSeconds)
 Clear sticky fault: Device supply voltage dropped to near brownout levels.
 
ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable ()
 Clear sticky fault: Device boot while detecting the enable signal.
 
ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable (units::time::second_t timeoutSeconds)
 Clear sticky fault: Device boot while detecting the enable signal.
 
ctre::phoenix::StatusCode ClearStickyFault_UnlicensedFeatureInUse ()
 Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.
 
ctre::phoenix::StatusCode ClearStickyFault_UnlicensedFeatureInUse (units::time::second_t timeoutSeconds)
 Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.
 
ctre::phoenix::StatusCode ClearStickyFault_BootupAccelerometer ()
 Clear sticky fault: Bootup checks failed: Accelerometer.
 
ctre::phoenix::StatusCode ClearStickyFault_BootupAccelerometer (units::time::second_t timeoutSeconds)
 Clear sticky fault: Bootup checks failed: Accelerometer.
 
ctre::phoenix::StatusCode ClearStickyFault_BootupGyroscope ()
 Clear sticky fault: Bootup checks failed: Gyroscope.
 
ctre::phoenix::StatusCode ClearStickyFault_BootupGyroscope (units::time::second_t timeoutSeconds)
 Clear sticky fault: Bootup checks failed: Gyroscope.
 
ctre::phoenix::StatusCode ClearStickyFault_BootupMagnetometer ()
 Clear sticky fault: Bootup checks failed: Magnetometer.
 
ctre::phoenix::StatusCode ClearStickyFault_BootupMagnetometer (units::time::second_t timeoutSeconds)
 Clear sticky fault: Bootup checks failed: Magnetometer.
 
ctre::phoenix::StatusCode ClearStickyFault_BootIntoMotion ()
 Clear sticky fault: Motion Detected during bootup.
 
ctre::phoenix::StatusCode ClearStickyFault_BootIntoMotion (units::time::second_t timeoutSeconds)
 Clear sticky fault: Motion Detected during bootup.
 
ctre::phoenix::StatusCode ClearStickyFault_DataAcquiredLate ()
 Clear sticky fault: Motion stack data acquisition was slower than expected.
 
ctre::phoenix::StatusCode ClearStickyFault_DataAcquiredLate (units::time::second_t timeoutSeconds)
 Clear sticky fault: Motion stack data acquisition was slower than expected.
 
ctre::phoenix::StatusCode ClearStickyFault_LoopTimeSlow ()
 Clear sticky fault: Motion stack loop time was slower than expected.
 
ctre::phoenix::StatusCode ClearStickyFault_LoopTimeSlow (units::time::second_t timeoutSeconds)
 Clear sticky fault: Motion stack loop time was slower than expected.
 
ctre::phoenix::StatusCode ClearStickyFault_SaturatedMagnetometer ()
 Clear sticky fault: Magnetometer values are saturated.
 
ctre::phoenix::StatusCode ClearStickyFault_SaturatedMagnetometer (units::time::second_t timeoutSeconds)
 Clear sticky fault: Magnetometer values are saturated.
 
ctre::phoenix::StatusCode ClearStickyFault_SaturatedAccelerometer ()
 Clear sticky fault: Accelerometer values are saturated.
 
ctre::phoenix::StatusCode ClearStickyFault_SaturatedAccelerometer (units::time::second_t timeoutSeconds)
 Clear sticky fault: Accelerometer values are saturated.
 
ctre::phoenix::StatusCode ClearStickyFault_SaturatedGyroscope ()
 Clear sticky fault: Gyroscope values are saturated.
 
ctre::phoenix::StatusCode ClearStickyFault_SaturatedGyroscope (units::time::second_t timeoutSeconds)
 Clear sticky fault: Gyroscope values are saturated.
 

Additional Inherited Members

- Public Attributes inherited from ctre::phoenix6::configs::ParentConfigurator
units::time::second_t DefaultTimeoutSeconds {0.100_s}
 The default maximum amount of time to wait for a config.
 
- Protected Member Functions inherited from ctre::phoenix6::configs::ParentConfigurator
 ParentConfigurator (hardware::DeviceIdentifier deviceIdentifier)
 
 ParentConfigurator (ParentConfigurator const &)=delete
 
ParentConfiguratoroperator= (ParentConfigurator const &)=delete
 
void ReportIfFrequent () const
 
ctre::phoenix::StatusCode SetConfigsPrivate (const std::string &serializedString, units::time::second_t timeoutSeconds, bool futureProofConfigs, bool overrideIfDuplicate)
 
ctre::phoenix::StatusCode GetConfigsPrivate (std::string &serializedString, units::time::second_t timeoutSeconds) const
 

Detailed Description

Class description for the Pigeon 2 IMU sensor that measures orientation.

This handles the configurations for the hardware::Pigeon2

Member Function Documentation

◆ Apply() [1/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Apply ( const CustomParamsConfigs & configs)
inline

Applies the contents of the specified config to the device.

This will wait up to DefaultTimeoutSeconds.

Call to apply the selected configs.

Parameters
configsConfigs to apply against.
Returns
StatusCode of the set command

◆ Apply() [2/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Apply ( const CustomParamsConfigs & configs,
units::time::second_t timeoutSeconds )
inline

Applies the contents of the specified config to the device.

Call to apply the selected configs.

Parameters
configsConfigs to apply against.
timeoutSecondsMaximum amount of time to wait when performing configuration
Returns
StatusCode of the set command

◆ Apply() [3/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Apply ( const GyroTrimConfigs & configs)
inline

Applies the contents of the specified config to the device.

This will wait up to DefaultTimeoutSeconds.

Call to apply the selected configs.

Parameters
configsConfigs to apply against.
Returns
StatusCode of the set command

◆ Apply() [4/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Apply ( const GyroTrimConfigs & configs,
units::time::second_t timeoutSeconds )
inline

Applies the contents of the specified config to the device.

Call to apply the selected configs.

Parameters
configsConfigs to apply against.
timeoutSecondsMaximum amount of time to wait when performing configuration
Returns
StatusCode of the set command

◆ Apply() [5/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Apply ( const MountPoseConfigs & configs)
inline

Applies the contents of the specified config to the device.

This will wait up to DefaultTimeoutSeconds.

Call to apply the selected configs.

Parameters
configsConfigs to apply against.
Returns
StatusCode of the set command

◆ Apply() [6/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Apply ( const MountPoseConfigs & configs,
units::time::second_t timeoutSeconds )
inline

Applies the contents of the specified config to the device.

Call to apply the selected configs.

Parameters
configsConfigs to apply against.
timeoutSecondsMaximum amount of time to wait when performing configuration
Returns
StatusCode of the set command

◆ Apply() [7/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Apply ( const Pigeon2Configuration & configs)
inline

Applies the contents of the specified config to the device.

This will wait up to DefaultTimeoutSeconds.

Call to apply the selected configs.

Parameters
configsConfigs to apply against.
Returns
StatusCode of the set command

◆ Apply() [8/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Apply ( const Pigeon2Configuration & configs,
units::time::second_t timeoutSeconds )
inline

Applies the contents of the specified config to the device.

Call to apply the selected configs.

Parameters
configsConfigs to apply against.
timeoutSecondsMaximum amount of time to wait when performing configuration
Returns
StatusCode of the set command

◆ Apply() [9/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Apply ( const Pigeon2FeaturesConfigs & configs)
inline

Applies the contents of the specified config to the device.

This will wait up to DefaultTimeoutSeconds.

Call to apply the selected configs.

Parameters
configsConfigs to apply against.
Returns
StatusCode of the set command

◆ Apply() [10/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Apply ( const Pigeon2FeaturesConfigs & configs,
units::time::second_t timeoutSeconds )
inline

Applies the contents of the specified config to the device.

Call to apply the selected configs.

Parameters
configsConfigs to apply against.
timeoutSecondsMaximum amount of time to wait when performing configuration
Returns
StatusCode of the set command

◆ ClearStickyFault_BootDuringEnable() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_BootDuringEnable ( )
inline

Clear sticky fault: Device boot while detecting the enable signal.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_BootDuringEnable ( units::time::second_t timeoutSeconds)
inline

Clear sticky fault: Device boot while detecting the enable signal.

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_BootIntoMotion() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_BootIntoMotion ( )
inline

Clear sticky fault: Motion Detected during bootup.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_BootIntoMotion ( units::time::second_t timeoutSeconds)
inline

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_BootupAccelerometer() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_BootupAccelerometer ( )
inline

Clear sticky fault: Bootup checks failed: Accelerometer.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_BootupAccelerometer ( units::time::second_t timeoutSeconds)
inline

Clear sticky fault: Bootup checks failed: Accelerometer.

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_BootupGyroscope() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_BootupGyroscope ( )
inline

Clear sticky fault: Bootup checks failed: Gyroscope.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_BootupGyroscope ( units::time::second_t timeoutSeconds)
inline

Clear sticky fault: Bootup checks failed: Gyroscope.

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_BootupMagnetometer() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_BootupMagnetometer ( )
inline

Clear sticky fault: Bootup checks failed: Magnetometer.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_BootupMagnetometer ( units::time::second_t timeoutSeconds)
inline

Clear sticky fault: Bootup checks failed: Magnetometer.

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_DataAcquiredLate() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_DataAcquiredLate ( )
inline

Clear sticky fault: Motion stack data acquisition was slower than expected.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_DataAcquiredLate ( units::time::second_t timeoutSeconds)
inline

Clear sticky fault: Motion stack data acquisition 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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_Hardware() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_Hardware ( )
inline

Clear sticky fault: Hardware fault occurred.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_Hardware ( units::time::second_t timeoutSeconds)
inline

Clear sticky fault: Hardware fault occurred.

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_LoopTimeSlow() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_LoopTimeSlow ( )
inline

Clear sticky fault: Motion stack loop time was slower than expected.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_LoopTimeSlow ( units::time::second_t timeoutSeconds)
inline

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_SaturatedAccelerometer() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_SaturatedAccelerometer ( )
inline

Clear sticky fault: Accelerometer values are saturated.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_SaturatedAccelerometer ( units::time::second_t timeoutSeconds)
inline

Clear sticky fault: Accelerometer values are saturated.

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_SaturatedGyroscope() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_SaturatedGyroscope ( )
inline

Clear sticky fault: Gyroscope values are saturated.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_SaturatedGyroscope ( units::time::second_t timeoutSeconds)
inline

Clear sticky fault: Gyroscope values are saturated.

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_SaturatedMagnetometer() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_SaturatedMagnetometer ( )
inline

Clear sticky fault: Magnetometer values are saturated.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_SaturatedMagnetometer ( units::time::second_t timeoutSeconds)
inline

Clear sticky fault: Magnetometer values are saturated.

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_Undervoltage() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_Undervoltage ( )
inline

Clear sticky fault: Device supply voltage dropped to near brownout levels.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_Undervoltage ( units::time::second_t timeoutSeconds)
inline

Clear sticky fault: Device supply voltage dropped to near brownout levels.

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFault_UnlicensedFeatureInUse() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_UnlicensedFeatureInUse ( )
inline

Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.

This will wait up to 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFault_UnlicensedFeatureInUse ( units::time::second_t timeoutSeconds)
inline

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ ClearStickyFaults() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFaults ( )
inline

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 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() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::ClearStickyFaults ( units::time::second_t timeoutSeconds)
inline

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
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

◆ Refresh() [1/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Refresh ( CustomParamsConfigs & configs) const
inline

Refreshes the values of the specified config group.

This will wait up to DefaultTimeoutSeconds.

Call to refresh the selected configs from the device.

Parameters
configsThe configs to refresh
Returns
StatusCode of refreshing the configs

◆ Refresh() [2/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Refresh ( CustomParamsConfigs & configs,
units::time::second_t timeoutSeconds ) const
inline

Refreshes the values of the specified config group.

Call to refresh the selected configs from the device.

Parameters
configsThe configs to refresh
timeoutSecondsMaximum amount of time to wait when performing configuration
Returns
StatusCode of refreshing the configs

◆ Refresh() [3/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Refresh ( GyroTrimConfigs & configs) const
inline

Refreshes the values of the specified config group.

This will wait up to DefaultTimeoutSeconds.

Call to refresh the selected configs from the device.

Parameters
configsThe configs to refresh
Returns
StatusCode of refreshing the configs

◆ Refresh() [4/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Refresh ( GyroTrimConfigs & configs,
units::time::second_t timeoutSeconds ) const
inline

Refreshes the values of the specified config group.

Call to refresh the selected configs from the device.

Parameters
configsThe configs to refresh
timeoutSecondsMaximum amount of time to wait when performing configuration
Returns
StatusCode of refreshing the configs

◆ Refresh() [5/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Refresh ( MountPoseConfigs & configs) const
inline

Refreshes the values of the specified config group.

This will wait up to DefaultTimeoutSeconds.

Call to refresh the selected configs from the device.

Parameters
configsThe configs to refresh
Returns
StatusCode of refreshing the configs

◆ Refresh() [6/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Refresh ( MountPoseConfigs & configs,
units::time::second_t timeoutSeconds ) const
inline

Refreshes the values of the specified config group.

Call to refresh the selected configs from the device.

Parameters
configsThe configs to refresh
timeoutSecondsMaximum amount of time to wait when performing configuration
Returns
StatusCode of refreshing the configs

◆ Refresh() [7/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Refresh ( Pigeon2Configuration & configs) const
inline

Refreshes the values of the specified config group.

This will wait up to DefaultTimeoutSeconds.

Call to refresh the selected configs from the device.

Parameters
configsThe configs to refresh
Returns
StatusCode of refreshing the configs

◆ Refresh() [8/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Refresh ( Pigeon2Configuration & configs,
units::time::second_t timeoutSeconds ) const
inline

Refreshes the values of the specified config group.

Call to refresh the selected configs from the device.

Parameters
configsThe configs to refresh
timeoutSecondsMaximum amount of time to wait when performing configuration
Returns
StatusCode of refreshing the configs

◆ Refresh() [9/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Refresh ( Pigeon2FeaturesConfigs & configs) const
inline

Refreshes the values of the specified config group.

This will wait up to DefaultTimeoutSeconds.

Call to refresh the selected configs from the device.

Parameters
configsThe configs to refresh
Returns
StatusCode of refreshing the configs

◆ Refresh() [10/10]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::Refresh ( Pigeon2FeaturesConfigs & configs,
units::time::second_t timeoutSeconds ) const
inline

Refreshes the values of the specified config group.

Call to refresh the selected configs from the device.

Parameters
configsThe configs to refresh
timeoutSecondsMaximum amount of time to wait when performing configuration
Returns
StatusCode of refreshing the configs

◆ SetYaw() [1/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::SetYaw ( units::angle::degree_t newValue)
inline

The yaw to set the Pigeon2 to right now.

This will wait up to 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
newValueValue to set to. Units are in deg.
Returns
StatusCode of the set command

◆ SetYaw() [2/2]

ctre::phoenix::StatusCode ctre::phoenix6::configs::Pigeon2Configurator::SetYaw ( units::angle::degree_t newValue,
units::time::second_t timeoutSeconds )
inline

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
newValueValue to set to. Units are in deg.
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

The documentation for this class was generated from the following file: