1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
5S(SampleRateTooHigh, 1, "Analog module sample rate is too high")
7 "Voltage to convert to raw value is out of range [-10; 10]")
8S(CompressorTaskError, 3, "Compressor task won't start")
9S(LoopTimingError, 4, "Digital module loop timing is not the expected value")
10S(NonBinaryDigitalValue, 5, "Digital output value is not 0 or 1")
11S(IncorrectBatteryChannel, 6,
12 "Battery measurement channel is not correct value")
13S(BadJoystickIndex, 7, "Joystick index is out of range, should be 0-5")
14S(BadJoystickAxis, 8, "Joystick axis or POV is out of range")
15S(InvalidMotorIndex, 9, "Motor index is out of range, should be 0-3")
16S(DriverStationTaskError, 10, "Driver Station task won't start")
17S(EnhancedIOPWMPeriodOutOfRange, 11,
18 "Driver Station Enhanced IO PWM Output period out of range")
19S(SPIWriteNoMOSI, 12, "Cannot write to SPI port with no MOSI output")
20S(SPIReadNoMISO, 13, "Cannot read from SPI port with no MISO input")
21S(SPIReadNoData, 14, "No data available to read from SPI")
22S(IncompatibleState, 15,
23 "Incompatible State: The operation cannot be completed")
24S(Warning, 16, "Warning")