38 static constexpr int Fault = 12;
76 default:
return "Invalid Value";
89 ss <<
"u_" << this->
value;
95 return this->value == data.
value;
99 return this->value == data;
103 return this->value < data.
value;
107 return this->value < data;
141 default:
return "Invalid Value";
153 std::stringstream ss;
154 ss <<
"u_" << this->
value;
160 return this->value == data.
value;
164 return this->value == data;
168 return this->value < data.
value;
172 return this->value < data;
206 default:
return "Invalid Value";
218 std::stringstream ss;
219 ss <<
"u_" << this->
value;
225 return this->value == data.
value;
229 return this->value == data;
233 return this->value < data.
value;
237 return this->value < data;
272 default:
return "Invalid Value";
284 std::stringstream ss;
285 ss <<
"u_" << this->
value;
291 return this->value == data.
value;
295 return this->value == data;
299 return this->value < data.
value;
303 return this->value < data;
337 default:
return "Invalid Value";
349 std::stringstream ss;
350 ss <<
"u_" << this->
value;
356 return this->value == data.
value;
360 return this->value == data;
364 return this->value < data.
value;
368 return this->value < data;
402 default:
return "Invalid Value";
414 std::stringstream ss;
415 ss <<
"u_" << this->
value;
421 return this->value == data.
value;
425 return this->value == data;
429 return this->value < data.
value;
433 return this->value < data;
445 static constexpr int Off = 0;
446 static constexpr int Red = 1;
479 default:
return "Invalid Value";
491 std::stringstream ss;
492 ss <<
"u_" << this->
value;
498 return this->value == data.
value;
502 return this->value == data;
506 return this->value < data.
value;
510 return this->value < data;
522 static constexpr int Off = 0;
523 static constexpr int Red = 1;
556 default:
return "Invalid Value";
568 std::stringstream ss;
569 ss <<
"u_" << this->
value;
575 return this->value == data.
value;
579 return this->value == data;
583 return this->value < data.
value;
587 return this->value < data;
599 static constexpr int Off = 0;
600 static constexpr int Red = 1;
633 default:
return "Invalid Value";
645 std::stringstream ss;
646 ss <<
"u_" << this->
value;
652 return this->value == data.
value;
656 return this->value == data;
660 return this->value < data.
value;
664 return this->value < data;
676 static constexpr int Off = 0;
677 static constexpr int Red = 1;
710 default:
return "Invalid Value";
722 std::stringstream ss;
723 ss <<
"u_" << this->
value;
729 return this->value == data.
value;
733 return this->value == data;
737 return this->value < data.
value;
741 return this->value < data;
776 default:
return "Invalid Value";
788 std::stringstream ss;
789 ss <<
"u_" << this->
value;
795 return this->value == data.
value;
799 return this->value == data;
803 return this->value < data.
value;
807 return this->value < data;
841 default:
return "Invalid Value";
853 std::stringstream ss;
854 ss <<
"u_" << this->
value;
860 return this->value == data.
value;
864 return this->value == data;
868 return this->value < data.
value;
872 return this->value < data;
906 default:
return "Invalid Value";
918 std::stringstream ss;
919 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;
971 default:
return "Invalid Value";
983 std::stringstream ss;
984 ss <<
"u_" << this->
value;
990 return this->value == data.
value;
994 return this->value == data;
998 return this->value < data.
value;
1002 return this->value < data;
1037 default:
return "Invalid Value";
1049 std::stringstream ss;
1050 ss <<
"u_" << this->
value;
1056 return this->value == data.
value;
1060 return this->value == data;
1064 return this->value < data.
value;
1068 return this->value < data;
1174 default:
return "Invalid Value";
1186 std::stringstream ss;
1187 ss <<
"u_" << this->
value;
1193 return this->value == data.
value;
1197 return this->value == data;
1201 return this->value < data.
value;
1205 return this->value < data;
1240 default:
return "Invalid Value";
1252 std::stringstream ss;
1253 ss <<
"u_" << this->
value;
1259 return this->value == data.
value;
1263 return this->value == data;
1267 return this->value < data.
value;
1271 return this->value < data;
1353 default:
return "Invalid Value";
1365 std::stringstream ss;
1366 ss <<
"u_" << this->
value;
1372 return this->value == data.
value;
1376 return this->value == data;
1380 return this->value < data.
value;
1384 return this->value < data;
1432 default:
return "Invalid Value";
1444 std::stringstream ss;
1445 ss <<
"u_" << this->
value;
1451 return this->value == data.
value;
1455 return this->value == data;
1459 return this->value < data.
value;
1463 return this->value < data;
1497 default:
return "Invalid Value";
1509 std::stringstream ss;
1510 ss <<
"u_" << this->
value;
1516 return this->value == data.
value;
1520 return this->value == data;
1524 return this->value < data.
value;
1528 return this->value < data;
1563 default:
return "Invalid Value";
1575 std::stringstream ss;
1576 ss <<
"u_" << this->
value;
1582 return this->value == data.
value;
1586 return this->value == data;
1590 return this->value < data.
value;
1594 return this->value < data;
1674 default:
return "Invalid Value";
1686 std::stringstream ss;
1687 ss <<
"u_" << this->
value;
1693 return this->value == data.
value;
1697 return this->value == data;
1701 return this->value < data.
value;
1705 return this->value < data;
1740 default:
return "Invalid Value";
1752 std::stringstream ss;
1753 ss <<
"u_" << this->
value;
1759 return this->value == data.
value;
1763 return this->value == data;
1767 return this->value < data.
value;
1771 return this->value < data;
1825 default:
return "Invalid Value";
1837 std::stringstream ss;
1838 ss <<
"u_" << this->
value;
1844 return this->value == data.
value;
1848 return this->value == data;
1852 return this->value < data.
value;
1856 return this->value < data;
1891 default:
return "Invalid Value";
1903 std::stringstream ss;
1904 ss <<
"u_" << this->
value;
1910 return this->value == data.
value;
1914 return this->value == data;
1918 return this->value < data.
value;
1922 return this->value < data;
1976 default:
return "Invalid Value";
1988 std::stringstream ss;
1989 ss <<
"u_" << this->
value;
1995 return this->value == data.
value;
1999 return this->value == data;
2003 return this->value < data.
value;
2007 return this->value < data;
2049 default:
return "Invalid Value";
2061 std::stringstream ss;
2062 ss <<
"u_" << this->
value;
2068 return this->value == data.
value;
2072 return this->value == data;
2076 return this->value < data.
value;
2080 return this->value < data;
2128 default:
return "Invalid Value";
2140 std::stringstream ss;
2141 ss <<
"u_" << this->
value;
2147 return this->value == data.
value;
2151 return this->value == data;
2155 return this->value < data.
value;
2159 return this->value < data;
2224 default:
return "Invalid Value";
2236 std::stringstream ss;
2237 ss <<
"u_" << this->
value;
2243 return this->value == data.
value;
2247 return this->value == data;
2251 return this->value < data.
value;
2255 return this->value < data;
2301 default:
return "Invalid Value";
2313 std::stringstream ss;
2314 ss <<
"u_" << this->
value;
2320 return this->value == data.
value;
2324 return this->value == data;
2328 return this->value < data.
value;
2332 return this->value < data;
2372 default:
return "Invalid Value";
2384 std::stringstream ss;
2385 ss <<
"u_" << this->
value;
2391 return this->value == data.
value;
2395 return this->value == data;
2399 return this->value < data.
value;
2403 return this->value < data;
2456 default:
return "Invalid Value";
2468 std::stringstream ss;
2469 ss <<
"u_" << this->
value;
2475 return this->value == data.
value;
2479 return this->value == data;
2483 return this->value < data.
value;
2487 return this->value < data;
Definition: Serializable.hpp:15
The range of the absolute sensor in rotations, either [-0.5, 0.5) or [0, 1).
Definition: SpnEnums.hpp:750
bool operator<(const AbsoluteSensorRangeValue &data) const
Definition: SpnEnums.hpp:801
bool operator<(int data) const
Definition: SpnEnums.hpp:805
bool operator==(const AbsoluteSensorRangeValue &data) const
Definition: SpnEnums.hpp:793
AbsoluteSensorRangeValue(int value)
Definition: SpnEnums.hpp:757
bool operator==(int data) const
Definition: SpnEnums.hpp:797
std::string Serialize() const
Definition: SpnEnums.hpp:786
friend std::ostream & operator<<(std::ostream &os, const AbsoluteSensorRangeValue &data)
Definition: SpnEnums.hpp:780
static constexpr int Signed_PlusMinusHalf
Definition: SpnEnums.hpp:755
AbsoluteSensorRangeValue()
Definition: SpnEnums.hpp:761
static constexpr int Unsigned_0To1
Definition: SpnEnums.hpp:754
int value
Definition: SpnEnums.hpp:752
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:770
The applied rotor polarity.
Definition: SpnEnums.hpp:1011
bool operator==(int data) const
Definition: SpnEnums.hpp:1058
bool operator==(const AppliedRotorPolarityValue &data) const
Definition: SpnEnums.hpp:1054
std::string Serialize() const
Definition: SpnEnums.hpp:1047
AppliedRotorPolarityValue()
Definition: SpnEnums.hpp:1022
AppliedRotorPolarityValue(int value)
Definition: SpnEnums.hpp:1018
int value
Definition: SpnEnums.hpp:1013
bool operator<(const AppliedRotorPolarityValue &data) const
Definition: SpnEnums.hpp:1062
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1031
friend std::ostream & operator<<(std::ostream &os, const AppliedRotorPolarityValue &data)
Definition: SpnEnums.hpp:1041
static constexpr int PositiveIsClockwise
Definition: SpnEnums.hpp:1016
bool operator<(int data) const
Definition: SpnEnums.hpp:1066
static constexpr int PositiveIsCounterClockwise
Definition: SpnEnums.hpp:1015
The applied output of the bridge.
Definition: SpnEnums.hpp:2088
BridgeOutputValue()
Definition: SpnEnums.hpp:2106
bool operator<(int data) const
Definition: SpnEnums.hpp:2157
bool operator==(const BridgeOutputValue &data) const
Definition: SpnEnums.hpp:2145
static constexpr int BridgeReq_FaultCoast
Definition: SpnEnums.hpp:2099
static constexpr int BridgeReq_FOCEasy
Definition: SpnEnums.hpp:2097
std::string Serialize() const
Definition: SpnEnums.hpp:2138
static constexpr int BridgeReq_Trapez
Definition: SpnEnums.hpp:2094
bool operator==(int data) const
Definition: SpnEnums.hpp:2149
static constexpr int BridgeReq_ActiveBrake
Definition: SpnEnums.hpp:2100
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:2115
static constexpr int BridgeReq_MusicTone
Definition: SpnEnums.hpp:2096
bool operator<(const BridgeOutputValue &data) const
Definition: SpnEnums.hpp:2153
friend std::ostream & operator<<(std::ostream &os, const BridgeOutputValue &data)
Definition: SpnEnums.hpp:2132
BridgeOutputValue(int value)
Definition: SpnEnums.hpp:2102
static constexpr int BridgeReq_Brake
Definition: SpnEnums.hpp:2093
static constexpr int BridgeReq_FOCTorque
Definition: SpnEnums.hpp:2095
int value
Definition: SpnEnums.hpp:2090
static constexpr int BridgeReq_FaultBrake
Definition: SpnEnums.hpp:2098
static constexpr int BridgeReq_Coast
Definition: SpnEnums.hpp:2092
The active control mode of the motor controller.
Definition: SpnEnums.hpp:1076
static constexpr int MotionMagicVoltage
Definition: SpnEnums.hpp:1094
static constexpr int PositionDutyCycle
Definition: SpnEnums.hpp:1084
static constexpr int Follower
Definition: SpnEnums.hpp:1103
static constexpr int MotionMagicExpoDutyCycleFOC
Definition: SpnEnums.hpp:1114
static constexpr int VelocityVoltage
Definition: SpnEnums.hpp:1093
bool operator==(const ControlModeValue &data) const
Definition: SpnEnums.hpp:1191
static constexpr int VoltageFOC
Definition: SpnEnums.hpp:1095
static constexpr int MotionMagicDutyCycleFOC
Definition: SpnEnums.hpp:1090
static constexpr int DutyCycleFOC
Definition: SpnEnums.hpp:1087
static constexpr int MusicTone
Definition: SpnEnums.hpp:1107
static constexpr int VelocityDutyCycleFOC
Definition: SpnEnums.hpp:1089
int value
Definition: SpnEnums.hpp:1078
static constexpr int MotionMagicExpoDutyCycle
Definition: SpnEnums.hpp:1113
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1132
static constexpr int MotionMagicVoltageFOC
Definition: SpnEnums.hpp:1098
static constexpr int CoastOut
Definition: SpnEnums.hpp:1105
static constexpr int DisabledOutput
Definition: SpnEnums.hpp:1080
static constexpr int NeutralOut
Definition: SpnEnums.hpp:1081
static constexpr int MotionMagicVelocityVoltageFOC
Definition: SpnEnums.hpp:1111
static constexpr int MotionMagicExpoVoltage
Definition: SpnEnums.hpp:1115
static constexpr int VoltageOut
Definition: SpnEnums.hpp:1091
static constexpr int MotionMagicExpoTorqueCurrentFOC
Definition: SpnEnums.hpp:1117
static constexpr int VelocityTorqueCurrentFOC
Definition: SpnEnums.hpp:1101
bool operator<(const ControlModeValue &data) const
Definition: SpnEnums.hpp:1199
static constexpr int MotionMagicExpoVoltageFOC
Definition: SpnEnums.hpp:1116
std::string Serialize() const
Definition: SpnEnums.hpp:1184
friend std::ostream & operator<<(std::ostream &os, const ControlModeValue &data)
Definition: SpnEnums.hpp:1178
static constexpr int MotionMagicVelocityVoltage
Definition: SpnEnums.hpp:1110
static constexpr int MotionMagicVelocityDutyCycle
Definition: SpnEnums.hpp:1108
ControlModeValue()
Definition: SpnEnums.hpp:1123
static constexpr int PositionVoltage
Definition: SpnEnums.hpp:1092
ControlModeValue(int value)
Definition: SpnEnums.hpp:1119
static constexpr int PositionTorqueCurrentFOC
Definition: SpnEnums.hpp:1100
static constexpr int VelocityVoltageFOC
Definition: SpnEnums.hpp:1097
static constexpr int Reserved
Definition: SpnEnums.hpp:1104
static constexpr int MotionMagicTorqueCurrentFOC
Definition: SpnEnums.hpp:1102
static constexpr int PositionVoltageFOC
Definition: SpnEnums.hpp:1096
static constexpr int MotionMagicDutyCycle
Definition: SpnEnums.hpp:1086
static constexpr int PositionDutyCycleFOC
Definition: SpnEnums.hpp:1088
bool operator==(int data) const
Definition: SpnEnums.hpp:1195
static constexpr int TorqueCurrentFOC
Definition: SpnEnums.hpp:1099
bool operator<(int data) const
Definition: SpnEnums.hpp:1203
static constexpr int UnauthorizedDevice
Definition: SpnEnums.hpp:1106
static constexpr int StaticBrake
Definition: SpnEnums.hpp:1082
static constexpr int MotionMagicVelocityTorqueCurrentFOC
Definition: SpnEnums.hpp:1112
static constexpr int VelocityDutyCycle
Definition: SpnEnums.hpp:1085
static constexpr int DutyCycleOut
Definition: SpnEnums.hpp:1083
static constexpr int MotionMagicVelocityDutyCycleFOC
Definition: SpnEnums.hpp:1109
Whether the device is enabled.
Definition: SpnEnums.hpp:815
std::string Serialize() const
Definition: SpnEnums.hpp:851
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:835
DeviceEnableValue(int value)
Definition: SpnEnums.hpp:822
int value
Definition: SpnEnums.hpp:817
bool operator<(int data) const
Definition: SpnEnums.hpp:870
static constexpr int Enabled
Definition: SpnEnums.hpp:819
DeviceEnableValue()
Definition: SpnEnums.hpp:826
bool operator==(int data) const
Definition: SpnEnums.hpp:862
bool operator<(const DeviceEnableValue &data) const
Definition: SpnEnums.hpp:866
friend std::ostream & operator<<(std::ostream &os, const DeviceEnableValue &data)
Definition: SpnEnums.hpp:845
bool operator==(const DeviceEnableValue &data) const
Definition: SpnEnums.hpp:858
static constexpr int Disabled
Definition: SpnEnums.hpp:820
The active control mode of the differential controller.
Definition: SpnEnums.hpp:1279
static constexpr int MotionMagicVoltage
Definition: SpnEnums.hpp:1297
static constexpr int NeutralOut
Definition: SpnEnums.hpp:1284
static constexpr int PositionDutyCycle
Definition: SpnEnums.hpp:1287
DifferentialControlModeValue()
Definition: SpnEnums.hpp:1314
static constexpr int VelocityTorqueCurrentFOC
Definition: SpnEnums.hpp:1304
static constexpr int Reserved
Definition: SpnEnums.hpp:1307
friend std::ostream & operator<<(std::ostream &os, const DifferentialControlModeValue &data)
Definition: SpnEnums.hpp:1357
static constexpr int PositionVoltageFOC
Definition: SpnEnums.hpp:1299
static constexpr int MotionMagicTorqueCurrentFOC
Definition: SpnEnums.hpp:1305
static constexpr int VelocityDutyCycleFOC
Definition: SpnEnums.hpp:1292
bool operator==(const DifferentialControlModeValue &data) const
Definition: SpnEnums.hpp:1370
static constexpr int TorqueCurrentFOC
Definition: SpnEnums.hpp:1302
bool operator<(int data) const
Definition: SpnEnums.hpp:1382
static constexpr int VoltageOut
Definition: SpnEnums.hpp:1294
static constexpr int VelocityVoltageFOC
Definition: SpnEnums.hpp:1300
static constexpr int MotionMagicDutyCycleFOC
Definition: SpnEnums.hpp:1293
static constexpr int MotionMagicVoltageFOC
Definition: SpnEnums.hpp:1301
static constexpr int Follower
Definition: SpnEnums.hpp:1306
static constexpr int DisabledOutput
Definition: SpnEnums.hpp:1283
DifferentialControlModeValue(int value)
Definition: SpnEnums.hpp:1310
int value
Definition: SpnEnums.hpp:1281
static constexpr int VoltageFOC
Definition: SpnEnums.hpp:1298
bool operator<(const DifferentialControlModeValue &data) const
Definition: SpnEnums.hpp:1378
static constexpr int DutyCycleOut
Definition: SpnEnums.hpp:1286
std::string Serialize() const
Definition: SpnEnums.hpp:1363
static constexpr int PositionVoltage
Definition: SpnEnums.hpp:1295
static constexpr int StaticBrake
Definition: SpnEnums.hpp:1285
static constexpr int PositionTorqueCurrentFOC
Definition: SpnEnums.hpp:1303
bool operator==(int data) const
Definition: SpnEnums.hpp:1374
static constexpr int MotionMagicDutyCycle
Definition: SpnEnums.hpp:1289
static constexpr int VelocityDutyCycle
Definition: SpnEnums.hpp:1288
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1323
static constexpr int PositionDutyCycleFOC
Definition: SpnEnums.hpp:1291
static constexpr int CoastOut
Definition: SpnEnums.hpp:1308
static constexpr int DutyCycleFOC
Definition: SpnEnums.hpp:1290
static constexpr int VelocityVoltage
Definition: SpnEnums.hpp:1296
Choose what sensor source is used for differential control of a mechanism.
Definition: SpnEnums.hpp:2190
static constexpr int Disabled
Definition: SpnEnums.hpp:2194
static constexpr int RemoteTalonFX_Diff
Definition: SpnEnums.hpp:2195
bool operator<(int data) const
Definition: SpnEnums.hpp:2253
friend std::ostream & operator<<(std::ostream &os, const DifferentialSensorSourceValue &data)
Definition: SpnEnums.hpp:2228
int value
Definition: SpnEnums.hpp:2192
static constexpr int RemoteCANcoder
Definition: SpnEnums.hpp:2199
static constexpr int RemotePigeon2_Pitch
Definition: SpnEnums.hpp:2197
bool operator==(const DifferentialSensorSourceValue &data) const
Definition: SpnEnums.hpp:2241
static constexpr int RemotePigeon2_Roll
Definition: SpnEnums.hpp:2198
static constexpr int RemotePigeon2_Yaw
Definition: SpnEnums.hpp:2196
bool operator<(const DifferentialSensorSourceValue &data) const
Definition: SpnEnums.hpp:2249
DifferentialSensorSourceValue()
Definition: SpnEnums.hpp:2205
std::string Serialize() const
Definition: SpnEnums.hpp:2234
DifferentialSensorSourceValue(int value)
Definition: SpnEnums.hpp:2201
bool operator==(int data) const
Definition: SpnEnums.hpp:2245
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:2214
Choose what sensor source is reported via API and used by closed-loop and limit features.
Definition: SpnEnums.hpp:1638
FeedbackSensorSourceValue()
Definition: SpnEnums.hpp:1654
static constexpr int RemoteCANcoder
Definition: SpnEnums.hpp:1643
static constexpr int RemotePigeon2_Pitch
Definition: SpnEnums.hpp:1645
static constexpr int RemotePigeon2_Yaw
Definition: SpnEnums.hpp:1644
static constexpr int RemotePigeon2_Roll
Definition: SpnEnums.hpp:1646
int value
Definition: SpnEnums.hpp:1640
friend std::ostream & operator<<(std::ostream &os, const FeedbackSensorSourceValue &data)
Definition: SpnEnums.hpp:1678
static constexpr int SyncCANcoder
Definition: SpnEnums.hpp:1648
static constexpr int RotorSensor
Definition: SpnEnums.hpp:1642
bool operator==(int data) const
Definition: SpnEnums.hpp:1695
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1663
bool operator==(const FeedbackSensorSourceValue &data) const
Definition: SpnEnums.hpp:1691
std::string Serialize() const
Definition: SpnEnums.hpp:1684
static constexpr int FusedCANcoder
Definition: SpnEnums.hpp:1647
bool operator<(int data) const
Definition: SpnEnums.hpp:1703
FeedbackSensorSourceValue(int value)
Definition: SpnEnums.hpp:1650
bool operator<(const FeedbackSensorSourceValue &data) const
Definition: SpnEnums.hpp:1699
Determines where to poll the forward limit switch.
Definition: SpnEnums.hpp:1793
static constexpr int LimitSwitchPin
Definition: SpnEnums.hpp:1797
std::string Serialize() const
Definition: SpnEnums.hpp:1835
friend std::ostream & operator<<(std::ostream &os, const ForwardLimitSourceValue &data)
Definition: SpnEnums.hpp:1829
ForwardLimitSourceValue()
Definition: SpnEnums.hpp:1807
static constexpr int RemoteTalonFX
Definition: SpnEnums.hpp:1798
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1816
bool operator==(int data) const
Definition: SpnEnums.hpp:1846
static constexpr int RemoteCANifier
Definition: SpnEnums.hpp:1799
ForwardLimitSourceValue(int value)
Definition: SpnEnums.hpp:1803
bool operator<(int data) const
Definition: SpnEnums.hpp:1854
int value
Definition: SpnEnums.hpp:1795
bool operator<(const ForwardLimitSourceValue &data) const
Definition: SpnEnums.hpp:1850
static constexpr int Disabled
Definition: SpnEnums.hpp:1801
bool operator==(const ForwardLimitSourceValue &data) const
Definition: SpnEnums.hpp:1842
static constexpr int RemoteCANcoder
Definition: SpnEnums.hpp:1800
Determines if the forward limit switch is normally-open (default) or normally-closed.
Definition: SpnEnums.hpp:1714
bool operator==(int data) const
Definition: SpnEnums.hpp:1761
static constexpr int NormallyClosed
Definition: SpnEnums.hpp:1719
bool operator==(const ForwardLimitTypeValue &data) const
Definition: SpnEnums.hpp:1757
ForwardLimitTypeValue(int value)
Definition: SpnEnums.hpp:1721
bool operator<(const ForwardLimitTypeValue &data) const
Definition: SpnEnums.hpp:1765
bool operator<(int data) const
Definition: SpnEnums.hpp:1769
ForwardLimitTypeValue()
Definition: SpnEnums.hpp:1725
friend std::ostream & operator<<(std::ostream &os, const ForwardLimitTypeValue &data)
Definition: SpnEnums.hpp:1744
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1734
static constexpr int NormallyOpen
Definition: SpnEnums.hpp:1718
std::string Serialize() const
Definition: SpnEnums.hpp:1750
int value
Definition: SpnEnums.hpp:1716
Forward Limit Pin.
Definition: SpnEnums.hpp:880
friend std::ostream & operator<<(std::ostream &os, const ForwardLimitValue &data)
Definition: SpnEnums.hpp:910
bool operator==(const ForwardLimitValue &data) const
Definition: SpnEnums.hpp:923
bool operator<(const ForwardLimitValue &data) const
Definition: SpnEnums.hpp:931
static constexpr int ClosedToGround
Definition: SpnEnums.hpp:884
ForwardLimitValue()
Definition: SpnEnums.hpp:891
std::string Serialize() const
Definition: SpnEnums.hpp:916
int value
Definition: SpnEnums.hpp:882
ForwardLimitValue(int value)
Definition: SpnEnums.hpp:887
bool operator<(int data) const
Definition: SpnEnums.hpp:935
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:900
bool operator==(int data) const
Definition: SpnEnums.hpp:927
static constexpr int Open
Definition: SpnEnums.hpp:885
Whether device is locked by FRC.
Definition: SpnEnums.hpp:311
bool operator<(int data) const
Definition: SpnEnums.hpp:366
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:331
static constexpr int Frc_Locked
Definition: SpnEnums.hpp:315
bool operator==(const FrcLockValue &data) const
Definition: SpnEnums.hpp:354
static constexpr int Frc_Unlocked
Definition: SpnEnums.hpp:316
int value
Definition: SpnEnums.hpp:313
FrcLockValue(int value)
Definition: SpnEnums.hpp:318
friend std::ostream & operator<<(std::ostream &os, const FrcLockValue &data)
Definition: SpnEnums.hpp:341
bool operator<(const FrcLockValue &data) const
Definition: SpnEnums.hpp:362
std::string Serialize() const
Definition: SpnEnums.hpp:347
bool operator==(int data) const
Definition: SpnEnums.hpp:358
FrcLockValue()
Definition: SpnEnums.hpp:322
Gravity Feedforward/Feedback Type.
Definition: SpnEnums.hpp:1406
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1426
bool operator==(const GravityTypeValue &data) const
Definition: SpnEnums.hpp:1449
static constexpr int Elevator_Static
Definition: SpnEnums.hpp:1410
int value
Definition: SpnEnums.hpp:1408
friend std::ostream & operator<<(std::ostream &os, const GravityTypeValue &data)
Definition: SpnEnums.hpp:1436
std::string Serialize() const
Definition: SpnEnums.hpp:1442
GravityTypeValue(int value)
Definition: SpnEnums.hpp:1413
bool operator<(const GravityTypeValue &data) const
Definition: SpnEnums.hpp:1457
bool operator<(int data) const
Definition: SpnEnums.hpp:1461
static constexpr int Arm_Cosine
Definition: SpnEnums.hpp:1411
bool operator==(int data) const
Definition: SpnEnums.hpp:1453
GravityTypeValue()
Definition: SpnEnums.hpp:1417
Invert state of the device.
Definition: SpnEnums.hpp:1471
bool operator<(const InvertedValue &data) const
Definition: SpnEnums.hpp:1522
static constexpr int CounterClockwise_Positive
Definition: SpnEnums.hpp:1475
friend std::ostream & operator<<(std::ostream &os, const InvertedValue &data)
Definition: SpnEnums.hpp:1501
int value
Definition: SpnEnums.hpp:1473
static constexpr int Clockwise_Positive
Definition: SpnEnums.hpp:1476
std::string Serialize() const
Definition: SpnEnums.hpp:1507
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1491
InvertedValue()
Definition: SpnEnums.hpp:1482
InvertedValue(int value)
Definition: SpnEnums.hpp:1478
bool operator==(int data) const
Definition: SpnEnums.hpp:1518
bool operator<(int data) const
Definition: SpnEnums.hpp:1526
bool operator==(const InvertedValue &data) const
Definition: SpnEnums.hpp:1514
Whether the device is Pro licensed.
Definition: SpnEnums.hpp:115
IsPROLicensedValue(int value)
Definition: SpnEnums.hpp:122
static constexpr int NotLicensed
Definition: SpnEnums.hpp:119
friend std::ostream & operator<<(std::ostream &os, const IsPROLicensedValue &data)
Definition: SpnEnums.hpp:145
bool operator==(int data) const
Definition: SpnEnums.hpp:162
int value
Definition: SpnEnums.hpp:117
bool operator<(const IsPROLicensedValue &data) const
Definition: SpnEnums.hpp:166
static constexpr int Licensed
Definition: SpnEnums.hpp:120
bool operator==(const IsPROLicensedValue &data) const
Definition: SpnEnums.hpp:158
std::string Serialize() const
Definition: SpnEnums.hpp:151
IsPROLicensedValue()
Definition: SpnEnums.hpp:126
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:135
bool operator<(int data) const
Definition: SpnEnums.hpp:170
The Color of LED1 when it's "Off".
Definition: SpnEnums.hpp:518
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:544
bool operator<(int data) const
Definition: SpnEnums.hpp:585
bool operator==(const Led1OffColorValue &data) const
Definition: SpnEnums.hpp:573
Led1OffColorValue(int value)
Definition: SpnEnums.hpp:531
bool operator<(const Led1OffColorValue &data) const
Definition: SpnEnums.hpp:581
static constexpr int Orange
Definition: SpnEnums.hpp:525
static constexpr int Red
Definition: SpnEnums.hpp:523
Led1OffColorValue()
Definition: SpnEnums.hpp:535
static constexpr int White
Definition: SpnEnums.hpp:529
static constexpr int Off
Definition: SpnEnums.hpp:522
static constexpr int Blue
Definition: SpnEnums.hpp:526
static constexpr int Cyan
Definition: SpnEnums.hpp:528
int value
Definition: SpnEnums.hpp:520
bool operator==(int data) const
Definition: SpnEnums.hpp:577
std::string Serialize() const
Definition: SpnEnums.hpp:566
friend std::ostream & operator<<(std::ostream &os, const Led1OffColorValue &data)
Definition: SpnEnums.hpp:560
static constexpr int Pink
Definition: SpnEnums.hpp:527
static constexpr int Green
Definition: SpnEnums.hpp:524
The Color of LED1 when it's "On".
Definition: SpnEnums.hpp:441
static constexpr int Cyan
Definition: SpnEnums.hpp:451
Led1OnColorValue()
Definition: SpnEnums.hpp:458
friend std::ostream & operator<<(std::ostream &os, const Led1OnColorValue &data)
Definition: SpnEnums.hpp:483
bool operator<(int data) const
Definition: SpnEnums.hpp:508
static constexpr int Pink
Definition: SpnEnums.hpp:450
Led1OnColorValue(int value)
Definition: SpnEnums.hpp:454
static constexpr int Blue
Definition: SpnEnums.hpp:449
bool operator<(const Led1OnColorValue &data) const
Definition: SpnEnums.hpp:504
static constexpr int White
Definition: SpnEnums.hpp:452
static constexpr int Green
Definition: SpnEnums.hpp:447
static constexpr int Red
Definition: SpnEnums.hpp:446
static constexpr int Off
Definition: SpnEnums.hpp:445
static constexpr int Orange
Definition: SpnEnums.hpp:448
bool operator==(const Led1OnColorValue &data) const
Definition: SpnEnums.hpp:496
bool operator==(int data) const
Definition: SpnEnums.hpp:500
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:467
int value
Definition: SpnEnums.hpp:443
std::string Serialize() const
Definition: SpnEnums.hpp:489
The Color of LED2 when it's "Off".
Definition: SpnEnums.hpp:672
static constexpr int Pink
Definition: SpnEnums.hpp:681
static constexpr int Red
Definition: SpnEnums.hpp:677
static constexpr int Blue
Definition: SpnEnums.hpp:680
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:698
bool operator==(const Led2OffColorValue &data) const
Definition: SpnEnums.hpp:727
bool operator<(int data) const
Definition: SpnEnums.hpp:739
static constexpr int Cyan
Definition: SpnEnums.hpp:682
int value
Definition: SpnEnums.hpp:674
static constexpr int Off
Definition: SpnEnums.hpp:676
bool operator==(int data) const
Definition: SpnEnums.hpp:731
std::string Serialize() const
Definition: SpnEnums.hpp:720
Led2OffColorValue()
Definition: SpnEnums.hpp:689
static constexpr int White
Definition: SpnEnums.hpp:683
Led2OffColorValue(int value)
Definition: SpnEnums.hpp:685
static constexpr int Orange
Definition: SpnEnums.hpp:679
bool operator<(const Led2OffColorValue &data) const
Definition: SpnEnums.hpp:735
static constexpr int Green
Definition: SpnEnums.hpp:678
friend std::ostream & operator<<(std::ostream &os, const Led2OffColorValue &data)
Definition: SpnEnums.hpp:714
The Color of LED2 when it's "On".
Definition: SpnEnums.hpp:595
static constexpr int Red
Definition: SpnEnums.hpp:600
std::string Serialize() const
Definition: SpnEnums.hpp:643
static constexpr int Green
Definition: SpnEnums.hpp:601
static constexpr int Pink
Definition: SpnEnums.hpp:604
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:621
Led2OnColorValue(int value)
Definition: SpnEnums.hpp:608
static constexpr int Cyan
Definition: SpnEnums.hpp:605
bool operator<(const Led2OnColorValue &data) const
Definition: SpnEnums.hpp:658
bool operator<(int data) const
Definition: SpnEnums.hpp:662
bool operator==(int data) const
Definition: SpnEnums.hpp:654
friend std::ostream & operator<<(std::ostream &os, const Led2OnColorValue &data)
Definition: SpnEnums.hpp:637
static constexpr int Blue
Definition: SpnEnums.hpp:603
static constexpr int Orange
Definition: SpnEnums.hpp:602
Led2OnColorValue()
Definition: SpnEnums.hpp:612
static constexpr int White
Definition: SpnEnums.hpp:606
static constexpr int Off
Definition: SpnEnums.hpp:599
int value
Definition: SpnEnums.hpp:597
bool operator==(const Led2OnColorValue &data) const
Definition: SpnEnums.hpp:650
Whether the device is Season Pass licensed.
Definition: SpnEnums.hpp:180
static constexpr int NotLicensed
Definition: SpnEnums.hpp:184
Licensing_IsSeasonPassedValue()
Definition: SpnEnums.hpp:191
Licensing_IsSeasonPassedValue(int value)
Definition: SpnEnums.hpp:187
bool operator<(const Licensing_IsSeasonPassedValue &data) const
Definition: SpnEnums.hpp:231
bool operator<(int data) const
Definition: SpnEnums.hpp:235
bool operator==(const Licensing_IsSeasonPassedValue &data) const
Definition: SpnEnums.hpp:223
std::string Serialize() const
Definition: SpnEnums.hpp:216
bool operator==(int data) const
Definition: SpnEnums.hpp:227
int value
Definition: SpnEnums.hpp:182
friend std::ostream & operator<<(std::ostream &os, const Licensing_IsSeasonPassedValue &data)
Definition: SpnEnums.hpp:210
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:200
static constexpr int Licensed
Definition: SpnEnums.hpp:185
Magnet health as measured by CANcoder.
Definition: SpnEnums.hpp:2019
static constexpr int Magnet_Orange
Definition: SpnEnums.hpp:2024
friend std::ostream & operator<<(std::ostream &os, const MagnetHealthValue &data)
Definition: SpnEnums.hpp:2053
bool operator==(const MagnetHealthValue &data) const
Definition: SpnEnums.hpp:2066
bool operator<(int data) const
Definition: SpnEnums.hpp:2078
MagnetHealthValue(int value)
Definition: SpnEnums.hpp:2028
bool operator==(int data) const
Definition: SpnEnums.hpp:2070
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:2041
static constexpr int Magnet_Red
Definition: SpnEnums.hpp:2023
static constexpr int Magnet_Green
Definition: SpnEnums.hpp:2025
std::string Serialize() const
Definition: SpnEnums.hpp:2059
int value
Definition: SpnEnums.hpp:2021
bool operator<(const MagnetHealthValue &data) const
Definition: SpnEnums.hpp:2074
static constexpr int Magnet_Invalid
Definition: SpnEnums.hpp:2026
MagnetHealthValue()
Definition: SpnEnums.hpp:2032
Check if Motion Magic® is running.
Definition: SpnEnums.hpp:1214
int value
Definition: SpnEnums.hpp:1216
bool operator<(int data) const
Definition: SpnEnums.hpp:1269
bool operator<(const MotionMagicIsRunningValue &data) const
Definition: SpnEnums.hpp:1265
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1234
bool operator==(const MotionMagicIsRunningValue &data) const
Definition: SpnEnums.hpp:1257
std::string Serialize() const
Definition: SpnEnums.hpp:1250
static constexpr int Disabled
Definition: SpnEnums.hpp:1219
MotionMagicIsRunningValue(int value)
Definition: SpnEnums.hpp:1221
friend std::ostream & operator<<(std::ostream &os, const MotionMagicIsRunningValue &data)
Definition: SpnEnums.hpp:1244
bool operator==(int data) const
Definition: SpnEnums.hpp:1261
MotionMagicIsRunningValue()
Definition: SpnEnums.hpp:1225
static constexpr int Enabled
Definition: SpnEnums.hpp:1218
Assess the status of the motor output with respect to load and supply.
Definition: SpnEnums.hpp:2422
bool operator<(int data) const
Definition: SpnEnums.hpp:2485
std::string Serialize() const
Definition: SpnEnums.hpp:2466
bool operator==(const MotorOutputStatusValue &data) const
Definition: SpnEnums.hpp:2473
MotorOutputStatusValue()
Definition: SpnEnums.hpp:2437
static constexpr int RegenBraking
Definition: SpnEnums.hpp:2431
static constexpr int Off
Definition: SpnEnums.hpp:2427
static constexpr int Motoring
Definition: SpnEnums.hpp:2429
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:2446
bool operator<(const MotorOutputStatusValue &data) const
Definition: SpnEnums.hpp:2481
MotorOutputStatusValue(int value)
Definition: SpnEnums.hpp:2433
static constexpr int StaticBraking
Definition: SpnEnums.hpp:2428
int value
Definition: SpnEnums.hpp:2424
bool operator==(int data) const
Definition: SpnEnums.hpp:2477
static constexpr int Unknown
Definition: SpnEnums.hpp:2426
friend std::ostream & operator<<(std::ostream &os, const MotorOutputStatusValue &data)
Definition: SpnEnums.hpp:2460
static constexpr int DiscordantMotoring
Definition: SpnEnums.hpp:2430
The type of motor attached to the Talon FX.
Definition: SpnEnums.hpp:2344
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:2365
MotorTypeValue(int value)
Definition: SpnEnums.hpp:2352
friend std::ostream & operator<<(std::ostream &os, const MotorTypeValue &data)
Definition: SpnEnums.hpp:2376
std::string Serialize() const
Definition: SpnEnums.hpp:2382
bool operator<(const MotorTypeValue &data) const
Definition: SpnEnums.hpp:2397
int value
Definition: SpnEnums.hpp:2346
bool operator<(int data) const
Definition: SpnEnums.hpp:2401
static constexpr int KrakenX60
Definition: SpnEnums.hpp:2350
bool operator==(const MotorTypeValue &data) const
Definition: SpnEnums.hpp:2389
bool operator==(int data) const
Definition: SpnEnums.hpp:2393
MotorTypeValue()
Definition: SpnEnums.hpp:2356
static constexpr int Falcon500
Definition: SpnEnums.hpp:2349
static constexpr int Unknown
Definition: SpnEnums.hpp:2348
The state of the motor controller bridge when output is neutral or disabled.
Definition: SpnEnums.hpp:1537
friend std::ostream & operator<<(std::ostream &os, const NeutralModeValue &data)
Definition: SpnEnums.hpp:1567
bool operator==(int data) const
Definition: SpnEnums.hpp:1584
std::string Serialize() const
Definition: SpnEnums.hpp:1573
bool operator<(const NeutralModeValue &data) const
Definition: SpnEnums.hpp:1588
static constexpr int Brake
Definition: SpnEnums.hpp:1542
NeutralModeValue()
Definition: SpnEnums.hpp:1548
int value
Definition: SpnEnums.hpp:1539
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1557
static constexpr int Coast
Definition: SpnEnums.hpp:1541
NeutralModeValue(int value)
Definition: SpnEnums.hpp:1544
bool operator==(const NeutralModeValue &data) const
Definition: SpnEnums.hpp:1580
bool operator<(int data) const
Definition: SpnEnums.hpp:1592
Determines where to poll the reverse limit switch.
Definition: SpnEnums.hpp:1944
static constexpr int RemoteTalonFX
Definition: SpnEnums.hpp:1949
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1967
static constexpr int RemoteCANcoder
Definition: SpnEnums.hpp:1951
ReverseLimitSourceValue(int value)
Definition: SpnEnums.hpp:1954
std::string Serialize() const
Definition: SpnEnums.hpp:1986
int value
Definition: SpnEnums.hpp:1946
friend std::ostream & operator<<(std::ostream &os, const ReverseLimitSourceValue &data)
Definition: SpnEnums.hpp:1980
static constexpr int RemoteCANifier
Definition: SpnEnums.hpp:1950
static constexpr int LimitSwitchPin
Definition: SpnEnums.hpp:1948
ReverseLimitSourceValue()
Definition: SpnEnums.hpp:1958
bool operator<(const ReverseLimitSourceValue &data) const
Definition: SpnEnums.hpp:2001
static constexpr int Disabled
Definition: SpnEnums.hpp:1952
bool operator<(int data) const
Definition: SpnEnums.hpp:2005
bool operator==(int data) const
Definition: SpnEnums.hpp:1997
bool operator==(const ReverseLimitSourceValue &data) const
Definition: SpnEnums.hpp:1993
Determines if the reverse limit switch is normally-open (default) or normally-closed.
Definition: SpnEnums.hpp:1865
static constexpr int NormallyClosed
Definition: SpnEnums.hpp:1870
bool operator==(const ReverseLimitTypeValue &data) const
Definition: SpnEnums.hpp:1908
friend std::ostream & operator<<(std::ostream &os, const ReverseLimitTypeValue &data)
Definition: SpnEnums.hpp:1895
bool operator<(int data) const
Definition: SpnEnums.hpp:1920
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:1885
ReverseLimitTypeValue()
Definition: SpnEnums.hpp:1876
bool operator<(const ReverseLimitTypeValue &data) const
Definition: SpnEnums.hpp:1916
bool operator==(int data) const
Definition: SpnEnums.hpp:1912
static constexpr int NormallyOpen
Definition: SpnEnums.hpp:1869
std::string Serialize() const
Definition: SpnEnums.hpp:1901
int value
Definition: SpnEnums.hpp:1867
ReverseLimitTypeValue(int value)
Definition: SpnEnums.hpp:1872
Reverse Limit Pin.
Definition: SpnEnums.hpp:945
friend std::ostream & operator<<(std::ostream &os, const ReverseLimitValue &data)
Definition: SpnEnums.hpp:975
static constexpr int Open
Definition: SpnEnums.hpp:950
int value
Definition: SpnEnums.hpp:947
std::string Serialize() const
Definition: SpnEnums.hpp:981
ReverseLimitValue()
Definition: SpnEnums.hpp:956
bool operator==(int data) const
Definition: SpnEnums.hpp:992
ReverseLimitValue(int value)
Definition: SpnEnums.hpp:952
bool operator==(const ReverseLimitValue &data) const
Definition: SpnEnums.hpp:988
static constexpr int ClosedToGround
Definition: SpnEnums.hpp:949
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:965
bool operator<(int data) const
Definition: SpnEnums.hpp:1000
bool operator<(const ReverseLimitValue &data) const
Definition: SpnEnums.hpp:996
Whether the robot is enabled.
Definition: SpnEnums.hpp:376
bool operator<(const RobotEnableValue &data) const
Definition: SpnEnums.hpp:427
bool operator<(int data) const
Definition: SpnEnums.hpp:431
RobotEnableValue(int value)
Definition: SpnEnums.hpp:383
static constexpr int Disabled
Definition: SpnEnums.hpp:381
bool operator==(const RobotEnableValue &data) const
Definition: SpnEnums.hpp:419
static constexpr int Enabled
Definition: SpnEnums.hpp:380
bool operator==(int data) const
Definition: SpnEnums.hpp:423
friend std::ostream & operator<<(std::ostream &os, const RobotEnableValue &data)
Definition: SpnEnums.hpp:406
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:396
std::string Serialize() const
Definition: SpnEnums.hpp:412
RobotEnableValue()
Definition: SpnEnums.hpp:387
int value
Definition: SpnEnums.hpp:378
Direction of the sensor to determine positive rotation, as seen facing the LED side of the CANcoder.
Definition: SpnEnums.hpp:246
SensorDirectionValue()
Definition: SpnEnums.hpp:257
static constexpr int CounterClockwise_Positive
Definition: SpnEnums.hpp:250
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:266
bool operator==(const SensorDirectionValue &data) const
Definition: SpnEnums.hpp:289
static constexpr int Clockwise_Positive
Definition: SpnEnums.hpp:251
int value
Definition: SpnEnums.hpp:248
SensorDirectionValue(int value)
Definition: SpnEnums.hpp:253
std::string Serialize() const
Definition: SpnEnums.hpp:282
bool operator<(const SensorDirectionValue &data) const
Definition: SpnEnums.hpp:297
bool operator<(int data) const
Definition: SpnEnums.hpp:301
bool operator==(int data) const
Definition: SpnEnums.hpp:293
friend std::ostream & operator<<(std::ostream &os, const SensorDirectionValue &data)
Definition: SpnEnums.hpp:276
Static Feedforward Sign during position closed loop.
Definition: SpnEnums.hpp:2275
std::string Serialize() const
Definition: SpnEnums.hpp:2311
bool operator==(int data) const
Definition: SpnEnums.hpp:2322
friend std::ostream & operator<<(std::ostream &os, const StaticFeedforwardSignValue &data)
Definition: SpnEnums.hpp:2305
StaticFeedforwardSignValue()
Definition: SpnEnums.hpp:2286
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:2295
bool operator<(int data) const
Definition: SpnEnums.hpp:2330
bool operator==(const StaticFeedforwardSignValue &data) const
Definition: SpnEnums.hpp:2318
int value
Definition: SpnEnums.hpp:2277
bool operator<(const StaticFeedforwardSignValue &data) const
Definition: SpnEnums.hpp:2326
static constexpr int UseVelocitySign
Definition: SpnEnums.hpp:2279
static constexpr int UseClosedLoopSign
Definition: SpnEnums.hpp:2280
StaticFeedforwardSignValue(int value)
Definition: SpnEnums.hpp:2282
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
static constexpr int Production
Definition: SpnEnums.hpp:41
bool operator==(int data) const
Definition: SpnEnums.hpp:97
static constexpr int Bootup_4
Definition: SpnEnums.hpp:30
std::string Serialize() const
Definition: SpnEnums.hpp:86
static constexpr int ControlDisabled
Definition: SpnEnums.hpp:35
static constexpr int NotLicensed
Definition: SpnEnums.hpp:40
bool operator<(const System_StateValue &data) const
Definition: SpnEnums.hpp:101
System_StateValue()
Definition: SpnEnums.hpp:47
std::string ToString() const
Gets the string representation of this enum.
Definition: SpnEnums.hpp:56
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
System_StateValue(int value)
Definition: SpnEnums.hpp:43
static constexpr int BootBeep
Definition: SpnEnums.hpp:34
static constexpr int Bootup_6
Definition: SpnEnums.hpp:32
int value
Definition: SpnEnums.hpp:24
bool operator==(const System_StateValue &data) const
Definition: SpnEnums.hpp:93
static constexpr int Fault
Definition: SpnEnums.hpp:38
static constexpr int ControlEnabled_11
Definition: SpnEnums.hpp:37
bool operator<(int data) const
Definition: SpnEnums.hpp:105
static constexpr int Bootup_5
Definition: SpnEnums.hpp:31
friend std::ostream & operator<<(std::ostream &os, const System_StateValue &data)
Definition: SpnEnums.hpp:80
static constexpr int Bootup_7
Definition: SpnEnums.hpp:33
static constexpr int Bootup_2
Definition: SpnEnums.hpp:28
Definition: string_util.hpp:15