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 intANALOG_TRIGGER_PULSE_OUTPUT_ERRORstatic intINCOMPATIBLE_STATEstatic intLOOP_TIMING_ERRORstatic intNO_AVAILABLE_RESOURCESstatic intNULL_PARAMETERstatic intPARAMETER_OUT_OF_RANGEstatic intRUNTIME_ROBORIOstatic intRUNTIME_ROBORIO2static intRUNTIME_SIMULATIONstatic intSAMPLE_RATE_TOO_HIGHstatic intVOLTAGE_OUT_OF_RANGE -
Method Summary
Modifier and Type Method Description static booleangetFPGAButton()static intgetFPGARevision()static longgetFPGATime()static shortgetFPGAVersion()static intgetHALErrno()static StringgetHALErrorMessage(int code)static intgetHALRuntimeType()static StringgetHALstrerror()static StringgetHALstrerror(int errno)
-
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