Package edu.wpi.first.hal
Class HALUtil
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.HALUtil
public final class HALUtil extends JNIWrapper
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static int
ANALOG_TRIGGER_PULSE_OUTPUT_ERROR
static int
INCOMPATIBLE_STATE
static int
LOOP_TIMING_ERROR
static int
NO_AVAILABLE_RESOURCES
static int
NULL_PARAMETER
static int
PARAMETER_OUT_OF_RANGE
static int
RUNTIME_ROBORIO
static int
RUNTIME_ROBORIO2
static int
RUNTIME_SIMULATION
static int
SAMPLE_RATE_TOO_HIGH
static int
VOLTAGE_OUT_OF_RANGE
-
Method Summary
Modifier and Type Method Description static boolean
getFPGAButton()
static int
getFPGARevision()
static long
getFPGATime()
static short
getFPGAVersion()
static int
getHALErrno()
static String
getHALErrorMessage(int code)
static int
getHALRuntimeType()
static String
getHALstrerror()
static String
getHALstrerror(int errno)
static String
getSerialNumber()
-
Field Details
-
NULL_PARAMETER
- See Also:
- Constant Field Values
-
SAMPLE_RATE_TOO_HIGH
- See Also:
- Constant Field Values
-
VOLTAGE_OUT_OF_RANGE
- See Also:
- Constant Field Values
-
LOOP_TIMING_ERROR
- See Also:
- Constant Field Values
-
INCOMPATIBLE_STATE
- See Also:
- Constant Field Values
-
ANALOG_TRIGGER_PULSE_OUTPUT_ERROR
- See Also:
- Constant Field Values
-
NO_AVAILABLE_RESOURCES
- See Also:
- Constant Field Values
-
PARAMETER_OUT_OF_RANGE
- See Also:
- Constant Field Values
-
RUNTIME_ROBORIO
- See Also:
- Constant Field Values
-
RUNTIME_ROBORIO2
- See Also:
- Constant Field Values
-
RUNTIME_SIMULATION
- See Also:
- Constant Field Values
-
-
Method Details