CTRE Phoenix 6 C++ 25.0.0-beta-4
Loading...
Searching...
No Matches
ctre::phoenix::StatusCode Class Reference

Status codes reported by APIs, including OK, warnings, and errors. More...

#include <ctre/phoenix/StatusCodes.h>

Public Member Functions

constexpr StatusCode (int val)
 
constexpr StatusCode ()
 
constexpr operator int () const
 
constexpr bool operator== (StatusCode data) const
 
constexpr bool operator== (int data) const
 
constexpr bool operator!= (StatusCode data) const
 
constexpr bool operator!= (int data) const
 
constexpr bool operator< (StatusCode data) const
 
constexpr bool operator< (int data) const
 
constexpr bool IsError () const
 
constexpr bool IsWarning () const
 
constexpr bool IsOK () const
 
constexpr const char * GetName () const
 Gets the name of this StatusCode.
 
constexpr const char * GetDescription () const
 Gets the description of this StatusCode.
 

Static Public Attributes

static constexpr int OK = 0
 No Error.
 
static constexpr int TaskIsBusy = -100
 Diagnostic Server is busy with another command.
 
static constexpr int InvalidDeviceSpec = -101
 InvalidDeviceSpec.
 
static constexpr int EcuIsNotPresent = -102
 Device is not present.
 
static constexpr int CouldNotEnterBl = -103
 Could not put the device into bootloader mode.
 
static constexpr int CouldNotConfirmBl = -104
 Could not confirm the device has entered the bootloader.
 
static constexpr int CouldNotErase = -105
 Could not erase flash.
 
static constexpr int CouldNotSendFlash = -106
 Could not field upgrade the device.
 
static constexpr int CouldNotValidate = -107
 Bootloader could not verify integrity of the flashed application.
 
static constexpr int CouldNotRunApp = -108
 Could not run the device firmware application.
 
static constexpr int CouldNotReqSetId = -109
 Unable to set ID to this device.
 
static constexpr int CouldNotConfirmId = -110
 Could not verify that the changed ID took effect.
 
static constexpr int FlashWasGood = -111
 Device field upgrade was successful.
 
static constexpr int AppTooOld = -112
 Device firmware application is too old.
 
static constexpr int CouldNotReqSetDesc = -113
 Unable to set name to this device.
 
static constexpr int CompileSzIsWrong = -114
 CompileSzIsWrong.
 
static constexpr int GadgeteerDeviceNoSetId = -115
 Cannot set the ID of a gadgeteer device.
 
static constexpr int InvalidTask = -116
 This diagnostic action is not supported.
 
static constexpr int NotImplemented = -117
 Not Implemented, check latest installer.
 
static constexpr int NoDevicesOnBus = -118
 NoDevicesOnBus.
 
static constexpr int MoreThanOneFile = -119
 MoreThanOneFile.
 
static constexpr int NodeIsInvalid = -120
 Specified device was not found.
 
static constexpr int InvalidDeviceDescriptor = -121
 InvalidDeviceDescriptor.
 
static constexpr int CouldNotSendCanFrame = -123
 CouldNotSendCanFrame.
 
static constexpr int NormalModeMsgNotPresent = -124
 NormalModeMsgNotPresent.
 
static constexpr int FeatureNotSupported = -125
 This feature is not supported.
 
static constexpr int NotUpdating = -126
 The diagnostic server is not field upgrading any devices.
 
static constexpr int CorruptedPOST = -127
 CorruptedPOST.
 
static constexpr int NoConfigs = -128
 This device did not report any available configs.
 
static constexpr int ConfigFailed = -129
 ConfigFailed.
 
static constexpr int CouldNotReqFactoryDefault = -130
 Unable to factory default this device.
 
static constexpr int CustomNameNotSupported = -131
 CustomNameNotSupported.
 
static constexpr int ConfigReadWriteMismatch = -132
 The configs read from the device do not match the configs that were written.
 
static constexpr int CouldNotReqSetConfigs = -133
 Could not apply the device configs.
 
static constexpr int InsufficientSz = -134
 InsufficientSz.
 
static constexpr int InvalidModel = -135
 This feature is not supported for this device model.
 
static constexpr int CouldNotReqDevInfo = -140
 CouldNotReqDevInfo.
 
static constexpr int NoControls = -141
 This device does not support new controls.
 
static constexpr int DeviceIsNull = -142
 DeviceIsNull.
 
static constexpr int DeviceDidNotRespondToDiagReq = -143
 DeviceDidNotRespondToDiagReq.
 
static constexpr int OnlySupportedInTunerX = -144
 This feature requires Tuner X.
 
static constexpr int CanivCliError = -145
 Command-line issue with caniv.
 
static constexpr int InvalidCrfBadHeader = -200
 InvalidCrfBadHeader.
 
static constexpr int InvalidCrfFileSzInvald = -201
 InvalidCrfFileSzInvald.
 
static constexpr int InvalidCrfWrongProduct = -202
 Specified CRF is for the wrong product.
 
static constexpr int InvalidCrfNoSects = -203
 InvalidCrfNoSects.
 
static constexpr int InvalidCrfBadSectHeader = -204
 InvalidCrfBadSectHeader.
 
static constexpr int InvalidCrfBadSectSize = -205
 InvalidCrfBadSectSize.
 
static constexpr int NoCrfFile = -206
 Specified CRF file could not be found.
 
static constexpr int CouldNotFindDynamicId = -300
 CouldNotFindDynamicId.
 
static constexpr int DidNotGetDhcp = -301
 DidNotGetDhcp.
 
static constexpr int DidNotGetFullDhcp = -302
 DidNotGetFullDhcp.
 
static constexpr int InvalidLicenseResp = -350
 InvalidLicenseResp.
 
static constexpr int InvalidCanivCache = -351
 InvalidCanivCache.
 
static constexpr int CannotOpenSerialPort = -500
 CannotOpenSerialPort.
 
static constexpr int CannotWriteSerialPort = -501
 CannotWriteSerialPort.
 
static constexpr int CannotReadSerialPort = -502
 CannotReadSerialPort.
 
static constexpr int CannotSerialToDevice = -503
 CannotSerialToDevice.
 
static constexpr int NoSerialControlFrameResp = -504
 NoSerialControlFrameResp.
 
static constexpr int CannotOpenUdpPort = -600
 CannotOpenUdpPort.
 
static constexpr int CannotWriteUdpPort = -601
 CannotWriteUdpPort.
 
static constexpr int CannotReadUdpPort = -602
 CannotReadUdpPort.
 
static constexpr int CannotUdpToDevice = -603
 CannotUdpToDevice.
 
static constexpr int NoUdpControlFrameResp = -604
 NoUdpControlFrameResp.
 
static constexpr int TimeoutIso15Response = -605
 TimeoutIso15Response.
 
static constexpr int InvalidJson = -700
 InvalidJson.
 
static constexpr int AppIsTerminating = -800
 The user application is shutting down.
 
static constexpr int CanMessageStale = 1000
 CAN message is stale, data is valid but old.
 
static constexpr int BufferFull = 1006
 Buffer is full, cannot insert more data.
 
static constexpr int PulseWidthSensorNotPresent = 1010
 PulseWidthSensorNotPresent.
 
static constexpr int GeneralWarning = 1100
 General Warning Occurred.
 
static constexpr int FirmVersionCouldNotBeRetrieved = 1103
 Firm Vers could not be retrieved.
 
static constexpr int FeaturesNotAvailableYet = 1104
 This feature will be supported in a future update.
 
static constexpr int ControlModeNotValid = 1105
 The control mode is not valid for this function.
 
static constexpr int ControlModeNotSupportedYet = 1106
 This control mode is not supported yet.
 
static constexpr int MotProfFirmThreshold = 1109
 Motor Controller must have >= 3.2 firmware for motion profile control mode.
 
static constexpr int MotProfFirmThreshold2 = 1110
 Motor Controller must have >= 3.4 firmware for advanced PID0/PID1 features.
 
static constexpr int SimDeviceNotFound = 1200
 SimDeviceNotFound.
 
static constexpr int SimPhysicsTypeNotSupported = 1201
 SimPhysicsTypeNotSupported.
 
static constexpr int SimDeviceAlreadyExists = 1202
 SimDeviceAlreadyExists.
 
static constexpr int TxFailed = -1001
 Could not transmit CAN Frame.
 
static constexpr int InvalidParamValue = -1002
 An invalid argument was passed into the function/VI, such as a null pointer.
 
static constexpr int RxTimeout = -1003
 CAN frame not received/too-stale.
 
static constexpr int TxTimeout = -1004
 CAN Transmit timed out.
 
static constexpr int UnexpectedArbId = -1005
 ArbID is incorrect.
 
static constexpr int CanOverflowed = -1006
 CanOverflowed.
 
static constexpr int SensorNotPresent = -1007
 Sensor Not Present.
 
static constexpr int FirmwareTooOld = -1008
 Firmware Too Old.
 
static constexpr int CouldNotChangePeriod = -1009
 Control Frame Period could not be changed.
 
static constexpr int BufferFailure = -1010
 BufferFailure.
 
static constexpr int FirmwareNonFRC = -1011
 Firmware is legacy non-FRC version.
 
static constexpr int GeneralError = -1100
 General Error Occurred.
 
static constexpr int SigNotUpdated = -1200
 No new response to update signal.
 
static constexpr int NotAllPIDValuesUpdated = -1201
 NotAllPIDValuesUpdated.
 
static constexpr int GEN_PORT_ERROR = -1300
 GEN_PORT_ERROR.
 
static constexpr int PORT_MODULE_TYPE_MISMATCH = -1301
 PORT_MODULE_TYPE_MISMATCH.
 
static constexpr int GEN_MODULE_ERROR = -1400
 GEN_MODULE_ERROR.
 
static constexpr int MODULE_NOT_INIT_SET_ERROR = -1401
 MODULE_NOT_INIT_SET_ERROR.
 
static constexpr int MODULE_NOT_INIT_GET_ERROR = -1402
 MODULE_NOT_INIT_GET_ERROR.
 
static constexpr int WheelRadiusTooSmall = -1500
 Wheel Radius is too small, cannot get distance traveled.
 
static constexpr int TicksPerRevZero = -1501
 Ticks per revolution is 0, cannot get heading.
 
static constexpr int DistanceBetweenWheelsTooSmall = -1502
 Distance between wheels is too small, cannot get heading.
 
static constexpr int GainsAreNotSet = -1503
 GainsAreNotSet.
 
static constexpr int WrongRemoteLimitSwitchSource = -1504
 Use RemoteLimitSwitchSource instead of LimitSwitchSource.
 
static constexpr int DoubleVoltageCompensatingWPI = -1505
 Motor Controller Voltage Compensation should not be used with setVoltage().
 
static constexpr int CANdleAnimSlotOutOfBounds = -1506
 CANdleAnimSlotOutOfBounds.
 
static constexpr int IncompatibleMode = -1600
 IncompatibleMode.
 
static constexpr int InvalidHandle = -1601
 Handle passed into function is incorrect.
 
static constexpr int FeatureRequiresHigherFirm = -1700
 Features requires newer firmware version.
 
static constexpr int ConfigFactoryDefaultRequiresHigherFirm = -1702
 Config factory default features require firmware >=3.10.
 
static constexpr int ConfigMotionSCurveRequiresHigherFirm = -1703
 Config Motion S Curve Strength features require firmware >=4.16.
 
static constexpr int TalonFXFirmwarePreVBatDetect = -1704
 Talon FX(Falcon 500) Firmware Too Old.
 
static constexpr int CANdleAnimationsRequireHigherFirm = -1705
 CANdleAnimationsRequireHigherFirm.
 
static constexpr int LibraryCouldNotBeLoaded = -1800
 LibraryCouldNotBeLoaded.
 
static constexpr int MissingRoutineInLibrary = -1801
 MissingRoutineInLibrary.
 
static constexpr int ResourceNotAvailable = -1802
 ResourceNotAvailable.
 
static constexpr int MusicFileNotFound = -1900
 Could not find music file specified, try specifying an absolute path.
 
static constexpr int MusicFileWrongSize = -1901
 Music file size is incorrect, could not parse correctly.
 
static constexpr int MusicFileTooNew = -1902
 Music file version is too new, update Phoenix to utilize this file.
 
static constexpr int MusicFileInvalid = -1903
 Music file is invalid.
 
static constexpr int InvalidOrchestraAction = -1904
 An invalid orchestra action occurred.
 
static constexpr int MusicFileTooOld = -1905
 This music file version is too old.
 
static constexpr int MusicInterrupted = -1906
 Music interrupted due to one of the instruments being commanded a different control mode.
 
static constexpr int MusicNotSupported = -1907
 This device doesn't support MusicTone control mode.
 
static constexpr int kInvalidInterface = -2000
 kInvalidInterface
 
static constexpr int kInvalidGuid = -2001
 kInvalidGuid
 
static constexpr int kInvalidClass = -2002
 kInvalidClass
 
static constexpr int kInvalidProtocol = -2003
 kInvalidProtocol
 
static constexpr int kInvalidPath = -2004
 kInvalidPath
 
static constexpr int kGeneralWinUsbError = -2005
 kGeneralWinUsbError
 
static constexpr int kFailedSetup = -2006
 kFailedSetup
 
static constexpr int kListenFailed = -2007
 kListenFailed
 
static constexpr int kSendFailed = -2008
 kSendFailed
 
static constexpr int kReceiveFailed = -2009
 kReceiveFailed
 
static constexpr int kInvalidRespFormat = -2010
 kInvalidRespFormat
 
static constexpr int kWinUsbInitFailed = -2011
 kWinUsbInitFailed
 
static constexpr int kWinUsbQueryFailed = -2012
 kWinUsbQueryFailed
 
static constexpr int kWinUsbGeneralError = -2013
 kWinUsbGeneralError
 
static constexpr int kAccessDenied = -2014
 kAccessDenied
 
static constexpr int kFirmwareInvalidResponse = -2015
 kFirmwareInvalidResponse
 
static constexpr int StatusCodeNotInitialized = -10000
 This StatusCode has not been initialized.
 
static constexpr int WarningNotInitialized = 10000
 WarningNotInitialized.
 
static constexpr int HwTimestampOutOfSync = 10001
 The timestamp reported by CANivore is at least 10ms older than the timestamp reported by the system, indicating it's fallen out of sync.
 
static constexpr int FrequentConfigCalls = 10002
 Do not apply or refresh configs periodically, as configs are blocking.
 
static constexpr int InvalidNetwork = -10001
 InvalidNetwork.
 
static constexpr int MultiSignalNotSupported = -10002
 The CAN bus does not support multi-signal synchronization.
 
static constexpr int CouldNotCast = -10003
 Could not cast from base value to this particular signal's type.
 
static constexpr int NotFound = -10004
 Could not find this value when searching for it.
 
static constexpr int NotSupported = -10005
 This is not supported.
 
static constexpr int MissingContext = -10006
 Could not determine context from this device hash.
 
static constexpr int ModelMismatch = -10007
 Model name in license file does not match model name of selected device.
 
static constexpr int SerialMismatch = -10008
 Serial Number in license file does not match model name of selected device.
 
static constexpr int NoFile = -10009
 Could not find specified file.
 
static constexpr int LicenseDownloadFailed = -10010
 License did not successfully download to Device.
 
static constexpr int SelfTestIsEmpty = -10011
 Self Test report does not have any values, is the firmware up to date?
 
static constexpr int SignalLookupFailed = -10012
 Failed to lookup signal properties.
 
static constexpr int InvalidModeToGetSignal = -10013
 The current mode of the device is invalid for getting this signal.
 
static constexpr int UnlicensedDevice = -10014
 Device is not licensed.
 
static constexpr int InvalidSize = -10015
 Size is invalid.
 
static constexpr int InvalidLicenseResponse = -10016
 InvalidLicenseResponse.
 
static constexpr int InvalidContext = -10017
 InvalidContext.
 
static constexpr int InternalError = -10018
 InternalError.
 
static constexpr int kDeviceResponseIncorrect = -10019
 kDeviceResponseIncorrect
 
static constexpr int kErrorPollingForDevices = -10020
 kErrorPollingForDevices
 
static constexpr int CouldNotRetrieveV6Firmware = -10021
 Device firmware could not be retrieved.
 
static constexpr int CouldNotDecodeDeviceFirmware = -10022
 Device firmware could not be decoded.
 
static constexpr int InvalidIDToFollow = -10023
 The values specified for master are in valid.
 
static constexpr int UsingProFeatureOnUnlicensedDevice = -10024
 Using a Pro only feature on an unlicensed device.
 
static constexpr int FirmwareTooNew = -10025
 Firmware Too New.
 
static constexpr int CouldNotSerialize = -10026
 The data frame could not be serialized for transmit.
 
static constexpr int MechanismFaulted = -10027
 The mechanism is disabled due to a fault in one of the devices.
 
static constexpr int FirmwareVersNotCompatible = -10028
 Firmware version is not compatible with this version of Phoenix.
 
static constexpr int DirectoryMissing = -10029
 Could not find specified directory.
 
static constexpr int ApiTooOld = -10030
 This API version is too old for the firmware on the device.
 
static constexpr int LoggerNotRunning = -10031
 The signal logger is not running.
 
static constexpr int TimeoutCannotBeZero = -10032
 Blocking operations, such as configs, cannot have a timeout of 0.
 
static constexpr int CannotLicenseWhileEnabled = -10033
 Device cannot be licensed while it is control enabled.
 
static constexpr int InvalidFile = -10034
 Could not open or read the given file.
 
static constexpr int HootLogTooOld = -10035
 The given hoot log requires an older version of Phoenix API.
 
static constexpr int HootLogTooNew = -10036
 The given hoot log requires a newer version of Phoenix API.
 
static constexpr int UnlicensedHootLog = -10037
 Hoot log is not licensed.
 
static constexpr int CannotStepWhileUnpaused = -10038
 The simulation timing cannot be advanced by a time step while unpaused.
 
static constexpr int MultipleReplayNotSupported = -10039
 Hoot replay does not support replaying multiple files.
 
static constexpr int UserSignalLimitExceeded = -10040
 The maximum number of loggable user signals has been exceeded.
 
static constexpr int InvalidDeviceModel = -10041
 The provided model was not a valid device type.
 

Friends

std::ostream & operator<< (std::ostream &os, StatusCode status)
 

Detailed Description

Status codes reported by APIs, including OK, warnings, and errors.

Constructor & Destructor Documentation

◆ StatusCode() [1/2]

constexpr ctre::phoenix::StatusCode::StatusCode ( int val)
inlineconstexpr

◆ StatusCode() [2/2]

constexpr ctre::phoenix::StatusCode::StatusCode ( )
inlineconstexpr

Member Function Documentation

◆ GetDescription()

constexpr const char * ctre::phoenix::StatusCode::GetDescription ( ) const
inlineconstexpr

Gets the description of this StatusCode.

Returns
Description of this StatusCode

◆ GetName()

constexpr const char * ctre::phoenix::StatusCode::GetName ( ) const
inlineconstexpr

Gets the name of this StatusCode.

Returns
Name of this StatusCode

◆ IsError()

constexpr bool ctre::phoenix::StatusCode::IsError ( ) const
inlineconstexpr
Returns
true if this code is an error

◆ IsOK()

constexpr bool ctre::phoenix::StatusCode::IsOK ( ) const
inlineconstexpr
Returns
true if this code is OK

◆ IsWarning()

constexpr bool ctre::phoenix::StatusCode::IsWarning ( ) const
inlineconstexpr
Returns
true if this code is a warning

◆ operator int()

constexpr ctre::phoenix::StatusCode::operator int ( ) const
inlineconstexpr

◆ operator!=() [1/2]

constexpr bool ctre::phoenix::StatusCode::operator!= ( int data) const
inlineconstexpr

◆ operator!=() [2/2]

constexpr bool ctre::phoenix::StatusCode::operator!= ( StatusCode data) const
inlineconstexpr

◆ operator<() [1/2]

constexpr bool ctre::phoenix::StatusCode::operator< ( int data) const
inlineconstexpr

◆ operator<() [2/2]

constexpr bool ctre::phoenix::StatusCode::operator< ( StatusCode data) const
inlineconstexpr

◆ operator==() [1/2]

constexpr bool ctre::phoenix::StatusCode::operator== ( int data) const
inlineconstexpr

◆ operator==() [2/2]

constexpr bool ctre::phoenix::StatusCode::operator== ( StatusCode data) const
inlineconstexpr

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
StatusCode status )
friend

Member Data Documentation

◆ ApiTooOld

constexpr int ctre::phoenix::StatusCode::ApiTooOld = -10030
staticconstexpr

This API version is too old for the firmware on the device.

Either upgrade the API to a newer version or downgrade the device firmware to an older version for correct behavior.

◆ AppIsTerminating

constexpr int ctre::phoenix::StatusCode::AppIsTerminating = -800
staticconstexpr

The user application is shutting down.

◆ AppTooOld

constexpr int ctre::phoenix::StatusCode::AppTooOld = -112
staticconstexpr

Device firmware application is too old.

◆ BufferFailure

constexpr int ctre::phoenix::StatusCode::BufferFailure = -1010
staticconstexpr

BufferFailure.

◆ BufferFull

constexpr int ctre::phoenix::StatusCode::BufferFull = 1006
staticconstexpr

Buffer is full, cannot insert more data.

◆ CANdleAnimationsRequireHigherFirm

constexpr int ctre::phoenix::StatusCode::CANdleAnimationsRequireHigherFirm = -1705
staticconstexpr

CANdleAnimationsRequireHigherFirm.

◆ CANdleAnimSlotOutOfBounds

constexpr int ctre::phoenix::StatusCode::CANdleAnimSlotOutOfBounds = -1506
staticconstexpr

CANdleAnimSlotOutOfBounds.

◆ CanivCliError

constexpr int ctre::phoenix::StatusCode::CanivCliError = -145
staticconstexpr

Command-line issue with caniv.

◆ CanMessageStale

constexpr int ctre::phoenix::StatusCode::CanMessageStale = 1000
staticconstexpr

CAN message is stale, data is valid but old.

Check the CAN bus wiring, CAN bus utilization, and power to the device.

◆ CannotLicenseWhileEnabled

constexpr int ctre::phoenix::StatusCode::CannotLicenseWhileEnabled = -10033
staticconstexpr

Device cannot be licensed while it is control enabled.

Disable and neutral the device to apply the licenses.

◆ CannotOpenSerialPort

constexpr int ctre::phoenix::StatusCode::CannotOpenSerialPort = -500
staticconstexpr

CannotOpenSerialPort.

◆ CannotOpenUdpPort

constexpr int ctre::phoenix::StatusCode::CannotOpenUdpPort = -600
staticconstexpr

CannotOpenUdpPort.

◆ CannotReadSerialPort

constexpr int ctre::phoenix::StatusCode::CannotReadSerialPort = -502
staticconstexpr

CannotReadSerialPort.

◆ CannotReadUdpPort

constexpr int ctre::phoenix::StatusCode::CannotReadUdpPort = -602
staticconstexpr

CannotReadUdpPort.

◆ CannotSerialToDevice

constexpr int ctre::phoenix::StatusCode::CannotSerialToDevice = -503
staticconstexpr

CannotSerialToDevice.

◆ CannotStepWhileUnpaused

constexpr int ctre::phoenix::StatusCode::CannotStepWhileUnpaused = -10038
staticconstexpr

The simulation timing cannot be advanced by a time step while unpaused.

Pause the simulator before advancing time.

◆ CannotUdpToDevice

constexpr int ctre::phoenix::StatusCode::CannotUdpToDevice = -603
staticconstexpr

CannotUdpToDevice.

◆ CannotWriteSerialPort

constexpr int ctre::phoenix::StatusCode::CannotWriteSerialPort = -501
staticconstexpr

CannotWriteSerialPort.

◆ CannotWriteUdpPort

constexpr int ctre::phoenix::StatusCode::CannotWriteUdpPort = -601
staticconstexpr

CannotWriteUdpPort.

◆ CanOverflowed

constexpr int ctre::phoenix::StatusCode::CanOverflowed = -1006
staticconstexpr

CanOverflowed.

◆ CompileSzIsWrong

constexpr int ctre::phoenix::StatusCode::CompileSzIsWrong = -114
staticconstexpr

CompileSzIsWrong.

◆ ConfigFactoryDefaultRequiresHigherFirm

constexpr int ctre::phoenix::StatusCode::ConfigFactoryDefaultRequiresHigherFirm = -1702
staticconstexpr

Config factory default features require firmware >=3.10.

◆ ConfigFailed

constexpr int ctre::phoenix::StatusCode::ConfigFailed = -129
staticconstexpr

ConfigFailed.

◆ ConfigMotionSCurveRequiresHigherFirm

constexpr int ctre::phoenix::StatusCode::ConfigMotionSCurveRequiresHigherFirm = -1703
staticconstexpr

Config Motion S Curve Strength features require firmware >=4.16.

◆ ConfigReadWriteMismatch

constexpr int ctre::phoenix::StatusCode::ConfigReadWriteMismatch = -132
staticconstexpr

The configs read from the device do not match the configs that were written.

◆ ControlModeNotSupportedYet

constexpr int ctre::phoenix::StatusCode::ControlModeNotSupportedYet = 1106
staticconstexpr

This control mode is not supported yet.

A future release will supported this soon.

◆ ControlModeNotValid

constexpr int ctre::phoenix::StatusCode::ControlModeNotValid = 1105
staticconstexpr

The control mode is not valid for this function.

◆ CorruptedPOST

constexpr int ctre::phoenix::StatusCode::CorruptedPOST = -127
staticconstexpr

CorruptedPOST.

◆ CouldNotCast

constexpr int ctre::phoenix::StatusCode::CouldNotCast = -10003
staticconstexpr

Could not cast from base value to this particular signal's type.

◆ CouldNotChangePeriod

constexpr int ctre::phoenix::StatusCode::CouldNotChangePeriod = -1009
staticconstexpr

Control Frame Period could not be changed.

Most likely it is not being transmitted.

◆ CouldNotConfirmBl

constexpr int ctre::phoenix::StatusCode::CouldNotConfirmBl = -104
staticconstexpr

Could not confirm the device has entered the bootloader.

◆ CouldNotConfirmId

constexpr int ctre::phoenix::StatusCode::CouldNotConfirmId = -110
staticconstexpr

Could not verify that the changed ID took effect.

◆ CouldNotDecodeDeviceFirmware

constexpr int ctre::phoenix::StatusCode::CouldNotDecodeDeviceFirmware = -10022
staticconstexpr

Device firmware could not be decoded.

Check that the device is running v6 firmware, the device ID is correct, the specified CAN bus is correct, and the device is powered.

◆ CouldNotEnterBl

constexpr int ctre::phoenix::StatusCode::CouldNotEnterBl = -103
staticconstexpr

Could not put the device into bootloader mode.

◆ CouldNotErase

constexpr int ctre::phoenix::StatusCode::CouldNotErase = -105
staticconstexpr

Could not erase flash.

◆ CouldNotFindDynamicId

constexpr int ctre::phoenix::StatusCode::CouldNotFindDynamicId = -300
staticconstexpr

CouldNotFindDynamicId.

◆ CouldNotReqDevInfo

constexpr int ctre::phoenix::StatusCode::CouldNotReqDevInfo = -140
staticconstexpr

CouldNotReqDevInfo.

◆ CouldNotReqFactoryDefault

constexpr int ctre::phoenix::StatusCode::CouldNotReqFactoryDefault = -130
staticconstexpr

Unable to factory default this device.

◆ CouldNotReqSetConfigs

constexpr int ctre::phoenix::StatusCode::CouldNotReqSetConfigs = -133
staticconstexpr

Could not apply the device configs.

◆ CouldNotReqSetDesc

constexpr int ctre::phoenix::StatusCode::CouldNotReqSetDesc = -113
staticconstexpr

Unable to set name to this device.

◆ CouldNotReqSetId

constexpr int ctre::phoenix::StatusCode::CouldNotReqSetId = -109
staticconstexpr

Unable to set ID to this device.

◆ CouldNotRetrieveV6Firmware

constexpr int ctre::phoenix::StatusCode::CouldNotRetrieveV6Firmware = -10021
staticconstexpr

Device firmware could not be retrieved.

Check that the device is running v6 firmware, the device ID is correct, the specified CAN bus is correct, and the device is powered.

◆ CouldNotRunApp

constexpr int ctre::phoenix::StatusCode::CouldNotRunApp = -108
staticconstexpr

Could not run the device firmware application.

◆ CouldNotSendCanFrame

constexpr int ctre::phoenix::StatusCode::CouldNotSendCanFrame = -123
staticconstexpr

CouldNotSendCanFrame.

◆ CouldNotSendFlash

constexpr int ctre::phoenix::StatusCode::CouldNotSendFlash = -106
staticconstexpr

Could not field upgrade the device.

◆ CouldNotSerialize

constexpr int ctre::phoenix::StatusCode::CouldNotSerialize = -10026
staticconstexpr

The data frame could not be serialized for transmit.

◆ CouldNotValidate

constexpr int ctre::phoenix::StatusCode::CouldNotValidate = -107
staticconstexpr

Bootloader could not verify integrity of the flashed application.

◆ CustomNameNotSupported

constexpr int ctre::phoenix::StatusCode::CustomNameNotSupported = -131
staticconstexpr

CustomNameNotSupported.

◆ DeviceDidNotRespondToDiagReq

constexpr int ctre::phoenix::StatusCode::DeviceDidNotRespondToDiagReq = -143
staticconstexpr

DeviceDidNotRespondToDiagReq.

◆ DeviceIsNull

constexpr int ctre::phoenix::StatusCode::DeviceIsNull = -142
staticconstexpr

DeviceIsNull.

◆ DidNotGetDhcp

constexpr int ctre::phoenix::StatusCode::DidNotGetDhcp = -301
staticconstexpr

DidNotGetDhcp.

◆ DidNotGetFullDhcp

constexpr int ctre::phoenix::StatusCode::DidNotGetFullDhcp = -302
staticconstexpr

DidNotGetFullDhcp.

◆ DirectoryMissing

constexpr int ctre::phoenix::StatusCode::DirectoryMissing = -10029
staticconstexpr

Could not find specified directory.

◆ DistanceBetweenWheelsTooSmall

constexpr int ctre::phoenix::StatusCode::DistanceBetweenWheelsTooSmall = -1502
staticconstexpr

Distance between wheels is too small, cannot get heading.

◆ DoubleVoltageCompensatingWPI

constexpr int ctre::phoenix::StatusCode::DoubleVoltageCompensatingWPI = -1505
staticconstexpr

Motor Controller Voltage Compensation should not be used with setVoltage().

This causes compensation to happen twice. Disable Voltage Compensation by calling enableVoltageCompensation(false) in order to use setVoltage().

◆ EcuIsNotPresent

constexpr int ctre::phoenix::StatusCode::EcuIsNotPresent = -102
staticconstexpr

Device is not present.

Verify the device is connected and powered, and that the CAN bus is terminated.

◆ FeatureNotSupported

constexpr int ctre::phoenix::StatusCode::FeatureNotSupported = -125
staticconstexpr

This feature is not supported.

◆ FeatureRequiresHigherFirm

constexpr int ctre::phoenix::StatusCode::FeatureRequiresHigherFirm = -1700
staticconstexpr

Features requires newer firmware version.

◆ FeaturesNotAvailableYet

constexpr int ctre::phoenix::StatusCode::FeaturesNotAvailableYet = 1104
staticconstexpr

This feature will be supported in a future update.

◆ FirmVersionCouldNotBeRetrieved

constexpr int ctre::phoenix::StatusCode::FirmVersionCouldNotBeRetrieved = 1103
staticconstexpr

Firm Vers could not be retrieved.

Use Phoenix Tuner X to check ID and firmware(CRF) version.

◆ FirmwareNonFRC

constexpr int ctre::phoenix::StatusCode::FirmwareNonFRC = -1011
staticconstexpr

Firmware is legacy non-FRC version.

Use Phoenix Tuner X to field upgrade your CTRE CAN device firmware(CRF). Firmware greater than 20.0 required.

◆ FirmwareTooNew

constexpr int ctre::phoenix::StatusCode::FirmwareTooNew = -10025
staticconstexpr

Firmware Too New.

Use Phoenix Tuner X to field upgrade your CTRE CAN device firmware(CRF) to a compatible version. Then restart your robot application to clear this error.

◆ FirmwareTooOld

constexpr int ctre::phoenix::StatusCode::FirmwareTooOld = -1008
staticconstexpr

Firmware Too Old.

Use Phoenix Tuner X to field upgrade your CTRE CAN device firmware(CRF). Then restart your robot application to clear this error.

◆ FirmwareVersNotCompatible

constexpr int ctre::phoenix::StatusCode::FirmwareVersNotCompatible = -10028
staticconstexpr

Firmware version is not compatible with this version of Phoenix.

Make sure your firmware and API major versions match.

◆ FlashWasGood

constexpr int ctre::phoenix::StatusCode::FlashWasGood = -111
staticconstexpr

Device field upgrade was successful.

◆ FrequentConfigCalls

constexpr int ctre::phoenix::StatusCode::FrequentConfigCalls = 10002
staticconstexpr

Do not apply or refresh configs periodically, as configs are blocking.

◆ GadgeteerDeviceNoSetId

constexpr int ctre::phoenix::StatusCode::GadgeteerDeviceNoSetId = -115
staticconstexpr

Cannot set the ID of a gadgeteer device.

◆ GainsAreNotSet

constexpr int ctre::phoenix::StatusCode::GainsAreNotSet = -1503
staticconstexpr

GainsAreNotSet.

◆ GEN_MODULE_ERROR

constexpr int ctre::phoenix::StatusCode::GEN_MODULE_ERROR = -1400
staticconstexpr

GEN_MODULE_ERROR.

◆ GEN_PORT_ERROR

constexpr int ctre::phoenix::StatusCode::GEN_PORT_ERROR = -1300
staticconstexpr

GEN_PORT_ERROR.

◆ GeneralError

constexpr int ctre::phoenix::StatusCode::GeneralError = -1100
staticconstexpr

General Error Occurred.

◆ GeneralWarning

constexpr int ctre::phoenix::StatusCode::GeneralWarning = 1100
staticconstexpr

General Warning Occurred.

◆ HootLogTooNew

constexpr int ctre::phoenix::StatusCode::HootLogTooNew = -10036
staticconstexpr

The given hoot log requires a newer version of Phoenix API.

◆ HootLogTooOld

constexpr int ctre::phoenix::StatusCode::HootLogTooOld = -10035
staticconstexpr

The given hoot log requires an older version of Phoenix API.

◆ HwTimestampOutOfSync

constexpr int ctre::phoenix::StatusCode::HwTimestampOutOfSync = 10001
staticconstexpr

The timestamp reported by CANivore is at least 10ms older than the timestamp reported by the system, indicating it's fallen out of sync.

This does not impact the data of this message, only the timing.

◆ IncompatibleMode

constexpr int ctre::phoenix::StatusCode::IncompatibleMode = -1600
staticconstexpr

IncompatibleMode.

◆ InsufficientSz

constexpr int ctre::phoenix::StatusCode::InsufficientSz = -134
staticconstexpr

InsufficientSz.

◆ InternalError

constexpr int ctre::phoenix::StatusCode::InternalError = -10018
staticconstexpr

InternalError.

◆ InvalidCanivCache

constexpr int ctre::phoenix::StatusCode::InvalidCanivCache = -351
staticconstexpr

InvalidCanivCache.

◆ InvalidContext

constexpr int ctre::phoenix::StatusCode::InvalidContext = -10017
staticconstexpr

InvalidContext.

◆ InvalidCrfBadHeader

constexpr int ctre::phoenix::StatusCode::InvalidCrfBadHeader = -200
staticconstexpr

InvalidCrfBadHeader.

◆ InvalidCrfBadSectHeader

constexpr int ctre::phoenix::StatusCode::InvalidCrfBadSectHeader = -204
staticconstexpr

InvalidCrfBadSectHeader.

◆ InvalidCrfBadSectSize

constexpr int ctre::phoenix::StatusCode::InvalidCrfBadSectSize = -205
staticconstexpr

InvalidCrfBadSectSize.

◆ InvalidCrfFileSzInvald

constexpr int ctre::phoenix::StatusCode::InvalidCrfFileSzInvald = -201
staticconstexpr

InvalidCrfFileSzInvald.

◆ InvalidCrfNoSects

constexpr int ctre::phoenix::StatusCode::InvalidCrfNoSects = -203
staticconstexpr

InvalidCrfNoSects.

◆ InvalidCrfWrongProduct

constexpr int ctre::phoenix::StatusCode::InvalidCrfWrongProduct = -202
staticconstexpr

Specified CRF is for the wrong product.

◆ InvalidDeviceDescriptor

constexpr int ctre::phoenix::StatusCode::InvalidDeviceDescriptor = -121
staticconstexpr

InvalidDeviceDescriptor.

◆ InvalidDeviceModel

constexpr int ctre::phoenix::StatusCode::InvalidDeviceModel = -10041
staticconstexpr

The provided model was not a valid device type.

◆ InvalidDeviceSpec

constexpr int ctre::phoenix::StatusCode::InvalidDeviceSpec = -101
staticconstexpr

InvalidDeviceSpec.

◆ InvalidFile

constexpr int ctre::phoenix::StatusCode::InvalidFile = -10034
staticconstexpr

Could not open or read the given file.

◆ InvalidHandle

constexpr int ctre::phoenix::StatusCode::InvalidHandle = -1601
staticconstexpr

Handle passed into function is incorrect.

◆ InvalidIDToFollow

constexpr int ctre::phoenix::StatusCode::InvalidIDToFollow = -10023
staticconstexpr

The values specified for master are in valid.

Make sure the Device ID of master are correct.

◆ InvalidJson

constexpr int ctre::phoenix::StatusCode::InvalidJson = -700
staticconstexpr

InvalidJson.

◆ InvalidLicenseResp

constexpr int ctre::phoenix::StatusCode::InvalidLicenseResp = -350
staticconstexpr

InvalidLicenseResp.

◆ InvalidLicenseResponse

constexpr int ctre::phoenix::StatusCode::InvalidLicenseResponse = -10016
staticconstexpr

InvalidLicenseResponse.

◆ InvalidModel

constexpr int ctre::phoenix::StatusCode::InvalidModel = -135
staticconstexpr

This feature is not supported for this device model.

◆ InvalidModeToGetSignal

constexpr int ctre::phoenix::StatusCode::InvalidModeToGetSignal = -10013
staticconstexpr

The current mode of the device is invalid for getting this signal.

◆ InvalidNetwork

constexpr int ctre::phoenix::StatusCode::InvalidNetwork = -10001
staticconstexpr

InvalidNetwork.

◆ InvalidOrchestraAction

constexpr int ctre::phoenix::StatusCode::InvalidOrchestraAction = -1904
staticconstexpr

An invalid orchestra action occurred.

Ensure a music file is loaded.

◆ InvalidParamValue

constexpr int ctre::phoenix::StatusCode::InvalidParamValue = -1002
staticconstexpr

An invalid argument was passed into the function/VI, such as a null pointer.

◆ InvalidSize

constexpr int ctre::phoenix::StatusCode::InvalidSize = -10015
staticconstexpr

Size is invalid.

◆ InvalidTask

constexpr int ctre::phoenix::StatusCode::InvalidTask = -116
staticconstexpr

This diagnostic action is not supported.

◆ kAccessDenied

constexpr int ctre::phoenix::StatusCode::kAccessDenied = -2014
staticconstexpr

kAccessDenied

◆ kDeviceResponseIncorrect

constexpr int ctre::phoenix::StatusCode::kDeviceResponseIncorrect = -10019
staticconstexpr

kDeviceResponseIncorrect

◆ kErrorPollingForDevices

constexpr int ctre::phoenix::StatusCode::kErrorPollingForDevices = -10020
staticconstexpr

kErrorPollingForDevices

◆ kFailedSetup

constexpr int ctre::phoenix::StatusCode::kFailedSetup = -2006
staticconstexpr

kFailedSetup

◆ kFirmwareInvalidResponse

constexpr int ctre::phoenix::StatusCode::kFirmwareInvalidResponse = -2015
staticconstexpr

kFirmwareInvalidResponse

◆ kGeneralWinUsbError

constexpr int ctre::phoenix::StatusCode::kGeneralWinUsbError = -2005
staticconstexpr

kGeneralWinUsbError

◆ kInvalidClass

constexpr int ctre::phoenix::StatusCode::kInvalidClass = -2002
staticconstexpr

kInvalidClass

◆ kInvalidGuid

constexpr int ctre::phoenix::StatusCode::kInvalidGuid = -2001
staticconstexpr

kInvalidGuid

◆ kInvalidInterface

constexpr int ctre::phoenix::StatusCode::kInvalidInterface = -2000
staticconstexpr

kInvalidInterface

◆ kInvalidPath

constexpr int ctre::phoenix::StatusCode::kInvalidPath = -2004
staticconstexpr

kInvalidPath

◆ kInvalidProtocol

constexpr int ctre::phoenix::StatusCode::kInvalidProtocol = -2003
staticconstexpr

kInvalidProtocol

◆ kInvalidRespFormat

constexpr int ctre::phoenix::StatusCode::kInvalidRespFormat = -2010
staticconstexpr

kInvalidRespFormat

◆ kListenFailed

constexpr int ctre::phoenix::StatusCode::kListenFailed = -2007
staticconstexpr

kListenFailed

◆ kReceiveFailed

constexpr int ctre::phoenix::StatusCode::kReceiveFailed = -2009
staticconstexpr

kReceiveFailed

◆ kSendFailed

constexpr int ctre::phoenix::StatusCode::kSendFailed = -2008
staticconstexpr

kSendFailed

◆ kWinUsbGeneralError

constexpr int ctre::phoenix::StatusCode::kWinUsbGeneralError = -2013
staticconstexpr

kWinUsbGeneralError

◆ kWinUsbInitFailed

constexpr int ctre::phoenix::StatusCode::kWinUsbInitFailed = -2011
staticconstexpr

kWinUsbInitFailed

◆ kWinUsbQueryFailed

constexpr int ctre::phoenix::StatusCode::kWinUsbQueryFailed = -2012
staticconstexpr

kWinUsbQueryFailed

◆ LibraryCouldNotBeLoaded

constexpr int ctre::phoenix::StatusCode::LibraryCouldNotBeLoaded = -1800
staticconstexpr

LibraryCouldNotBeLoaded.

◆ LicenseDownloadFailed

constexpr int ctre::phoenix::StatusCode::LicenseDownloadFailed = -10010
staticconstexpr

License did not successfully download to Device.

◆ LoggerNotRunning

constexpr int ctre::phoenix::StatusCode::LoggerNotRunning = -10031
staticconstexpr

The signal logger is not running.

Start the signal logger before writing any signals.

◆ MechanismFaulted

constexpr int ctre::phoenix::StatusCode::MechanismFaulted = -10027
staticconstexpr

The mechanism is disabled due to a fault in one of the devices.

◆ MissingContext

constexpr int ctre::phoenix::StatusCode::MissingContext = -10006
staticconstexpr

Could not determine context from this device hash.

◆ MissingRoutineInLibrary

constexpr int ctre::phoenix::StatusCode::MissingRoutineInLibrary = -1801
staticconstexpr

MissingRoutineInLibrary.

◆ ModelMismatch

constexpr int ctre::phoenix::StatusCode::ModelMismatch = -10007
staticconstexpr

Model name in license file does not match model name of selected device.

◆ MODULE_NOT_INIT_GET_ERROR

constexpr int ctre::phoenix::StatusCode::MODULE_NOT_INIT_GET_ERROR = -1402
staticconstexpr

MODULE_NOT_INIT_GET_ERROR.

◆ MODULE_NOT_INIT_SET_ERROR

constexpr int ctre::phoenix::StatusCode::MODULE_NOT_INIT_SET_ERROR = -1401
staticconstexpr

MODULE_NOT_INIT_SET_ERROR.

◆ MoreThanOneFile

constexpr int ctre::phoenix::StatusCode::MoreThanOneFile = -119
staticconstexpr

MoreThanOneFile.

◆ MotProfFirmThreshold

constexpr int ctre::phoenix::StatusCode::MotProfFirmThreshold = 1109
staticconstexpr

Motor Controller must have >= 3.2 firmware for motion profile control mode.

◆ MotProfFirmThreshold2

constexpr int ctre::phoenix::StatusCode::MotProfFirmThreshold2 = 1110
staticconstexpr

Motor Controller must have >= 3.4 firmware for advanced PID0/PID1 features.

◆ MultipleReplayNotSupported

constexpr int ctre::phoenix::StatusCode::MultipleReplayNotSupported = -10039
staticconstexpr

Hoot replay does not support replaying multiple files.

Ensure that only one file is loaded at a time.

◆ MultiSignalNotSupported

constexpr int ctre::phoenix::StatusCode::MultiSignalNotSupported = -10002
staticconstexpr

The CAN bus does not support multi-signal synchronization.

◆ MusicFileInvalid

constexpr int ctre::phoenix::StatusCode::MusicFileInvalid = -1903
staticconstexpr

Music file is invalid.

Ensure you're using Tuner to generate file.

◆ MusicFileNotFound

constexpr int ctre::phoenix::StatusCode::MusicFileNotFound = -1900
staticconstexpr

Could not find music file specified, try specifying an absolute path.

◆ MusicFileTooNew

constexpr int ctre::phoenix::StatusCode::MusicFileTooNew = -1902
staticconstexpr

Music file version is too new, update Phoenix to utilize this file.

◆ MusicFileTooOld

constexpr int ctre::phoenix::StatusCode::MusicFileTooOld = -1905
staticconstexpr

This music file version is too old.

Regenerate file using Tuner.

◆ MusicFileWrongSize

constexpr int ctre::phoenix::StatusCode::MusicFileWrongSize = -1901
staticconstexpr

Music file size is incorrect, could not parse correctly.

Ensure you're using Tuner to generate file.

◆ MusicInterrupted

constexpr int ctre::phoenix::StatusCode::MusicInterrupted = -1906
staticconstexpr

Music interrupted due to one of the instruments being commanded a different control mode.

Press Play to resume music.

◆ MusicNotSupported

constexpr int ctre::phoenix::StatusCode::MusicNotSupported = -1907
staticconstexpr

This device doesn't support MusicTone control mode.

◆ NoConfigs

constexpr int ctre::phoenix::StatusCode::NoConfigs = -128
staticconstexpr

This device did not report any available configs.

Verify firmware and diagnostics are up-to-date.

◆ NoControls

constexpr int ctre::phoenix::StatusCode::NoControls = -141
staticconstexpr

This device does not support new controls.

◆ NoCrfFile

constexpr int ctre::phoenix::StatusCode::NoCrfFile = -206
staticconstexpr

Specified CRF file could not be found.

◆ NodeIsInvalid

constexpr int ctre::phoenix::StatusCode::NodeIsInvalid = -120
staticconstexpr

Specified device was not found.

Verify the device is connected and powered, and that the CAN bus is terminated.

◆ NoDevicesOnBus

constexpr int ctre::phoenix::StatusCode::NoDevicesOnBus = -118
staticconstexpr

NoDevicesOnBus.

◆ NoFile

constexpr int ctre::phoenix::StatusCode::NoFile = -10009
staticconstexpr

Could not find specified file.

◆ NormalModeMsgNotPresent

constexpr int ctre::phoenix::StatusCode::NormalModeMsgNotPresent = -124
staticconstexpr

NormalModeMsgNotPresent.

◆ NoSerialControlFrameResp

constexpr int ctre::phoenix::StatusCode::NoSerialControlFrameResp = -504
staticconstexpr

NoSerialControlFrameResp.

◆ NotAllPIDValuesUpdated

constexpr int ctre::phoenix::StatusCode::NotAllPIDValuesUpdated = -1201
staticconstexpr

NotAllPIDValuesUpdated.

◆ NotFound

constexpr int ctre::phoenix::StatusCode::NotFound = -10004
staticconstexpr

Could not find this value when searching for it.

◆ NotImplemented

constexpr int ctre::phoenix::StatusCode::NotImplemented = -117
staticconstexpr

Not Implemented, check latest installer.

◆ NotSupported

constexpr int ctre::phoenix::StatusCode::NotSupported = -10005
staticconstexpr

This is not supported.

◆ NotUpdating

constexpr int ctre::phoenix::StatusCode::NotUpdating = -126
staticconstexpr

The diagnostic server is not field upgrading any devices.

◆ NoUdpControlFrameResp

constexpr int ctre::phoenix::StatusCode::NoUdpControlFrameResp = -604
staticconstexpr

NoUdpControlFrameResp.

◆ OK

constexpr int ctre::phoenix::StatusCode::OK = 0
staticconstexpr

No Error.

◆ OnlySupportedInTunerX

constexpr int ctre::phoenix::StatusCode::OnlySupportedInTunerX = -144
staticconstexpr

This feature requires Tuner X.

◆ PORT_MODULE_TYPE_MISMATCH

constexpr int ctre::phoenix::StatusCode::PORT_MODULE_TYPE_MISMATCH = -1301
staticconstexpr

PORT_MODULE_TYPE_MISMATCH.

◆ PulseWidthSensorNotPresent

constexpr int ctre::phoenix::StatusCode::PulseWidthSensorNotPresent = 1010
staticconstexpr

PulseWidthSensorNotPresent.

◆ ResourceNotAvailable

constexpr int ctre::phoenix::StatusCode::ResourceNotAvailable = -1802
staticconstexpr

ResourceNotAvailable.

◆ RxTimeout

constexpr int ctre::phoenix::StatusCode::RxTimeout = -1003
staticconstexpr

CAN frame not received/too-stale.

Check the CAN bus wiring, CAN bus utilization, and power to the device.

◆ SelfTestIsEmpty

constexpr int ctre::phoenix::StatusCode::SelfTestIsEmpty = -10011
staticconstexpr

Self Test report does not have any values, is the firmware up to date?

◆ SensorNotPresent

constexpr int ctre::phoenix::StatusCode::SensorNotPresent = -1007
staticconstexpr

Sensor Not Present.

◆ SerialMismatch

constexpr int ctre::phoenix::StatusCode::SerialMismatch = -10008
staticconstexpr

Serial Number in license file does not match model name of selected device.

◆ SignalLookupFailed

constexpr int ctre::phoenix::StatusCode::SignalLookupFailed = -10012
staticconstexpr

Failed to lookup signal properties.

This can happen if the fimware is too new and supports signals that older APIs do not support.

◆ SigNotUpdated

constexpr int ctre::phoenix::StatusCode::SigNotUpdated = -1200
staticconstexpr

No new response to update signal.

◆ SimDeviceAlreadyExists

constexpr int ctre::phoenix::StatusCode::SimDeviceAlreadyExists = 1202
staticconstexpr

SimDeviceAlreadyExists.

◆ SimDeviceNotFound

constexpr int ctre::phoenix::StatusCode::SimDeviceNotFound = 1200
staticconstexpr

SimDeviceNotFound.

◆ SimPhysicsTypeNotSupported

constexpr int ctre::phoenix::StatusCode::SimPhysicsTypeNotSupported = 1201
staticconstexpr

SimPhysicsTypeNotSupported.

◆ StatusCodeNotInitialized

constexpr int ctre::phoenix::StatusCode::StatusCodeNotInitialized = -10000
staticconstexpr

This StatusCode has not been initialized.

Make sure the StatusCode is getting assigned to the return of a method.

◆ TalonFXFirmwarePreVBatDetect

constexpr int ctre::phoenix::StatusCode::TalonFXFirmwarePreVBatDetect = -1704
staticconstexpr

Talon FX(Falcon 500) Firmware Too Old.

Use Phoenix Tuner to field upgrade your CTRE CAN device firmware(CRF) to >=20.3. Then restart your robot application to clear this error.

◆ TaskIsBusy

constexpr int ctre::phoenix::StatusCode::TaskIsBusy = -100
staticconstexpr

Diagnostic Server is busy with another command.

◆ TicksPerRevZero

constexpr int ctre::phoenix::StatusCode::TicksPerRevZero = -1501
staticconstexpr

Ticks per revolution is 0, cannot get heading.

◆ TimeoutCannotBeZero

constexpr int ctre::phoenix::StatusCode::TimeoutCannotBeZero = -10032
staticconstexpr

Blocking operations, such as configs, cannot have a timeout of 0.

Pass in a non-zero timeout (typically 0.050+ seconds) for normal operation.

◆ TimeoutIso15Response

constexpr int ctre::phoenix::StatusCode::TimeoutIso15Response = -605
staticconstexpr

TimeoutIso15Response.

◆ TxFailed

constexpr int ctre::phoenix::StatusCode::TxFailed = -1001
staticconstexpr

Could not transmit CAN Frame.

◆ TxTimeout

constexpr int ctre::phoenix::StatusCode::TxTimeout = -1004
staticconstexpr

CAN Transmit timed out.

◆ UnexpectedArbId

constexpr int ctre::phoenix::StatusCode::UnexpectedArbId = -1005
staticconstexpr

ArbID is incorrect.

◆ UnlicensedDevice

constexpr int ctre::phoenix::StatusCode::UnlicensedDevice = -10014
staticconstexpr

Device is not licensed.

Cannot get any data from it.

◆ UnlicensedHootLog

constexpr int ctre::phoenix::StatusCode::UnlicensedHootLog = -10037
staticconstexpr

Hoot log is not licensed.

Cannot get any data from it.

◆ UserSignalLimitExceeded

constexpr int ctre::phoenix::StatusCode::UserSignalLimitExceeded = -10040
staticconstexpr

The maximum number of loggable user signals has been exceeded.

Additional user signals will not be logged.

◆ UsingProFeatureOnUnlicensedDevice

constexpr int ctre::phoenix::StatusCode::UsingProFeatureOnUnlicensedDevice = -10024
staticconstexpr

Using a Pro only feature on an unlicensed device.

The device may not behave as expected if it continues to operate while unlicensed.

◆ WarningNotInitialized

constexpr int ctre::phoenix::StatusCode::WarningNotInitialized = 10000
staticconstexpr

WarningNotInitialized.

◆ WheelRadiusTooSmall

constexpr int ctre::phoenix::StatusCode::WheelRadiusTooSmall = -1500
staticconstexpr

Wheel Radius is too small, cannot get distance traveled.

◆ WrongRemoteLimitSwitchSource

constexpr int ctre::phoenix::StatusCode::WrongRemoteLimitSwitchSource = -1504
staticconstexpr

Use RemoteLimitSwitchSource instead of LimitSwitchSource.


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