Package edu.wpi.first.hal
Class AnalogGyroJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.AnalogGyroJNI
public class AnalogGyroJNI extends JNIWrapper
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description AnalogGyroJNI()
-
Method Summary
Modifier and Type Method Description static void
calibrateAnalogGyro(int handle)
static void
freeAnalogGyro(int handle)
static double
getAnalogGyroAngle(int handle)
static int
getAnalogGyroCenter(int handle)
static double
getAnalogGyroOffset(int handle)
static double
getAnalogGyroRate(int handle)
static int
initializeAnalogGyro(int halAnalogInputHandle)
static void
resetAnalogGyro(int handle)
static void
setAnalogGyroDeadband(int handle, double volts)
static void
setAnalogGyroParameters(int handle, double voltsPerDegreePerSecond, double offset, int center)
static void
setAnalogGyroVoltsPerDegreePerSecond(int handle, double voltsPerDegreePerSecond)
static void
setupAnalogGyro(int handle)
-
Constructor Details
-
AnalogGyroJNI
public AnalogGyroJNI()
-
-
Method Details
-
initializeAnalogGyro
-
setupAnalogGyro
-
freeAnalogGyro
-
setAnalogGyroParameters
public static void setAnalogGyroParameters(int handle, double voltsPerDegreePerSecond, double offset, int center) -
setAnalogGyroVoltsPerDegreePerSecond
public static void setAnalogGyroVoltsPerDegreePerSecond(int handle, double voltsPerDegreePerSecond) -
resetAnalogGyro
-
calibrateAnalogGyro
-
setAnalogGyroDeadband
-
getAnalogGyroAngle
-
getAnalogGyroRate
-
getAnalogGyroOffset
-
getAnalogGyroCenter
-