38 static constexpr int Fault = 12;
53 return this->value == data.value;
57 return this->value == data;
61 return this->value != data.value;
65 return this->value != data;
69 return this->value < data.value;
73 return this->value < data;
101 default:
return "Invalid Value";
107 os << data.ToString();
113 std::stringstream ss;
114 ss <<
"u_" << this->
value;
140 return this->value == data.value;
144 return this->value == data;
148 return this->value != data.value;
152 return this->value != data;
156 return this->value < data.value;
160 return this->value < data;
174 default:
return "Invalid Value";
180 os << data.ToString();
186 std::stringstream ss;
187 ss <<
"u_" << this->
value;
213 return this->value == data.value;
217 return this->value == data;
221 return this->value != data.value;
225 return this->value != data;
229 return this->value < data.value;
233 return this->value < data;
247 default:
return "Invalid Value";
253 os << data.ToString();
259 std::stringstream ss;
260 ss <<
"u_" << this->
value;
293 return this->value == data.value;
297 return this->value == data;
301 return this->value != data.value;
305 return this->value != data;
309 return this->value < data.value;
313 return this->value < data;
327 default:
return "Invalid Value";
333 os << data.ToString();
339 std::stringstream ss;
340 ss <<
"u_" << this->
value;
366 return this->value == data.value;
370 return this->value == data;
374 return this->value != data.value;
378 return this->value != data;
382 return this->value < data.value;
386 return this->value < data;
400 default:
return "Invalid Value";
406 os << data.ToString();
412 std::stringstream ss;
413 ss <<
"u_" << this->
value;
439 return this->value == data.value;
443 return this->value == data;
447 return this->value != data.value;
451 return this->value != data;
455 return this->value < data.value;
459 return this->value < data;
473 default:
return "Invalid Value";
479 os << data.ToString();
485 std::stringstream ss;
486 ss <<
"u_" << this->
value;
499 static constexpr int Off = 0;
500 static constexpr int Red = 1;
518 return this->value == data.value;
522 return this->value == data;
526 return this->value != data.value;
530 return this->value != data;
534 return this->value < data.value;
538 return this->value < data;
558 default:
return "Invalid Value";
564 os << data.ToString();
570 std::stringstream ss;
571 ss <<
"u_" << this->
value;
584 static constexpr int Off = 0;
585 static constexpr int Red = 1;
603 return this->value == data.value;
607 return this->value == data;
611 return this->value != data.value;
615 return this->value != data;
619 return this->value < data.value;
623 return this->value < data;
643 default:
return "Invalid Value";
649 os << data.ToString();
655 std::stringstream ss;
656 ss <<
"u_" << this->
value;
669 static constexpr int Off = 0;
670 static constexpr int Red = 1;
688 return this->value == data.value;
692 return this->value == data;
696 return this->value != data.value;
700 return this->value != data;
704 return this->value < data.value;
708 return this->value < data;
728 default:
return "Invalid Value";
734 os << data.ToString();
740 std::stringstream ss;
741 ss <<
"u_" << this->
value;
754 static constexpr int Off = 0;
755 static constexpr int Red = 1;
773 return this->value == data.value;
777 return this->value == data;
781 return this->value != data.value;
785 return this->value != data;
789 return this->value < data.value;
793 return this->value < data;
813 default:
return "Invalid Value";
819 os << data.ToString();
825 std::stringstream ss;
826 ss <<
"u_" << this->
value;
852 return this->value == data.value;
856 return this->value == data;
860 return this->value != data.value;
864 return this->value != data;
868 return this->value < data.value;
872 return this->value < data;
886 default:
return "Invalid Value";
892 os << data.ToString();
898 std::stringstream ss;
899 ss <<
"u_" << this->
value;
925 return this->value == data.value;
929 return this->value == data;
933 return this->value != data.value;
937 return this->value != data;
941 return this->value < data.value;
945 return this->value < data;
959 default:
return "Invalid Value";
965 os << data.ToString();
971 std::stringstream ss;
972 ss <<
"u_" << this->
value;
998 return this->value == data.value;
1002 return this->value == data;
1006 return this->value != data.value;
1010 return this->value != data;
1014 return this->value < data.value;
1018 return this->value < data;
1032 default:
return "Invalid Value";
1038 os << data.ToString();
1044 std::stringstream ss;
1045 ss <<
"u_" << this->
value;
1079 return this->value == data.value;
1083 return this->value == data;
1087 return this->value != data.value;
1091 return this->value != data;
1095 return this->value < data.value;
1099 return this->value < data;
1113 default:
return "Invalid Value";
1119 os << data.ToString();
1125 std::stringstream ss;
1126 ss <<
"u_" << this->
value;
1188 return this->value == data.value;
1192 return this->value == data;
1196 return this->value != data.value;
1200 return this->value != data;
1204 return this->value < data.value;
1208 return this->value < data;
1258 default:
return "Invalid Value";
1264 os << data.ToString();
1270 std::stringstream ss;
1271 ss <<
"u_" << this->
value;
1298 return this->value == data.value;
1302 return this->value == data;
1306 return this->value != data.value;
1310 return this->value != data;
1314 return this->value < data.value;
1318 return this->value < data;
1332 default:
return "Invalid Value";
1338 os << data.ToString();
1344 std::stringstream ss;
1345 ss <<
"u_" << this->
value;
1371 return this->value == data.value;
1375 return this->value == data;
1379 return this->value != data.value;
1383 return this->value != data;
1387 return this->value < data.value;
1391 return this->value < data;
1405 default:
return "Invalid Value";
1411 os << data.ToString();
1417 std::stringstream ss;
1418 ss <<
"u_" << this->
value;
1445 return this->value == data.value;
1449 return this->value == data;
1453 return this->value != data.value;
1457 return this->value != data;
1461 return this->value < data.value;
1465 return this->value < data;
1480 default:
return "Invalid Value";
1486 os << data.ToString();
1492 std::stringstream ss;
1493 ss <<
"u_" << this->
value;
1519 return this->value == data.value;
1523 return this->value == data;
1527 return this->value != data.value;
1531 return this->value != data;
1535 return this->value < data.value;
1539 return this->value < data;
1553 default:
return "Invalid Value";
1559 os << data.ToString();
1565 std::stringstream ss;
1566 ss <<
"u_" << this->
value;
1621 return this->value == data.value;
1625 return this->value == data;
1629 return this->value != data.value;
1633 return this->value != data;
1637 return this->value < data.value;
1641 return this->value < data;
1659 default:
return "Invalid Value";
1665 os << data.ToString();
1671 std::stringstream ss;
1672 ss <<
"u_" << this->
value;
1722 return this->value == data.value;
1726 return this->value == data;
1730 return this->value != data.value;
1734 return this->value != data;
1738 return this->value < data.value;
1742 return this->value < data;
1780 default:
return "Invalid Value";
1786 os << data.ToString();
1792 std::stringstream ss;
1793 ss <<
"u_" << this->
value;
1819 return this->value == data.value;
1823 return this->value == data;
1827 return this->value != data.value;
1831 return this->value != data;
1835 return this->value < data.value;
1839 return this->value < data;
1853 default:
return "Invalid Value";
1859 os << data.ToString();
1865 std::stringstream ss;
1866 ss <<
"u_" << this->
value;
1893 return this->value == data.value;
1897 return this->value == data;
1901 return this->value != data.value;
1905 return this->value != data;
1909 return this->value < data.value;
1913 return this->value < data;
1928 default:
return "Invalid Value";
1934 os << data.ToString();
1940 std::stringstream ss;
1941 ss <<
"u_" << this->
value;
1967 return this->value == data.value;
1971 return this->value == data;
1975 return this->value != data.value;
1979 return this->value != data;
1983 return this->value < data.value;
1987 return this->value < data;
2001 default:
return "Invalid Value";
2007 os << data.ToString();
2013 std::stringstream ss;
2014 ss <<
"u_" << this->
value;
2066 return this->value == data.value;
2070 return this->value == data;
2074 return this->value != data.value;
2078 return this->value != data;
2082 return this->value < data.value;
2086 return this->value < data;
2100 default:
return "Invalid Value";
2106 os << data.ToString();
2112 std::stringstream ss;
2113 ss <<
"u_" << this->
value;
2145 return this->value == data.value;
2149 return this->value == data;
2153 return this->value != data.value;
2157 return this->value != data;
2161 return this->value < data.value;
2165 return this->value < data;
2179 default:
return "Invalid Value";
2185 os << data.ToString();
2191 std::stringstream ss;
2192 ss <<
"u_" << this->
value;
2219 return this->value == data.value;
2223 return this->value == data;
2227 return this->value != data.value;
2231 return this->value != data;
2235 return this->value < data.value;
2239 return this->value < data;
2253 default:
return "Invalid Value";
2259 os << data.ToString();
2265 std::stringstream ss;
2266 ss <<
"u_" << this->
value;
2377 return this->value == data.value;
2381 return this->value == data;
2385 return this->value != data.value;
2389 return this->value != data;
2393 return this->value < data.value;
2397 return this->value < data;
2416 default:
return "Invalid Value";
2422 os << data.ToString();
2428 std::stringstream ss;
2429 ss <<
"u_" << this->
value;
2456 return this->value == data.value;
2460 return this->value == data;
2464 return this->value != data.value;
2468 return this->value != data;
2472 return this->value < data.value;
2476 return this->value < data;
2490 default:
return "Invalid Value";
2496 os << data.ToString();
2502 std::stringstream ss;
2503 ss <<
"u_" << this->
value;
2572 return this->value == data.value;
2576 return this->value == data;
2580 return this->value != data.value;
2584 return this->value != data;
2588 return this->value < data.value;
2592 return this->value < data;
2610 default:
return "Invalid Value";
2616 os << data.ToString();
2622 std::stringstream ss;
2623 ss <<
"u_" << this->
value;
2650 return this->value == data.value;
2654 return this->value == data;
2658 return this->value != data.value;
2662 return this->value != data;
2666 return this->value < data.value;
2670 return this->value < data;
2684 default:
return "Invalid Value";
2690 os << data.ToString();
2696 std::stringstream ss;
2697 ss <<
"u_" << this->
value;
2766 return this->value == data.value;
2770 return this->value == data;
2774 return this->value != data.value;
2778 return this->value != data;
2782 return this->value < data.value;
2786 return this->value < data;
2804 default:
return "Invalid Value";
2810 os << data.ToString();
2816 std::stringstream ss;
2817 ss <<
"u_" << this->
value;
2861 return this->value == data.value;
2865 return this->value == data;
2869 return this->value != data.value;
2873 return this->value != data;
2877 return this->value < data.value;
2881 return this->value < data;
2897 default:
return "Invalid Value";
2903 os << data.ToString();
2909 std::stringstream ss;
2910 ss <<
"u_" << this->
value;
2943 return this->value == data.value;
2947 return this->value == data;
2951 return this->value != data.value;
2955 return this->value != data;
2959 return this->value < data.value;
2963 return this->value < data;
2984 default:
return "Invalid Value";
2990 os << data.ToString();
2996 std::stringstream ss;
2997 ss <<
"u_" << this->
value;
3087 return this->value == data.value;
3091 return this->value == data;
3095 return this->value != data.value;
3099 return this->value != data;
3103 return this->value < data.value;
3107 return this->value < data;
3125 default:
return "Invalid Value";
3131 os << data.ToString();
3137 std::stringstream ss;
3138 ss <<
"u_" << this->
value;
3187 return this->value == data.value;
3191 return this->value == data;
3195 return this->value != data.value;
3199 return this->value != data;
3203 return this->value < data.value;
3207 return this->value < data;
3221 default:
return "Invalid Value";
3227 os << data.ToString();
3233 std::stringstream ss;
3234 ss <<
"u_" << this->
value;
3312 return this->value == data.value;
3316 return this->value == data;
3320 return this->value != data.value;
3324 return this->value != data;
3328 return this->value < data.value;
3332 return this->value < data;
3355 default:
return "Invalid Value";
3361 os << data.ToString();
3367 std::stringstream ss;
3368 ss <<
"u_" << this->
value;
3405 return this->value == data.value;
3409 return this->value == data;
3413 return this->value != data.value;
3417 return this->value != data;
3421 return this->value < data.value;
3425 return this->value < data;
3440 default:
return "Invalid Value";
3446 os << data.ToString();
3452 std::stringstream ss;
3453 ss <<
"u_" << this->
value;
3492 return this->value == data.value;
3496 return this->value == data;
3500 return this->value != data.value;
3504 return this->value != data;
3508 return this->value < data.value;
3512 return this->value < data;
3527 default:
return "Invalid Value";
3533 os << data.ToString();
3539 std::stringstream ss;
3540 ss <<
"u_" << this->
value;
Definition Serializable.hpp:15
The applied rotor polarity as seen from the front of the motor.
Definition SpnEnums.hpp:1056
constexpr AppliedRotorPolarityValue(int value)
Definition SpnEnums.hpp:1069
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1081
std::string Serialize() const
Definition SpnEnums.hpp:1123
constexpr bool operator!=(AppliedRotorPolarityValue data) const
Definition SpnEnums.hpp:1085
friend std::ostream & operator<<(std::ostream &os, AppliedRotorPolarityValue data)
Definition SpnEnums.hpp:1117
int value
Definition SpnEnums.hpp:1058
constexpr bool operator==(AppliedRotorPolarityValue data) const
Definition SpnEnums.hpp:1077
constexpr AppliedRotorPolarityValue()
Definition SpnEnums.hpp:1073
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1107
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1097
static constexpr int PositiveIsClockwise
Positive motor output results in clockwise motion.
Definition SpnEnums.hpp:1067
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1089
static constexpr int PositiveIsCounterClockwise
Positive motor output results in counter-clockwise motion.
Definition SpnEnums.hpp:1063
constexpr bool operator<(AppliedRotorPolarityValue data) const
Definition SpnEnums.hpp:1093
The applied output of the bridge.
Definition SpnEnums.hpp:2919
constexpr bool operator<(BridgeOutputValue data) const
Definition SpnEnums.hpp:2957
constexpr bool operator==(BridgeOutputValue data) const
Definition SpnEnums.hpp:2941
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:2961
constexpr bool operator!=(BridgeOutputValue data) const
Definition SpnEnums.hpp:2949
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:2945
friend std::ostream & operator<<(std::ostream &os, BridgeOutputValue data)
Definition SpnEnums.hpp:2988
static constexpr int BridgeReq_FaultCoast
Definition SpnEnums.hpp:2930
static constexpr int BridgeReq_FOCEasy
Definition SpnEnums.hpp:2928
std::string Serialize() const
Definition SpnEnums.hpp:2994
static constexpr int BridgeReq_Trapez
Definition SpnEnums.hpp:2925
static constexpr int BridgeReq_ActiveBrake
Definition SpnEnums.hpp:2931
constexpr BridgeOutputValue(int value)
Definition SpnEnums.hpp:2933
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:2971
static constexpr int BridgeReq_MusicTone
Definition SpnEnums.hpp:2927
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:2953
static constexpr int BridgeReq_Brake
Definition SpnEnums.hpp:2924
static constexpr int BridgeReq_FOCTorque
Definition SpnEnums.hpp:2926
constexpr BridgeOutputValue()
Definition SpnEnums.hpp:2937
int value
Definition SpnEnums.hpp:2921
static constexpr int BridgeReq_FaultBrake
Definition SpnEnums.hpp:2929
static constexpr int BridgeReq_Coast
Definition SpnEnums.hpp:2923
The type of motor attached to the Talon.
Definition SpnEnums.hpp:3247
int value
Definition SpnEnums.hpp:3249
static constexpr int Falcon500_Integrated
Talon is attached to an integrated Falcon motor.
Definition SpnEnums.hpp:3258
static constexpr int NEO550_JST
Talon is connected to a third party NEO550 brushless three phase motor.
Definition SpnEnums.hpp:3295
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:3330
static constexpr int KrakenX44_Integrated
Talon is attached to an integrated Kraken X44 motor.
Definition SpnEnums.hpp:3266
std::string Serialize() const
Definition SpnEnums.hpp:3365
static constexpr int Brushed_AC
Talon is connected to a third party brushed DC motor with leads A and C.
Definition SpnEnums.hpp:3281
constexpr bool operator!=(ConnectedMotorValue data) const
Definition SpnEnums.hpp:3318
static constexpr int NEO_JST
Talon is connected to a third party NEO brushless three phase motor.
Definition SpnEnums.hpp:3290
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:3322
static constexpr int Brushed_AB
Talon is connected to a third party brushed DC motor with leads A and B.
Definition SpnEnums.hpp:3276
static constexpr int Brushed_BC
Talon is connected to a third party brushed DC motor with leads B and C.
Definition SpnEnums.hpp:3286
constexpr ConnectedMotorValue(int value)
Definition SpnEnums.hpp:3302
static constexpr int Minion_JST
Talon is connected to a CTR Electronics Minion® brushless three phase motor.
Definition SpnEnums.hpp:3271
constexpr bool operator<(ConnectedMotorValue data) const
Definition SpnEnums.hpp:3326
constexpr bool operator==(ConnectedMotorValue data) const
Definition SpnEnums.hpp:3310
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:3340
static constexpr int KrakenX60_Integrated
Talon is attached to an integrated Kraken X60 motor.
Definition SpnEnums.hpp:3262
friend std::ostream & operator<<(std::ostream &os, ConnectedMotorValue data)
Definition SpnEnums.hpp:3359
constexpr ConnectedMotorValue()
Definition SpnEnums.hpp:3306
static constexpr int VORTEX_JST
Talon is connected to a third party VORTEX brushless three phase motor.
Definition SpnEnums.hpp:3300
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:3314
static constexpr int Unknown
Talon could not determine the type of motor attached.
Definition SpnEnums.hpp:3254
The active control mode of the motor controller.
Definition SpnEnums.hpp:1135
static constexpr int MotionMagicVoltage
Definition SpnEnums.hpp:1153
static constexpr int PositionDutyCycle
Definition SpnEnums.hpp:1143
static constexpr int Follower
Definition SpnEnums.hpp:1162
static constexpr int MotionMagicExpoDutyCycleFOC
Definition SpnEnums.hpp:1173
static constexpr int VelocityVoltage
Definition SpnEnums.hpp:1152
static constexpr int VoltageFOC
Definition SpnEnums.hpp:1154
static constexpr int MotionMagicDutyCycleFOC
Definition SpnEnums.hpp:1149
static constexpr int DutyCycleFOC
Definition SpnEnums.hpp:1146
static constexpr int MusicTone
Definition SpnEnums.hpp:1166
static constexpr int VelocityDutyCycleFOC
Definition SpnEnums.hpp:1148
int value
Definition SpnEnums.hpp:1137
static constexpr int MotionMagicExpoDutyCycle
Definition SpnEnums.hpp:1172
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1216
static constexpr int MotionMagicVoltageFOC
Definition SpnEnums.hpp:1157
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1190
static constexpr int CoastOut
Definition SpnEnums.hpp:1164
static constexpr int DisabledOutput
Definition SpnEnums.hpp:1139
constexpr bool operator==(ControlModeValue data) const
Definition SpnEnums.hpp:1186
static constexpr int NeutralOut
Definition SpnEnums.hpp:1140
static constexpr int MotionMagicVelocityVoltageFOC
Definition SpnEnums.hpp:1170
static constexpr int MotionMagicExpoVoltage
Definition SpnEnums.hpp:1174
static constexpr int VoltageOut
Definition SpnEnums.hpp:1150
static constexpr int MotionMagicExpoTorqueCurrentFOC
Definition SpnEnums.hpp:1176
static constexpr int VelocityTorqueCurrentFOC
Definition SpnEnums.hpp:1160
static constexpr int MotionMagicExpoVoltageFOC
Definition SpnEnums.hpp:1175
constexpr ControlModeValue()
Definition SpnEnums.hpp:1182
std::string Serialize() const
Definition SpnEnums.hpp:1268
constexpr bool operator<(ControlModeValue data) const
Definition SpnEnums.hpp:1202
static constexpr int MotionMagicVelocityVoltage
Definition SpnEnums.hpp:1169
static constexpr int MotionMagicVelocityDutyCycle
Definition SpnEnums.hpp:1167
constexpr bool operator!=(ControlModeValue data) const
Definition SpnEnums.hpp:1194
friend std::ostream & operator<<(std::ostream &os, ControlModeValue data)
Definition SpnEnums.hpp:1262
static constexpr int PositionVoltage
Definition SpnEnums.hpp:1151
static constexpr int PositionTorqueCurrentFOC
Definition SpnEnums.hpp:1159
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1198
static constexpr int VelocityVoltageFOC
Definition SpnEnums.hpp:1156
static constexpr int Reserved
Definition SpnEnums.hpp:1163
static constexpr int MotionMagicTorqueCurrentFOC
Definition SpnEnums.hpp:1161
static constexpr int PositionVoltageFOC
Definition SpnEnums.hpp:1155
static constexpr int MotionMagicDutyCycle
Definition SpnEnums.hpp:1145
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1206
static constexpr int PositionDutyCycleFOC
Definition SpnEnums.hpp:1147
static constexpr int TorqueCurrentFOC
Definition SpnEnums.hpp:1158
static constexpr int UnauthorizedDevice
Definition SpnEnums.hpp:1165
static constexpr int StaticBrake
Definition SpnEnums.hpp:1141
static constexpr int MotionMagicVelocityTorqueCurrentFOC
Definition SpnEnums.hpp:1171
static constexpr int VelocityDutyCycle
Definition SpnEnums.hpp:1144
static constexpr int DutyCycleOut
Definition SpnEnums.hpp:1142
constexpr ControlModeValue(int value)
Definition SpnEnums.hpp:1178
static constexpr int MotionMagicVelocityDutyCycleFOC
Definition SpnEnums.hpp:1168
Whether the device is enabled.
Definition SpnEnums.hpp:835
std::string Serialize() const
Definition SpnEnums.hpp:896
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:880
constexpr bool operator==(DeviceEnableValue data) const
Definition SpnEnums.hpp:850
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:862
int value
Definition SpnEnums.hpp:837
static constexpr int Enabled
Definition SpnEnums.hpp:839
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:870
constexpr DeviceEnableValue()
Definition SpnEnums.hpp:846
friend std::ostream & operator<<(std::ostream &os, DeviceEnableValue data)
Definition SpnEnums.hpp:890
constexpr bool operator!=(DeviceEnableValue data) const
Definition SpnEnums.hpp:858
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:854
constexpr bool operator<(DeviceEnableValue data) const
Definition SpnEnums.hpp:866
constexpr DeviceEnableValue(int value)
Definition SpnEnums.hpp:842
static constexpr int Disabled
Definition SpnEnums.hpp:840
The output mode of the differential PID controller.
Definition SpnEnums.hpp:1875
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1911
constexpr DiffPIDOutput_PIDOutputModeValue()
Definition SpnEnums.hpp:1887
static constexpr int TorqueCurrentFOC
Definition SpnEnums.hpp:1881
constexpr bool operator!=(DiffPIDOutput_PIDOutputModeValue data) const
Definition SpnEnums.hpp:1899
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1921
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1903
constexpr bool operator==(DiffPIDOutput_PIDOutputModeValue data) const
Definition SpnEnums.hpp:1891
std::string Serialize() const
Definition SpnEnums.hpp:1938
friend std::ostream & operator<<(std::ostream &os, DiffPIDOutput_PIDOutputModeValue data)
Definition SpnEnums.hpp:1932
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1895
constexpr DiffPIDOutput_PIDOutputModeValue(int value)
Definition SpnEnums.hpp:1883
static constexpr int Voltage
Definition SpnEnums.hpp:1880
static constexpr int DutyCycle
Definition SpnEnums.hpp:1879
int value
Definition SpnEnums.hpp:1877
constexpr bool operator<(DiffPIDOutput_PIDOutputModeValue data) const
Definition SpnEnums.hpp:1907
Whether the closed-loop is running on position or velocity.
Definition SpnEnums.hpp:1802
std::string Serialize() const
Definition SpnEnums.hpp:1863
constexpr bool operator<(DiffPIDRefPIDErr_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1833
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1821
friend std::ostream & operator<<(std::ostream &os, DiffPIDRefPIDErr_ClosedLoopModeValue data)
Definition SpnEnums.hpp:1857
constexpr DiffPIDRefPIDErr_ClosedLoopModeValue()
Definition SpnEnums.hpp:1813
int value
Definition SpnEnums.hpp:1804
static constexpr int Velocity
Definition SpnEnums.hpp:1807
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1837
constexpr DiffPIDRefPIDErr_ClosedLoopModeValue(int value)
Definition SpnEnums.hpp:1809
constexpr bool operator!=(DiffPIDRefPIDErr_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1825
static constexpr int Position
Definition SpnEnums.hpp:1806
constexpr bool operator==(DiffPIDRefPIDErr_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1817
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1847
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1829
Whether the closed-loop is running on position or velocity.
Definition SpnEnums.hpp:1950
constexpr bool operator!=(DiffPIDRefSlopeECUTime_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1973
static constexpr int Position
Definition SpnEnums.hpp:1954
std::string Serialize() const
Definition SpnEnums.hpp:2011
constexpr DiffPIDRefSlopeECUTime_ClosedLoopModeValue()
Definition SpnEnums.hpp:1961
friend std::ostream & operator<<(std::ostream &os, DiffPIDRefSlopeECUTime_ClosedLoopModeValue data)
Definition SpnEnums.hpp:2005
constexpr DiffPIDRefSlopeECUTime_ClosedLoopModeValue(int value)
Definition SpnEnums.hpp:1957
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1969
int value
Definition SpnEnums.hpp:1952
constexpr bool operator<(DiffPIDRefSlopeECUTime_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1981
static constexpr int Velocity
Definition SpnEnums.hpp:1955
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1995
constexpr bool operator==(DiffPIDRefSlopeECUTime_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1965
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1985
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1977
The active control mode of the differential controller.
Definition SpnEnums.hpp:1681
static constexpr int MotionMagicVoltage
Definition SpnEnums.hpp:1699
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1724
static constexpr int NeutralOut
Definition SpnEnums.hpp:1686
static constexpr int PositionDutyCycle
Definition SpnEnums.hpp:1689
constexpr bool operator!=(DifferentialControlModeValue data) const
Definition SpnEnums.hpp:1728
static constexpr int VelocityTorqueCurrentFOC
Definition SpnEnums.hpp:1706
static constexpr int Reserved
Definition SpnEnums.hpp:1709
static constexpr int PositionVoltageFOC
Definition SpnEnums.hpp:1701
static constexpr int MotionMagicTorqueCurrentFOC
Definition SpnEnums.hpp:1707
static constexpr int VelocityDutyCycleFOC
Definition SpnEnums.hpp:1694
static constexpr int TorqueCurrentFOC
Definition SpnEnums.hpp:1704
static constexpr int VoltageOut
Definition SpnEnums.hpp:1696
static constexpr int VelocityVoltageFOC
Definition SpnEnums.hpp:1702
static constexpr int MotionMagicDutyCycleFOC
Definition SpnEnums.hpp:1695
static constexpr int MotionMagicVoltageFOC
Definition SpnEnums.hpp:1703
static constexpr int Follower
Definition SpnEnums.hpp:1708
static constexpr int DisabledOutput
Definition SpnEnums.hpp:1685
int value
Definition SpnEnums.hpp:1683
static constexpr int VoltageFOC
Definition SpnEnums.hpp:1700
constexpr DifferentialControlModeValue()
Definition SpnEnums.hpp:1716
static constexpr int DutyCycleOut
Definition SpnEnums.hpp:1688
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1732
std::string Serialize() const
Definition SpnEnums.hpp:1790
static constexpr int PositionVoltage
Definition SpnEnums.hpp:1697
static constexpr int StaticBrake
Definition SpnEnums.hpp:1687
friend std::ostream & operator<<(std::ostream &os, DifferentialControlModeValue data)
Definition SpnEnums.hpp:1784
static constexpr int PositionTorqueCurrentFOC
Definition SpnEnums.hpp:1705
static constexpr int MotionMagicDutyCycle
Definition SpnEnums.hpp:1691
constexpr bool operator<(DifferentialControlModeValue data) const
Definition SpnEnums.hpp:1736
static constexpr int VelocityDutyCycle
Definition SpnEnums.hpp:1690
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1750
static constexpr int PositionDutyCycleFOC
Definition SpnEnums.hpp:1693
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1740
static constexpr int CoastOut
Definition SpnEnums.hpp:1710
constexpr bool operator==(DifferentialControlModeValue data) const
Definition SpnEnums.hpp:1720
static constexpr int DutyCycleFOC
Definition SpnEnums.hpp:1692
constexpr DifferentialControlModeValue(int value)
Definition SpnEnums.hpp:1712
static constexpr int VelocityVoltage
Definition SpnEnums.hpp:1698
Choose what sensor source is used for differential control of a mechanism.
Definition SpnEnums.hpp:3029
static constexpr int Disabled
Disable differential control.
Definition SpnEnums.hpp:3036
static constexpr int RemoteTalonFX_Diff
Use another TalonFX on the same CAN bus.
Definition SpnEnums.hpp:3044
constexpr bool operator<(DifferentialSensorSourceValue data) const
Definition SpnEnums.hpp:3101
constexpr bool operator==(DifferentialSensorSourceValue data) const
Definition SpnEnums.hpp:3085
int value
Definition SpnEnums.hpp:3031
static constexpr int RemoteCANcoder
Use another CANcoder on the same CAN bus (this also requires setting DifferentialRemoteSensorID).
Definition SpnEnums.hpp:3075
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:3089
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:3105
static constexpr int RemotePigeon2_Pitch
Use another Pigeon2 on the same CAN bus (this also requires setting DifferentialRemoteSensorID).
Definition SpnEnums.hpp:3060
static constexpr int RemotePigeon2_Roll
Use another Pigeon2 on the same CAN bus (this also requires setting DifferentialRemoteSensorID).
Definition SpnEnums.hpp:3068
static constexpr int RemotePigeon2_Yaw
Use another Pigeon2 on the same CAN bus (this also requires setting DifferentialRemoteSensorID).
Definition SpnEnums.hpp:3052
constexpr bool operator!=(DifferentialSensorSourceValue data) const
Definition SpnEnums.hpp:3093
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:3097
std::string Serialize() const
Definition SpnEnums.hpp:3135
friend std::ostream & operator<<(std::ostream &os, DifferentialSensorSourceValue data)
Definition SpnEnums.hpp:3129
constexpr DifferentialSensorSourceValue()
Definition SpnEnums.hpp:3081
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:3115
constexpr DifferentialSensorSourceValue(int value)
Definition SpnEnums.hpp:3077
Choose what sensor source is reported via API and used by closed-loop and limit features.
Definition SpnEnums.hpp:2310
constexpr FeedbackSensorSourceValue(int value)
Definition SpnEnums.hpp:2367
static constexpr int RemoteCANcoder
Use another CANcoder on the same CAN bus (this also requires setting FeedbackRemoteSensorID).
Definition SpnEnums.hpp:2324
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:2395
static constexpr int RemotePigeon2_Pitch
Use another Pigeon2 on the same CAN bus (this also requires setting FeedbackRemoteSensorID).
Definition SpnEnums.hpp:2338
static constexpr int RemotePigeon2_Yaw
Use another Pigeon2 on the same CAN bus (this also requires setting FeedbackRemoteSensorID).
Definition SpnEnums.hpp:2331
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:2387
static constexpr int RemotePigeon2_Roll
Use another Pigeon2 on the same CAN bus (this also requires setting FeedbackRemoteSensorID).
Definition SpnEnums.hpp:2345
constexpr FeedbackSensorSourceValue()
Definition SpnEnums.hpp:2371
constexpr bool operator==(FeedbackSensorSourceValue data) const
Definition SpnEnums.hpp:2375
constexpr bool operator<(FeedbackSensorSourceValue data) const
Definition SpnEnums.hpp:2391
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:2379
int value
Definition SpnEnums.hpp:2312
static constexpr int SyncCANcoder
Requires Phoenix Pro; Talon will synchronize its internal rotor position against another CANcoder,...
Definition SpnEnums.hpp:2365
static constexpr int RotorSensor
Use the internal rotor sensor in the Talon.
Definition SpnEnums.hpp:2317
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:2405
std::string Serialize() const
Definition SpnEnums.hpp:2426
static constexpr int FusedCANcoder
Requires Phoenix Pro; Talon will fuse another CANcoder's information with the internal rotor,...
Definition SpnEnums.hpp:2353
constexpr bool operator!=(FeedbackSensorSourceValue data) const
Definition SpnEnums.hpp:2383
friend std::ostream & operator<<(std::ostream &os, FeedbackSensorSourceValue data)
Definition SpnEnums.hpp:2420
Determines where to poll the forward limit switch.
Definition SpnEnums.hpp:2526
constexpr bool operator!=(ForwardLimitSourceValue data) const
Definition SpnEnums.hpp:2578
static constexpr int LimitSwitchPin
Use the forward limit switch pin on the limit switch connector.
Definition SpnEnums.hpp:2533
std::string Serialize() const
Definition SpnEnums.hpp:2620
static constexpr int RemoteTalonFX
Use the forward limit switch attached to another Talon FX on the same CAN bus (this also requires set...
Definition SpnEnums.hpp:2538
constexpr bool operator==(ForwardLimitSourceValue data) const
Definition SpnEnums.hpp:2570
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:2582
constexpr ForwardLimitSourceValue(int value)
Definition SpnEnums.hpp:2562
constexpr ForwardLimitSourceValue()
Definition SpnEnums.hpp:2566
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:2600
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:2590
constexpr bool operator<(ForwardLimitSourceValue data) const
Definition SpnEnums.hpp:2586
friend std::ostream & operator<<(std::ostream &os, ForwardLimitSourceValue data)
Definition SpnEnums.hpp:2614
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:2574
static constexpr int RemoteCANifier
Use the forward limit switch attached to another CANifier on the same CAN bus (this also requires set...
Definition SpnEnums.hpp:2543
int value
Definition SpnEnums.hpp:2528
static constexpr int Disabled
Disable the forward limit switch.
Definition SpnEnums.hpp:2560
static constexpr int RemoteCANrange
Use another CANrange on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID).
Definition SpnEnums.hpp:2556
static constexpr int RemoteCANcoder
Use another CANcoder on the same CAN bus (this also requires setting ForwardLimitRemoteSensorID).
Definition SpnEnums.hpp:2550
Determines if the forward limit switch is normally-open (default) or normally-closed.
Definition SpnEnums.hpp:2439
static constexpr int NormallyClosed
Definition SpnEnums.hpp:2444
constexpr bool operator<(ForwardLimitTypeValue data) const
Definition SpnEnums.hpp:2470
constexpr bool operator==(ForwardLimitTypeValue data) const
Definition SpnEnums.hpp:2454
constexpr ForwardLimitTypeValue()
Definition SpnEnums.hpp:2450
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:2466
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:2458
constexpr ForwardLimitTypeValue(int value)
Definition SpnEnums.hpp:2446
constexpr bool operator!=(ForwardLimitTypeValue data) const
Definition SpnEnums.hpp:2462
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:2484
static constexpr int NormallyOpen
Definition SpnEnums.hpp:2443
std::string Serialize() const
Definition SpnEnums.hpp:2500
friend std::ostream & operator<<(std::ostream &os, ForwardLimitTypeValue data)
Definition SpnEnums.hpp:2494
int value
Definition SpnEnums.hpp:2441
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:2474
Forward Limit Pin.
Definition SpnEnums.hpp:908
constexpr ForwardLimitValue(int value)
Definition SpnEnums.hpp:915
constexpr bool operator<(ForwardLimitValue data) const
Definition SpnEnums.hpp:939
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:943
static constexpr int ClosedToGround
Definition SpnEnums.hpp:912
constexpr ForwardLimitValue()
Definition SpnEnums.hpp:919
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:935
std::string Serialize() const
Definition SpnEnums.hpp:969
friend std::ostream & operator<<(std::ostream &os, ForwardLimitValue data)
Definition SpnEnums.hpp:963
int value
Definition SpnEnums.hpp:910
constexpr bool operator!=(ForwardLimitValue data) const
Definition SpnEnums.hpp:931
constexpr bool operator==(ForwardLimitValue data) const
Definition SpnEnums.hpp:923
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:953
static constexpr int Open
Definition SpnEnums.hpp:913
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:927
Whether device is locked by FRC.
Definition SpnEnums.hpp:349
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:376
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:394
static constexpr int Frc_Locked
Definition SpnEnums.hpp:353
constexpr FrcLockValue(int value)
Definition SpnEnums.hpp:356
static constexpr int Frc_Unlocked
Definition SpnEnums.hpp:354
int value
Definition SpnEnums.hpp:351
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:384
constexpr FrcLockValue()
Definition SpnEnums.hpp:360
friend std::ostream & operator<<(std::ostream &os, FrcLockValue data)
Definition SpnEnums.hpp:404
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:368
constexpr bool operator==(FrcLockValue data) const
Definition SpnEnums.hpp:364
constexpr bool operator<(FrcLockValue data) const
Definition SpnEnums.hpp:380
std::string Serialize() const
Definition SpnEnums.hpp:410
constexpr bool operator!=(FrcLockValue data) const
Definition SpnEnums.hpp:372
Gravity Feedforward/Feedback Type.
Definition SpnEnums.hpp:2037
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:2084
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:2094
constexpr GravityTypeValue()
Definition SpnEnums.hpp:2060
constexpr GravityTypeValue(int value)
Definition SpnEnums.hpp:2056
static constexpr int Elevator_Static
The system's gravity feedforward is constant, such as an elevator.
Definition SpnEnums.hpp:2045
int value
Definition SpnEnums.hpp:2039
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:2076
std::string Serialize() const
Definition SpnEnums.hpp:2110
constexpr bool operator!=(GravityTypeValue data) const
Definition SpnEnums.hpp:2072
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:2068
friend std::ostream & operator<<(std::ostream &os, GravityTypeValue data)
Definition SpnEnums.hpp:2104
constexpr bool operator==(GravityTypeValue data) const
Definition SpnEnums.hpp:2064
constexpr bool operator<(GravityTypeValue data) const
Definition SpnEnums.hpp:2080
static constexpr int Arm_Cosine
The system's gravity feedback is dependent on the angular position of the mechanism,...
Definition SpnEnums.hpp:2054
Invert state of the device as seen from the front of the motor.
Definition SpnEnums.hpp:2122
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:2163
static constexpr int CounterClockwise_Positive
Positive motor output results in clockwise motion.
Definition SpnEnums.hpp:2129
constexpr bool operator!=(InvertedValue data) const
Definition SpnEnums.hpp:2151
constexpr InvertedValue(int value)
Definition SpnEnums.hpp:2135
int value
Definition SpnEnums.hpp:2124
static constexpr int Clockwise_Positive
Positive motor output results in counter-clockwise motion.
Definition SpnEnums.hpp:2133
std::string Serialize() const
Definition SpnEnums.hpp:2189
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:2173
friend std::ostream & operator<<(std::ostream &os, InvertedValue data)
Definition SpnEnums.hpp:2183
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:2147
constexpr InvertedValue()
Definition SpnEnums.hpp:2139
constexpr bool operator<(InvertedValue data) const
Definition SpnEnums.hpp:2159
constexpr bool operator==(InvertedValue data) const
Definition SpnEnums.hpp:2143
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:2155
Whether the device is Pro licensed.
Definition SpnEnums.hpp:123
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:142
static constexpr int NotLicensed
Definition SpnEnums.hpp:127
int value
Definition SpnEnums.hpp:125
constexpr bool operator!=(IsPROLicensedValue data) const
Definition SpnEnums.hpp:146
constexpr bool operator==(IsPROLicensedValue data) const
Definition SpnEnums.hpp:138
static constexpr int Licensed
Definition SpnEnums.hpp:128
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:150
constexpr IsPROLicensedValue(int value)
Definition SpnEnums.hpp:130
constexpr bool operator<(IsPROLicensedValue data) const
Definition SpnEnums.hpp:154
constexpr IsPROLicensedValue()
Definition SpnEnums.hpp:134
friend std::ostream & operator<<(std::ostream &os, IsPROLicensedValue data)
Definition SpnEnums.hpp:178
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:158
std::string Serialize() const
Definition SpnEnums.hpp:184
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:168
The Color of LED1 when it's "Off".
Definition SpnEnums.hpp:580
constexpr bool operator<(Led1OffColorValue data) const
Definition SpnEnums.hpp:617
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:631
constexpr Led1OffColorValue()
Definition SpnEnums.hpp:597
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:605
static constexpr int Orange
Definition SpnEnums.hpp:587
static constexpr int Red
Definition SpnEnums.hpp:585
static constexpr int White
Definition SpnEnums.hpp:591
static constexpr int Off
Definition SpnEnums.hpp:584
constexpr bool operator!=(Led1OffColorValue data) const
Definition SpnEnums.hpp:609
static constexpr int Blue
Definition SpnEnums.hpp:588
static constexpr int Cyan
Definition SpnEnums.hpp:590
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:613
int value
Definition SpnEnums.hpp:582
std::string Serialize() const
Definition SpnEnums.hpp:653
constexpr bool operator==(Led1OffColorValue data) const
Definition SpnEnums.hpp:601
static constexpr int Pink
Definition SpnEnums.hpp:589
constexpr Led1OffColorValue(int value)
Definition SpnEnums.hpp:593
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:621
friend std::ostream & operator<<(std::ostream &os, Led1OffColorValue data)
Definition SpnEnums.hpp:647
static constexpr int Green
Definition SpnEnums.hpp:586
The Color of LED1 when it's "On".
Definition SpnEnums.hpp:495
static constexpr int Cyan
Definition SpnEnums.hpp:505
constexpr Led1OnColorValue()
Definition SpnEnums.hpp:512
constexpr bool operator==(Led1OnColorValue data) const
Definition SpnEnums.hpp:516
static constexpr int Pink
Definition SpnEnums.hpp:504
constexpr Led1OnColorValue(int value)
Definition SpnEnums.hpp:508
static constexpr int Blue
Definition SpnEnums.hpp:503
static constexpr int White
Definition SpnEnums.hpp:506
static constexpr int Green
Definition SpnEnums.hpp:501
static constexpr int Red
Definition SpnEnums.hpp:500
static constexpr int Off
Definition SpnEnums.hpp:499
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:536
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:528
static constexpr int Orange
Definition SpnEnums.hpp:502
constexpr bool operator!=(Led1OnColorValue data) const
Definition SpnEnums.hpp:524
constexpr bool operator<(Led1OnColorValue data) const
Definition SpnEnums.hpp:532
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:546
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:520
int value
Definition SpnEnums.hpp:497
std::string Serialize() const
Definition SpnEnums.hpp:568
friend std::ostream & operator<<(std::ostream &os, Led1OnColorValue data)
Definition SpnEnums.hpp:562
The Color of LED2 when it's "Off".
Definition SpnEnums.hpp:750
static constexpr int Pink
Definition SpnEnums.hpp:759
static constexpr int Red
Definition SpnEnums.hpp:755
static constexpr int Blue
Definition SpnEnums.hpp:758
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:801
constexpr bool operator<(Led2OffColorValue data) const
Definition SpnEnums.hpp:787
constexpr Led2OffColorValue()
Definition SpnEnums.hpp:767
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:775
static constexpr int Cyan
Definition SpnEnums.hpp:760
int value
Definition SpnEnums.hpp:752
static constexpr int Off
Definition SpnEnums.hpp:754
std::string Serialize() const
Definition SpnEnums.hpp:823
static constexpr int White
Definition SpnEnums.hpp:761
friend std::ostream & operator<<(std::ostream &os, Led2OffColorValue data)
Definition SpnEnums.hpp:817
constexpr bool operator==(Led2OffColorValue data) const
Definition SpnEnums.hpp:771
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:791
constexpr bool operator!=(Led2OffColorValue data) const
Definition SpnEnums.hpp:779
constexpr Led2OffColorValue(int value)
Definition SpnEnums.hpp:763
static constexpr int Orange
Definition SpnEnums.hpp:757
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:783
static constexpr int Green
Definition SpnEnums.hpp:756
The Color of LED2 when it's "On".
Definition SpnEnums.hpp:665
static constexpr int Red
Definition SpnEnums.hpp:670
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:698
std::string Serialize() const
Definition SpnEnums.hpp:738
constexpr bool operator==(Led2OnColorValue data) const
Definition SpnEnums.hpp:686
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:690
static constexpr int Green
Definition SpnEnums.hpp:671
static constexpr int Pink
Definition SpnEnums.hpp:674
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:716
static constexpr int Cyan
Definition SpnEnums.hpp:675
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:706
constexpr bool operator<(Led2OnColorValue data) const
Definition SpnEnums.hpp:702
friend std::ostream & operator<<(std::ostream &os, Led2OnColorValue data)
Definition SpnEnums.hpp:732
static constexpr int Blue
Definition SpnEnums.hpp:673
static constexpr int Orange
Definition SpnEnums.hpp:672
static constexpr int White
Definition SpnEnums.hpp:676
static constexpr int Off
Definition SpnEnums.hpp:669
int value
Definition SpnEnums.hpp:667
constexpr Led2OnColorValue(int value)
Definition SpnEnums.hpp:678
constexpr Led2OnColorValue()
Definition SpnEnums.hpp:682
constexpr bool operator!=(Led2OnColorValue data) const
Definition SpnEnums.hpp:694
Whether the device is Season Pass licensed.
Definition SpnEnums.hpp:196
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:231
static constexpr int NotLicensed
Definition SpnEnums.hpp:200
constexpr bool operator!=(Licensing_IsSeasonPassedValue data) const
Definition SpnEnums.hpp:219
constexpr Licensing_IsSeasonPassedValue()
Definition SpnEnums.hpp:207
friend std::ostream & operator<<(std::ostream &os, Licensing_IsSeasonPassedValue data)
Definition SpnEnums.hpp:251
constexpr bool operator<(Licensing_IsSeasonPassedValue data) const
Definition SpnEnums.hpp:227
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:223
std::string Serialize() const
Definition SpnEnums.hpp:257
constexpr bool operator==(Licensing_IsSeasonPassedValue data) const
Definition SpnEnums.hpp:211
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:215
constexpr Licensing_IsSeasonPassedValue(int value)
Definition SpnEnums.hpp:203
int value
Definition SpnEnums.hpp:198
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:241
static constexpr int Licensed
Definition SpnEnums.hpp:201
Magnet health as measured by CANcoder.
Definition SpnEnums.hpp:2830
friend std::ostream & operator<<(std::ostream &os, MagnetHealthValue data)
Definition SpnEnums.hpp:2901
static constexpr int Magnet_Orange
Magnet health is adequate but with reduced accuracy.
Definition SpnEnums.hpp:2841
constexpr bool operator!=(MagnetHealthValue data) const
Definition SpnEnums.hpp:2867
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:2889
static constexpr int Magnet_Red
The magnet is too close or too far from the CANcoder.
Definition SpnEnums.hpp:2837
constexpr bool operator==(MagnetHealthValue data) const
Definition SpnEnums.hpp:2859
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:2863
static constexpr int Magnet_Green
Magnet health is ideal.
Definition SpnEnums.hpp:2845
std::string Serialize() const
Definition SpnEnums.hpp:2907
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:2871
constexpr MagnetHealthValue()
Definition SpnEnums.hpp:2855
int value
Definition SpnEnums.hpp:2832
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:2879
static constexpr int Magnet_Invalid
The accuracy cannot be determined.
Definition SpnEnums.hpp:2849
constexpr MagnetHealthValue(int value)
Definition SpnEnums.hpp:2851
constexpr bool operator<(MagnetHealthValue data) const
Definition SpnEnums.hpp:2875
Health of the distance measurement.
Definition SpnEnums.hpp:3377
constexpr bool operator==(MeasurementHealthValue data) const
Definition SpnEnums.hpp:3403
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:3415
static constexpr int Good
Measurement is good.
Definition SpnEnums.hpp:3384
constexpr MeasurementHealthValue(int value)
Definition SpnEnums.hpp:3395
static constexpr int Limited
Measurement is likely okay, but the target is either very far away or moving very quickly.
Definition SpnEnums.hpp:3389
constexpr bool operator<(MeasurementHealthValue data) const
Definition SpnEnums.hpp:3419
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:3423
std::string Serialize() const
Definition SpnEnums.hpp:3450
static constexpr int Bad
Measurement is compromised.
Definition SpnEnums.hpp:3393
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:3407
constexpr bool operator!=(MeasurementHealthValue data) const
Definition SpnEnums.hpp:3411
friend std::ostream & operator<<(std::ostream &os, MeasurementHealthValue data)
Definition SpnEnums.hpp:3444
constexpr MeasurementHealthValue()
Definition SpnEnums.hpp:3399
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:3433
int value
Definition SpnEnums.hpp:3379
Check if Motion Magic® is running.
Definition SpnEnums.hpp:1281
constexpr bool operator<(MotionMagicIsRunningValue data) const
Definition SpnEnums.hpp:1312
int value
Definition SpnEnums.hpp:1283
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1308
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1300
constexpr bool operator!=(MotionMagicIsRunningValue data) const
Definition SpnEnums.hpp:1304
constexpr MotionMagicIsRunningValue()
Definition SpnEnums.hpp:1292
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1326
constexpr bool operator==(MotionMagicIsRunningValue data) const
Definition SpnEnums.hpp:1296
constexpr MotionMagicIsRunningValue(int value)
Definition SpnEnums.hpp:1288
std::string Serialize() const
Definition SpnEnums.hpp:1342
static constexpr int Disabled
Definition SpnEnums.hpp:1286
friend std::ostream & operator<<(std::ostream &os, MotionMagicIsRunningValue data)
Definition SpnEnums.hpp:1336
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1316
static constexpr int Enabled
Definition SpnEnums.hpp:1285
Assess the status of the motor output with respect to load and supply.
Definition SpnEnums.hpp:1578
std::string Serialize() const
Definition SpnEnums.hpp:1669
constexpr MotorOutputStatusValue()
Definition SpnEnums.hpp:1615
static constexpr int RegenBraking
The motor is braking in such a way where motor current is traveling back to the supply (typically a b...
Definition SpnEnums.hpp:1609
static constexpr int Off
Motor output is disabled.
Definition SpnEnums.hpp:1589
static constexpr int Motoring
The motor is loaded in a typical fashion, drawing current from the supply, and successfully turning t...
Definition SpnEnums.hpp:1599
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1649
constexpr MotorOutputStatusValue(int value)
Definition SpnEnums.hpp:1611
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1639
constexpr bool operator==(MotorOutputStatusValue data) const
Definition SpnEnums.hpp:1619
constexpr bool operator!=(MotorOutputStatusValue data) const
Definition SpnEnums.hpp:1627
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1623
friend std::ostream & operator<<(std::ostream &os, MotorOutputStatusValue data)
Definition SpnEnums.hpp:1663
constexpr bool operator<(MotorOutputStatusValue data) const
Definition SpnEnums.hpp:1635
static constexpr int StaticBraking
The motor is in neutral-brake.
Definition SpnEnums.hpp:1593
int value
Definition SpnEnums.hpp:1580
static constexpr int Unknown
The status of motor output could not be determined.
Definition SpnEnums.hpp:1585
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1631
static constexpr int DiscordantMotoring
The same as Motoring, except the rotor is being backdriven as the motor output is not enough to defea...
Definition SpnEnums.hpp:1604
The state of the motor controller bridge when output is neutral or disabled.
Definition SpnEnums.hpp:2202
constexpr NeutralModeValue(int value)
Definition SpnEnums.hpp:2209
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:2221
constexpr bool operator==(NeutralModeValue data) const
Definition SpnEnums.hpp:2217
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:2237
std::string Serialize() const
Definition SpnEnums.hpp:2263
constexpr bool operator<(NeutralModeValue data) const
Definition SpnEnums.hpp:2233
friend std::ostream & operator<<(std::ostream &os, NeutralModeValue data)
Definition SpnEnums.hpp:2257
static constexpr int Brake
Definition SpnEnums.hpp:2207
constexpr bool operator!=(NeutralModeValue data) const
Definition SpnEnums.hpp:2225
constexpr NeutralModeValue()
Definition SpnEnums.hpp:2213
int value
Definition SpnEnums.hpp:2204
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:2247
static constexpr int Coast
Definition SpnEnums.hpp:2206
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:2229
The output mode of the PID controller.
Definition SpnEnums.hpp:1427
std::string Serialize() const
Definition SpnEnums.hpp:1490
constexpr bool operator<(PIDOutput_PIDOutputModeValue data) const
Definition SpnEnums.hpp:1459
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1473
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1455
static constexpr int TorqueCurrentFOC
Definition SpnEnums.hpp:1433
friend std::ostream & operator<<(std::ostream &os, PIDOutput_PIDOutputModeValue data)
Definition SpnEnums.hpp:1484
constexpr PIDOutput_PIDOutputModeValue(int value)
Definition SpnEnums.hpp:1435
static constexpr int Voltage
Definition SpnEnums.hpp:1432
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1447
constexpr PIDOutput_PIDOutputModeValue()
Definition SpnEnums.hpp:1439
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1463
static constexpr int DutyCycle
Definition SpnEnums.hpp:1431
constexpr bool operator!=(PIDOutput_PIDOutputModeValue data) const
Definition SpnEnums.hpp:1451
int value
Definition SpnEnums.hpp:1429
constexpr bool operator==(PIDOutput_PIDOutputModeValue data) const
Definition SpnEnums.hpp:1443
Whether the closed-loop is running on position or velocity.
Definition SpnEnums.hpp:1354
static constexpr int Position
Definition SpnEnums.hpp:1358
constexpr PIDRefPIDErr_ClosedLoopModeValue()
Definition SpnEnums.hpp:1365
friend std::ostream & operator<<(std::ostream &os, PIDRefPIDErr_ClosedLoopModeValue data)
Definition SpnEnums.hpp:1409
constexpr bool operator!=(PIDRefPIDErr_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1377
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1381
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1389
constexpr PIDRefPIDErr_ClosedLoopModeValue(int value)
Definition SpnEnums.hpp:1361
int value
Definition SpnEnums.hpp:1356
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1373
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1399
constexpr bool operator==(PIDRefPIDErr_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1369
static constexpr int Velocity
Definition SpnEnums.hpp:1359
std::string Serialize() const
Definition SpnEnums.hpp:1415
constexpr bool operator<(PIDRefPIDErr_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1385
Whether the closed-loop is running on position or velocity.
Definition SpnEnums.hpp:1502
constexpr bool operator!=(PIDRefSlopeECUTime_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1525
constexpr PIDRefSlopeECUTime_ClosedLoopModeValue()
Definition SpnEnums.hpp:1513
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1529
constexpr bool operator<(PIDRefSlopeECUTime_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1533
friend std::ostream & operator<<(std::ostream &os, PIDRefSlopeECUTime_ClosedLoopModeValue data)
Definition SpnEnums.hpp:1557
static constexpr int Velocity
Definition SpnEnums.hpp:1507
std::string Serialize() const
Definition SpnEnums.hpp:1563
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1537
constexpr bool operator==(PIDRefSlopeECUTime_ClosedLoopModeValue data) const
Definition SpnEnums.hpp:1517
constexpr PIDRefSlopeECUTime_ClosedLoopModeValue(int value)
Definition SpnEnums.hpp:1509
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1521
static constexpr int Position
Definition SpnEnums.hpp:1506
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1547
int value
Definition SpnEnums.hpp:1504
Determines where to poll the reverse limit switch.
Definition SpnEnums.hpp:2720
static constexpr int RemoteTalonFX
Use the reverse limit switch attached to another Talon FX on the same CAN bus (this also requires set...
Definition SpnEnums.hpp:2732
constexpr ReverseLimitSourceValue(int value)
Definition SpnEnums.hpp:2756
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:2794
static constexpr int RemoteCANrange
Use another CANrange on the same CAN bus (this also requires setting ReverseLimitRemoteSensorID).
Definition SpnEnums.hpp:2750
static constexpr int RemoteCANcoder
Use another CANcoder on the same CAN bus (this also requires setting ReverseLimitRemoteSensorID).
Definition SpnEnums.hpp:2744
std::string Serialize() const
Definition SpnEnums.hpp:2814
int value
Definition SpnEnums.hpp:2722
friend std::ostream & operator<<(std::ostream &os, ReverseLimitSourceValue data)
Definition SpnEnums.hpp:2808
static constexpr int RemoteCANifier
Use the reverse limit switch attached to another CANifier on the same CAN bus (this also requires set...
Definition SpnEnums.hpp:2737
constexpr bool operator==(ReverseLimitSourceValue data) const
Definition SpnEnums.hpp:2764
constexpr bool operator<(ReverseLimitSourceValue data) const
Definition SpnEnums.hpp:2780
constexpr bool operator!=(ReverseLimitSourceValue data) const
Definition SpnEnums.hpp:2772
static constexpr int LimitSwitchPin
Use the reverse limit switch pin on the limit switch connector.
Definition SpnEnums.hpp:2727
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:2784
constexpr ReverseLimitSourceValue()
Definition SpnEnums.hpp:2760
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:2776
static constexpr int Disabled
Disable the reverse limit switch.
Definition SpnEnums.hpp:2754
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:2768
Determines if the reverse limit switch is normally-open (default) or normally-closed.
Definition SpnEnums.hpp:2633
friend std::ostream & operator<<(std::ostream &os, ReverseLimitTypeValue data)
Definition SpnEnums.hpp:2688
static constexpr int NormallyClosed
Definition SpnEnums.hpp:2638
constexpr bool operator!=(ReverseLimitTypeValue data) const
Definition SpnEnums.hpp:2656
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:2668
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:2678
constexpr ReverseLimitTypeValue()
Definition SpnEnums.hpp:2644
constexpr bool operator<(ReverseLimitTypeValue data) const
Definition SpnEnums.hpp:2664
constexpr bool operator==(ReverseLimitTypeValue data) const
Definition SpnEnums.hpp:2648
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:2652
static constexpr int NormallyOpen
Definition SpnEnums.hpp:2637
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:2660
std::string Serialize() const
Definition SpnEnums.hpp:2694
int value
Definition SpnEnums.hpp:2635
constexpr ReverseLimitTypeValue(int value)
Definition SpnEnums.hpp:2640
Reverse Limit Pin.
Definition SpnEnums.hpp:981
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:1016
constexpr bool operator==(ReverseLimitValue data) const
Definition SpnEnums.hpp:996
static constexpr int Open
Definition SpnEnums.hpp:986
constexpr bool operator<(ReverseLimitValue data) const
Definition SpnEnums.hpp:1012
int value
Definition SpnEnums.hpp:983
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:1008
std::string Serialize() const
Definition SpnEnums.hpp:1042
friend std::ostream & operator<<(std::ostream &os, ReverseLimitValue data)
Definition SpnEnums.hpp:1036
constexpr bool operator!=(ReverseLimitValue data) const
Definition SpnEnums.hpp:1004
static constexpr int ClosedToGround
Definition SpnEnums.hpp:985
constexpr ReverseLimitValue()
Definition SpnEnums.hpp:992
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:1000
constexpr ReverseLimitValue(int value)
Definition SpnEnums.hpp:988
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:1026
Whether the robot is enabled.
Definition SpnEnums.hpp:422
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:457
friend std::ostream & operator<<(std::ostream &os, RobotEnableValue data)
Definition SpnEnums.hpp:477
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:441
static constexpr int Disabled
Definition SpnEnums.hpp:427
constexpr bool operator<(RobotEnableValue data) const
Definition SpnEnums.hpp:453
constexpr RobotEnableValue(int value)
Definition SpnEnums.hpp:429
constexpr RobotEnableValue()
Definition SpnEnums.hpp:433
static constexpr int Enabled
Definition SpnEnums.hpp:426
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:449
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:467
std::string Serialize() const
Definition SpnEnums.hpp:483
constexpr bool operator!=(RobotEnableValue data) const
Definition SpnEnums.hpp:445
int value
Definition SpnEnums.hpp:424
constexpr bool operator==(RobotEnableValue data) const
Definition SpnEnums.hpp:437
Direction of the sensor to determine positive rotation, as seen facing the LED side of the CANcoder.
Definition SpnEnums.hpp:270
static constexpr int CounterClockwise_Positive
Counter-clockwise motion reports positive rotation.
Definition SpnEnums.hpp:277
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:321
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:311
friend std::ostream & operator<<(std::ostream &os, SensorDirectionValue data)
Definition SpnEnums.hpp:331
constexpr SensorDirectionValue(int value)
Definition SpnEnums.hpp:283
constexpr bool operator==(SensorDirectionValue data) const
Definition SpnEnums.hpp:291
static constexpr int Clockwise_Positive
Clockwise motion reports positive rotation.
Definition SpnEnums.hpp:281
constexpr bool operator!=(SensorDirectionValue data) const
Definition SpnEnums.hpp:299
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:303
int value
Definition SpnEnums.hpp:272
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:295
constexpr bool operator<(SensorDirectionValue data) const
Definition SpnEnums.hpp:307
std::string Serialize() const
Definition SpnEnums.hpp:337
constexpr SensorDirectionValue()
Definition SpnEnums.hpp:287
Static Feedforward Sign during position closed loop.
Definition SpnEnums.hpp:3159
std::string Serialize() const
Definition SpnEnums.hpp:3231
friend std::ostream & operator<<(std::ostream &os, StaticFeedforwardSignValue data)
Definition SpnEnums.hpp:3225
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:3189
constexpr bool operator!=(StaticFeedforwardSignValue data) const
Definition SpnEnums.hpp:3193
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:3215
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:3205
int value
Definition SpnEnums.hpp:3161
static constexpr int UseVelocitySign
Use the velocity reference sign.
Definition SpnEnums.hpp:3168
constexpr StaticFeedforwardSignValue()
Definition SpnEnums.hpp:3181
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:3197
constexpr bool operator==(StaticFeedforwardSignValue data) const
Definition SpnEnums.hpp:3185
static constexpr int UseClosedLoopSign
Use the sign of closed loop error.
Definition SpnEnums.hpp:3175
constexpr bool operator<(StaticFeedforwardSignValue data) const
Definition SpnEnums.hpp:3201
constexpr StaticFeedforwardSignValue(int value)
Definition SpnEnums.hpp:3177
System state of the device.
Definition SpnEnums.hpp:22
static constexpr int Bootup_3
Definition SpnEnums.hpp:29
static constexpr int ControlEnabled
Definition SpnEnums.hpp:36
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:55
constexpr bool operator!=(System_StateValue data) const
Definition SpnEnums.hpp:59
constexpr bool operator==(System_StateValue data) const
Definition SpnEnums.hpp:51
static constexpr int Production
Definition SpnEnums.hpp:41
static constexpr int Bootup_4
Definition SpnEnums.hpp:30
std::string Serialize() const
Definition SpnEnums.hpp:111
static constexpr int ControlDisabled
Definition SpnEnums.hpp:35
static constexpr int NotLicensed
Definition SpnEnums.hpp:40
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:81
static constexpr int Recover
Definition SpnEnums.hpp:39
static constexpr int Bootup_1
Definition SpnEnums.hpp:27
static constexpr int Bootup_0
Definition SpnEnums.hpp:26
static constexpr int BootBeep
Definition SpnEnums.hpp:34
static constexpr int Bootup_6
Definition SpnEnums.hpp:32
int value
Definition SpnEnums.hpp:24
static constexpr int Fault
Definition SpnEnums.hpp:38
static constexpr int ControlEnabled_11
Definition SpnEnums.hpp:37
constexpr System_StateValue(int value)
Definition SpnEnums.hpp:43
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:71
friend std::ostream & operator<<(std::ostream &os, System_StateValue data)
Definition SpnEnums.hpp:105
static constexpr int Bootup_5
Definition SpnEnums.hpp:31
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:63
static constexpr int Bootup_7
Definition SpnEnums.hpp:33
constexpr System_StateValue()
Definition SpnEnums.hpp:47
static constexpr int Bootup_2
Definition SpnEnums.hpp:28
constexpr bool operator<(System_StateValue data) const
Definition SpnEnums.hpp:67
Update mode of the CANrange.
Definition SpnEnums.hpp:3463
constexpr UpdateModeValue()
Definition SpnEnums.hpp:3486
std::string ToString() const
Gets the string representation of this enum.
Definition SpnEnums.hpp:3520
int value
Definition SpnEnums.hpp:3465
constexpr bool operator<(int data) const
Definition SpnEnums.hpp:3510
static constexpr int ShortRangeUserFreq
Uses short-range detection mode for improved detection under high ambient infrared light conditions.
Definition SpnEnums.hpp:3476
std::string Serialize() const
Definition SpnEnums.hpp:3537
constexpr bool operator!=(int data) const
Definition SpnEnums.hpp:3502
friend std::ostream & operator<<(std::ostream &os, UpdateModeValue data)
Definition SpnEnums.hpp:3531
constexpr bool operator<(UpdateModeValue data) const
Definition SpnEnums.hpp:3506
constexpr bool operator==(UpdateModeValue data) const
Definition SpnEnums.hpp:3490
static constexpr int ShortRange100Hz
Updates distance/proximity at 100hz using short-range detection mode.
Definition SpnEnums.hpp:3470
constexpr UpdateModeValue(int value)
Definition SpnEnums.hpp:3482
constexpr bool operator!=(UpdateModeValue data) const
Definition SpnEnums.hpp:3498
static constexpr int LongRangeUserFreq
Uses long-range detection mode and user-specified update frequency.
Definition SpnEnums.hpp:3480
constexpr bool operator==(int data) const
Definition SpnEnums.hpp:3494
Definition StatusCodes.h:18