Package com.studica.frc.jni
Class AHRSJNI
java.lang.Object
com.studica.frc.jni.StudicaJNIWrapper
com.studica.frc.jni.AHRSJNI
-
Nested Class Summary
Nested classes/interfaces inherited from class com.studica.frc.jni.StudicaJNIWrapper
StudicaJNIWrapper.Helper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
c_AHRS_ConfigureVelocity
(boolean swapAxes, boolean invertX, boolean invertY, boolean invertZ) static void
c_AHRS_create
(AHRS.NavXComType comType) static void
c_AHRS_create_custom
(AHRS.NavXComType comType, int customRateHz) static void
c_AHRS_create_rate
(AHRS.NavXComType comType, AHRS.NavXUpdateRate updateRate) static void
static void
c_AHRS_EnableBoardlevelYawReset
(boolean enable) static void
c_AHRS_EnableLogging
(boolean enable) static short
static int
static float
static double
static double
static float
static AHRS.BoardYawAxis
static double
static float
static float
static float
static float
static String
static float
static short
static long
static float
static float
static float
static float
static float
static float
static double
static float
static float
static float
static float
static float
static float
static float
static float
static float
static int
static float
static float
static float
static float
static float
static double
static float
static float
static float
static float
static float
static float
static float
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static void
static void
static void
c_AHRS_SetAngleAdjustment
(double angle) static void
c_AHRS_UpdateDisplacement
(float accel_x_g, float accel_y_g, int update_rate_hz, boolean is_moving) static void
Methods inherited from class com.studica.frc.jni.StudicaJNIWrapper
forceLoad
-
Constructor Details
-
AHRSJNI
public AHRSJNI()
-
-
Method Details
-
c_AHRS_destroy
public static void c_AHRS_destroy() -
c_AHRS_GetPitch
public static float c_AHRS_GetPitch() -
c_AHRS_GetRoll
public static float c_AHRS_GetRoll() -
c_AHRS_GetYaw
public static float c_AHRS_GetYaw() -
c_AHRS_GetCompassHeading
public static float c_AHRS_GetCompassHeading() -
c_AHRS_ZeroYaw
public static void c_AHRS_ZeroYaw() -
c_AHRS_IsCalibrating
public static boolean c_AHRS_IsCalibrating() -
c_AHRS_IsConnected
public static boolean c_AHRS_IsConnected() -
c_AHRS_GetByteCount
public static double c_AHRS_GetByteCount() -
c_AHRS_GetUpdateCount
public static double c_AHRS_GetUpdateCount() -
c_AHRS_GetLastSensorTimestamp
public static long c_AHRS_GetLastSensorTimestamp() -
c_AHRS_GetWorldLinearAccelX
public static float c_AHRS_GetWorldLinearAccelX() -
c_AHRS_GetWorldLinearAccelY
public static float c_AHRS_GetWorldLinearAccelY() -
c_AHRS_GetWorldLinearAccelZ
public static float c_AHRS_GetWorldLinearAccelZ() -
c_AHRS_IsMoving
public static boolean c_AHRS_IsMoving() -
c_AHRS_IsRotating
public static boolean c_AHRS_IsRotating() -
c_AHRS_GetBarometricPressure
public static float c_AHRS_GetBarometricPressure() -
c_AHRS_GetAltitude
public static float c_AHRS_GetAltitude() -
c_AHRS_IsAltitudeValid
public static boolean c_AHRS_IsAltitudeValid() -
c_AHRS_GetFusedHeading
public static float c_AHRS_GetFusedHeading() -
c_AHRS_IsMagneticDisturbance
public static boolean c_AHRS_IsMagneticDisturbance() -
c_AHRS_IsMagnetometerCalibrated
public static boolean c_AHRS_IsMagnetometerCalibrated() -
c_AHRS_GetQuaternionW
public static float c_AHRS_GetQuaternionW() -
c_AHRS_GetQuaternionX
public static float c_AHRS_GetQuaternionX() -
c_AHRS_GetQuaternionY
public static float c_AHRS_GetQuaternionY() -
c_AHRS_GetQuaternionZ
public static float c_AHRS_GetQuaternionZ() -
c_AHRS_ResetDisplacement
public static void c_AHRS_ResetDisplacement() -
c_AHRS_UpdateDisplacement
public static void c_AHRS_UpdateDisplacement(float accel_x_g, float accel_y_g, int update_rate_hz, boolean is_moving) -
c_AHRS_ConfigureVelocity
public static void c_AHRS_ConfigureVelocity(boolean swapAxes, boolean invertX, boolean invertY, boolean invertZ) -
c_AHRS_GetVelocityX
public static float c_AHRS_GetVelocityX() -
c_AHRS_GetVelocityY
public static float c_AHRS_GetVelocityY() -
c_AHRS_GetVelocityZ
public static float c_AHRS_GetVelocityZ() -
c_AHRS_GetDisplacementX
public static float c_AHRS_GetDisplacementX() -
c_AHRS_GetDisplacementY
public static float c_AHRS_GetDisplacementY() -
c_AHRS_GetDisplacementZ
public static float c_AHRS_GetDisplacementZ() -
c_AHRS_GetRobotCentricVelocityX
public static float c_AHRS_GetRobotCentricVelocityX() -
c_AHRS_GetRobotCentricVelocityY
public static float c_AHRS_GetRobotCentricVelocityY() -
c_AHRS_GetRobotCentricVelocityZ
public static float c_AHRS_GetRobotCentricVelocityZ() -
c_AHRS_GetAngle
public static double c_AHRS_GetAngle() -
c_AHRS_GetRate
public static double c_AHRS_GetRate() -
c_AHRS_SetAngleAdjustment
public static void c_AHRS_SetAngleAdjustment(double angle) -
c_AHRS_GetAngleAdjustment
public static double c_AHRS_GetAngleAdjustment() -
c_AHRS_Reset
public static void c_AHRS_Reset() -
c_AHRS_GetRawGyroX
public static float c_AHRS_GetRawGyroX() -
c_AHRS_GetRawGyroY
public static float c_AHRS_GetRawGyroY() -
c_AHRS_GetRawGyroZ
public static float c_AHRS_GetRawGyroZ() -
c_AHRS_GetRawAccelX
public static float c_AHRS_GetRawAccelX() -
c_AHRS_GetRawAccelY
public static float c_AHRS_GetRawAccelY() -
c_AHRS_GetRawAccelZ
public static float c_AHRS_GetRawAccelZ() -
c_AHRS_GetRawMagX
public static float c_AHRS_GetRawMagX() -
c_AHRS_GetRawMagY
public static float c_AHRS_GetRawMagY() -
c_AHRS_GetRawMagZ
public static float c_AHRS_GetRawMagZ() -
c_AHRS_GetPressure
public static float c_AHRS_GetPressure() -
c_AHRS_GetTempC
public static float c_AHRS_GetTempC() -
c_AHRS_GetBoardYawAxis
-
c_AHRS_GetFirmwareVersion
-
c_AHRS_GetActualUpdateRate
public static int c_AHRS_GetActualUpdateRate() -
c_AHRS_GetRequestedUpdateRate
public static int c_AHRS_GetRequestedUpdateRate() -
c_AHRS_EnableLogging
public static void c_AHRS_EnableLogging(boolean enable) -
c_AHRS_EnableBoardlevelYawReset
public static void c_AHRS_EnableBoardlevelYawReset(boolean enable) -
c_AHRS_IsBoardlevelYawResetEnabled
public static boolean c_AHRS_IsBoardlevelYawResetEnabled() -
c_AHRS_GetGyroFullScaleRangeDPS
public static short c_AHRS_GetGyroFullScaleRangeDPS() -
c_AHRS_GetAccelFullScaleRangeG
public static short c_AHRS_GetAccelFullScaleRangeG()