|
CTRE Phoenix Pro C++ 23.0.12
|
Class that holds all the SPN values used in Phoenix Pro devices. More...
#include <ctre/phoenixpro/spns/SpnValue.hpp>
Public Member Functions | |
| std::string | ToString () const |
| Gets the string representation of this enum. More... | |
| bool | operator== (const SpnValue &data) const |
| bool | operator== (int data) const |
| bool | operator< (const SpnValue &data) const |
| bool | operator< (int data) const |
Public Attributes | |
| int | value |
Static Public Attributes | |
| static constexpr int | TalonFX_System_State = 612 |
| static constexpr int | Startup_ResetFlags = 633 |
| static constexpr int | Version_Major = 731 |
| static constexpr int | Version_Minor = 732 |
| static constexpr int | Version_Bugfix = 733 |
| static constexpr int | Version_Build = 734 |
| static constexpr int | Version_Full = 735 |
| static constexpr int | Licensing_IsProLicensed = 748 |
| static constexpr int | CustomParam0 = 816 |
| static constexpr int | CustomParam1 = 817 |
| static constexpr int | CANcoder_SensorDirection = 821 |
| static constexpr int | FrcLock = 823 |
| static constexpr int | RobotEnabled = 824 |
| static constexpr int | LED1_OnColor = 826 |
| static constexpr int | LED1_OffColor = 827 |
| static constexpr int | LED2_OnColor = 828 |
| static constexpr int | LED2_OffColor = 829 |
| static constexpr int | AllFaults = 835 |
| static constexpr int | AllStickyFaults = 836 |
| static constexpr int | Pigeon2UseCompass = 910 |
| static constexpr int | Pigeon2DisableTemperatureCompensation = 945 |
| static constexpr int | Pigeon2DisableNoMotionCalibration = 947 |
| static constexpr int | Pigeon2MountPoseYaw = 952 |
| static constexpr int | Pigeon2MountPosePitch = 953 |
| static constexpr int | Pigeon2MountPoseRoll = 954 |
| static constexpr int | Pigeon2GyroScalarX = 958 |
| static constexpr int | Pigeon2GyroScalarY = 959 |
| static constexpr int | Pigeon2GyroScalarZ = 960 |
| static constexpr int | Pigeon2Yaw = 967 |
| static constexpr int | Pigeon2Pitch = 968 |
| static constexpr int | Pigeon2Roll = 969 |
| static constexpr int | Pigeon2QuatW = 970 |
| static constexpr int | Pigeon2QuatX = 971 |
| static constexpr int | Pigeon2QuatY = 972 |
| static constexpr int | Pigeon2QuatZ = 973 |
| static constexpr int | Pigeon2GravityVectorX = 974 |
| static constexpr int | Pigeon2GravityVectorY = 975 |
| static constexpr int | Pigeon2GravityVectorZ = 976 |
| static constexpr int | Pigeon2Temperature = 977 |
| static constexpr int | Pigeon2NoMotionCalEnabled = 978 |
| static constexpr int | Pigeon2NoMotionCount = 979 |
| static constexpr int | Pigeon2TempCompDisabled = 980 |
| static constexpr int | Pigeon2UpTime = 981 |
| static constexpr int | Pigeon2AccumGyroX = 982 |
| static constexpr int | Pigeon2AccumGyroY = 983 |
| static constexpr int | Pigeon2AccumGyroZ = 984 |
| static constexpr int | Pigeon2AngularVelocityX = 985 |
| static constexpr int | Pigeon2AngularVelocityY = 986 |
| static constexpr int | Pigeon2AngularVelocityZ = 987 |
| static constexpr int | Pigeon2AccelerationX = 988 |
| static constexpr int | Pigeon2AccelerationY = 989 |
| static constexpr int | Pigeon2AccelerationZ = 990 |
| static constexpr int | Pigeon2_SupplyVoltage = 993 |
| static constexpr int | Pigeon2MagneticFieldX = 997 |
| static constexpr int | Pigeon2MagneticFieldY = 998 |
| static constexpr int | Pigeon2MagneticFieldZ = 999 |
| static constexpr int | Pigeon2RawMagneticFieldX = 1000 |
| static constexpr int | Pigeon2RawMagneticFieldY = 1001 |
| static constexpr int | Pigeon2RawMagneticFieldZ = 1002 |
| static constexpr int | CANCoder_MagnetOffset = 1003 |
| static constexpr int | CANcoder_AbsoluteSensorRange = 1004 |
| static constexpr int | DeviceEnabled = 1035 |
| static constexpr int | ForwardLimit = 1359 |
| static constexpr int | ReverseLimit = 1360 |
| static constexpr int | PRO_MotorOutput_RotorPolarity = 1361 |
| static constexpr int | PRO_MotorOutput_DutyCycle = 1362 |
| static constexpr int | PRO_MotorOutput_TorqueCurrent = 1364 |
| static constexpr int | PRO_SupplyAndTemp_StatorCurrent = 1365 |
| static constexpr int | PRO_SupplyAndTemp_SupplyCurrent = 1366 |
| static constexpr int | PRO_SupplyAndTemp_SupplyVoltage = 1367 |
| static constexpr int | PRO_SupplyAndTemp_DeviceTemp = 1368 |
| static constexpr int | PRO_SupplyAndTemp_ProcessorTemp = 1369 |
| static constexpr int | PRO_RotorPosAndVel_Velocity = 1371 |
| static constexpr int | PRO_RotorPosAndVel_Position = 1372 |
| static constexpr int | PRO_PosAndVel_Velocity = 1375 |
| static constexpr int | PRO_PosAndVel_Position = 1376 |
| static constexpr int | PRO_PIDStateEnables_IntegratedAccum_DC = 1377 |
| static constexpr int | PRO_PIDStateEnables_IntegratedAccum_V = 1378 |
| static constexpr int | PRO_PIDStateEnables_IntegratedAccum_A = 1379 |
| static constexpr int | PRO_PIDStateEnables_FeedForward_DC = 1380 |
| static constexpr int | PRO_PIDStateEnables_FeedForward_V = 1381 |
| static constexpr int | PRO_PIDStateEnables_FeedForward_A = 1382 |
| static constexpr int | TalonFX_ControlMode = 1383 |
| static constexpr int | PRO_PIDStateEnables_IsMotionMagicRunning = 1385 |
| static constexpr int | PRO_PIDStateEnables_DeviceEnable = 1387 |
| static constexpr int | PRO_PIDRefPIDErr_PIDRef_Position = 1389 |
| static constexpr int | PRO_PIDRefPIDErr_PIDRef_Velocity = 1390 |
| static constexpr int | PRO_PIDRefPIDErr_PIDErr_Position = 1391 |
| static constexpr int | PRO_PIDRefPIDErr_PIDErr_Velocity = 1392 |
| static constexpr int | PRO_PIDOutput_ProportionalOutput_DC = 1394 |
| static constexpr int | PRO_PIDOutput_ProportionalOutput_V = 1395 |
| static constexpr int | PRO_PIDOutput_ProportionalOutput_A = 1396 |
| static constexpr int | PRO_PIDOutput_DerivativeOutput_DC = 1397 |
| static constexpr int | PRO_PIDOutput_DerivativeOutput_V = 1398 |
| static constexpr int | PRO_PIDOutput_DerivativeOutput_A = 1399 |
| static constexpr int | PRO_PIDOutput_Output_DC = 1400 |
| static constexpr int | PRO_PIDOutput_Output_V = 1401 |
| static constexpr int | PRO_PIDOutput_Output_A = 1402 |
| static constexpr int | PRO_PIDOutput_Slot = 1403 |
| static constexpr int | PRO_PIDRefSlopeECUTime_ReferenceSlope_Position = 1404 |
| static constexpr int | PRO_PIDRefSlopeECUTime_ReferenceSlope_Velocity = 1405 |
| static constexpr int | Slot0_kP = 1407 |
| static constexpr int | Slot0_kI = 1408 |
| static constexpr int | Slot0_kD = 1409 |
| static constexpr int | Slot0_kV = 1410 |
| static constexpr int | Slot0_kS = 1411 |
| static constexpr int | Slot1_kP = 1412 |
| static constexpr int | Slot1_kI = 1413 |
| static constexpr int | Slot1_kD = 1414 |
| static constexpr int | Slot1_kV = 1415 |
| static constexpr int | Slot1_kS = 1416 |
| static constexpr int | Slot2_kP = 1417 |
| static constexpr int | Slot2_kI = 1418 |
| static constexpr int | Slot2_kD = 1419 |
| static constexpr int | Slot2_kV = 1420 |
| static constexpr int | Slot2_kS = 1421 |
| static constexpr int | Config_Inverted = 1422 |
| static constexpr int | Config_SupplyVLowpassTau = 1423 |
| static constexpr int | Config_BeepOnBoot = 1424 |
| static constexpr int | Config_NeutralMode = 1425 |
| static constexpr int | Config_DutyCycleNeutralDB = 1426 |
| static constexpr int | Config_StatorCurrentLimit = 1427 |
| static constexpr int | Config_StatorCurrLimitEn = 1428 |
| static constexpr int | Config_SupplyCurrentLimit = 1429 |
| static constexpr int | Config_SupplyCurrLimitEn = 1430 |
| static constexpr int | Config_PeakForwardDC = 1431 |
| static constexpr int | Config_PeakReverseDC = 1432 |
| static constexpr int | Config_PeakForwardV = 1433 |
| static constexpr int | Config_PeakReverseV = 1434 |
| static constexpr int | Config_PeakForTorqCurr = 1435 |
| static constexpr int | Config_PeakRevTorqCurr = 1436 |
| static constexpr int | Config_TorqueNeutralDB = 1437 |
| static constexpr int | Config_FeedbackRotorOffset = 1438 |
| static constexpr int | Config_SensorToMechanismRatio = 1439 |
| static constexpr int | Config_RotorToSensorRatio = 1440 |
| static constexpr int | Config_FeedbackSensorSource = 1441 |
| static constexpr int | Config_FeedbackRemoteSensorID = 1442 |
| static constexpr int | Config_DutyCycleOpenLoopRampPeriod = 1443 |
| static constexpr int | Config_VoltageOpenLoopRampPeriod = 1444 |
| static constexpr int | Config_TorqueOpenLoopRampPeriod = 1445 |
| static constexpr int | Config_DutyCycleClosedLoopRampPeriod = 1446 |
| static constexpr int | Config_VoltageClosedLoopRampPeriod = 1447 |
| static constexpr int | Config_TorqueClosedLoopRampPeriod = 1448 |
| static constexpr int | Config_ForwardLimitType = 1449 |
| static constexpr int | Config_ForwardLimitAutosetPosEnable = 1450 |
| static constexpr int | Config_ForwardLimitAutosetPosValue = 1451 |
| static constexpr int | Config_ForwardLimitEnable = 1452 |
| static constexpr int | Config_ForwardLimitSource = 1453 |
| static constexpr int | Config_ForwardLimitRemoteSensorID = 1454 |
| static constexpr int | Config_ReverseLimitType = 1455 |
| static constexpr int | Config_ReverseLimitAutosetPosEnable = 1456 |
| static constexpr int | Config_ReverseLimitAutosetPosValue = 1457 |
| static constexpr int | Config_ReverseLimitEnable = 1458 |
| static constexpr int | Config_ReverseLimitSource = 1459 |
| static constexpr int | Config_ReverseLimitRemoteSensorID = 1460 |
| static constexpr int | Config_ForwardSoftLimitEnable = 1461 |
| static constexpr int | Config_ReverseSoftLimitEnable = 1462 |
| static constexpr int | Config_ForwardSoftLimitThreshold = 1463 |
| static constexpr int | Config_ReverseSoftLimitThreshold = 1464 |
| static constexpr int | Config_MotionMagicCruiseVelocity = 1465 |
| static constexpr int | Config_MotionMagicAcceleration = 1466 |
| static constexpr int | Config_MotionMagicJerk = 1467 |
| static constexpr int | CANcoder_Velocity = 1468 |
| static constexpr int | CANcoder_Position = 1469 |
| static constexpr int | CANcoder_AbsPosition = 1470 |
| static constexpr int | CANCoder_RawVel = 1471 |
| static constexpr int | CANCoder_RawPos = 1472 |
| static constexpr int | CANCoder_SupplyVoltage = 1473 |
| static constexpr int | CANcoder_MagHealth = 1474 |
| static constexpr int | PRO_MotorOutput_BridgeType_Public = 1477 |
| static constexpr int | Config_ContinuousWrap = 1499 |
| static constexpr int | Config_SupplyCurrThres = 1505 |
| static constexpr int | Config_SupplyTimeThres = 1506 |
| static constexpr int | Fault_Hardware = 10001 |
| static constexpr int | StickyFault_Hardware = 10002 |
| static constexpr int | Fault_ProcTemp = 10003 |
| static constexpr int | StickyFault_ProcTemp = 10004 |
| static constexpr int | Fault_DeviceTemp = 10005 |
| static constexpr int | StickyFault_DeviceTemp = 10006 |
| static constexpr int | Fault_Undervoltage = 10007 |
| static constexpr int | StickyFault_Undervoltage = 10008 |
| static constexpr int | Fault_BootDuringEnable = 10009 |
| static constexpr int | StickyFault_BootDuringEnable = 10010 |
| static constexpr int | Fault_PIGEON2_BootupAccel = 10013 |
| static constexpr int | StickyFault_PIGEON2_BootupAccel = 10014 |
| static constexpr int | Fault_PIGEON2_BootupGyros = 10015 |
| static constexpr int | StickyFault_PIGEON2_BootupGyros = 10016 |
| static constexpr int | Fault_PIGEON2_BootupMagne = 10017 |
| static constexpr int | StickyFault_PIGEON2_BootupMagne = 10018 |
| static constexpr int | Fault_PIGEON2_BootIntoMotion = 10019 |
| static constexpr int | StickyFault_PIGEON2_BootIntoMotion = 10020 |
| static constexpr int | Fault_PIGEON2_DataAcquiredLate = 10021 |
| static constexpr int | StickyFault_PIGEON2_DataAcquiredLate = 10022 |
| static constexpr int | Fault_PIGEON2_LoopTimeSlow = 10023 |
| static constexpr int | StickyFault_PIGEON2_LoopTimeSlow = 10024 |
| static constexpr int | Fault_PIGEON2_SaturatedMagne = 10025 |
| static constexpr int | StickyFault_PIGEON2_SaturatedMagne = 10026 |
| static constexpr int | Fault_PIGEON2_SaturatedAccel = 10027 |
| static constexpr int | StickyFault_PIGEON2_SaturatedAccel = 10028 |
| static constexpr int | Fault_PIGEON2_SaturatedGyros = 10029 |
| static constexpr int | StickyFault_PIGEON2_SaturatedGyros = 10030 |
| static constexpr int | Fault_CANCODER_BadMagnet = 10031 |
| static constexpr int | StickyFault_CANCODER_BadMagnet = 10032 |
| static constexpr int | Fault_TALONFX_OverSupplyV = 10033 |
| static constexpr int | StickyFault_TALONFX_OverSupplyV = 10034 |
| static constexpr int | Fault_TALONFX_UnstableSupplyV = 10035 |
| static constexpr int | StickyFault_TALONFX_UnstableSupplyV = 10036 |
| static constexpr int | Fault_TALONFX_ReverseHardLimit = 10037 |
| static constexpr int | StickyFault_TALONFX_ReverseHardLimit = 10038 |
| static constexpr int | Fault_TALONFX_ForwardHardLimit = 10039 |
| static constexpr int | StickyFault_TALONFX_ForwardHardLimit = 10040 |
| static constexpr int | Fault_TALONFX_ReverseSoftLimit = 10041 |
| static constexpr int | StickyFault_TALONFX_ReverseSoftLimit = 10042 |
| static constexpr int | Fault_TALONFX_ForwardSoftLimit = 10043 |
| static constexpr int | StickyFault_TALONFX_ForwardSoftLimit = 10044 |
| static constexpr int | Fault_TALONFX_MissingRemoteSensor = 10049 |
| static constexpr int | StickyFault_TALONFX_MissingRemoteSensor = 10050 |
| static constexpr int | Fault_TALONFX_FusedSensorOutOfSync = 10051 |
| static constexpr int | StickyFault_TALONFX_FusedSensorOutOfSync = 10052 |
| static constexpr int | Fault_TALONFX_StatorCurrLimit = 10053 |
| static constexpr int | StickyFault_TALONFX_StatorCurrLimit = 10054 |
| static constexpr int | Fault_TALONFX_SupplyCurrLimit = 10055 |
| static constexpr int | StickyFault_TALONFX_SupplyCurrLimit = 10056 |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const SpnValue &data) |
Class that holds all the SPN values used in Phoenix Pro devices.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Gets the string representation of this enum.
|
friend |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| int ctre::phoenixpro::spns::SpnValue::value |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |