Package com.ctre.phoenix.sensors
Class PigeonImuJNI
java.lang.Object
com.ctre.phoenix.CTREJNIWrapper
com.ctre.phoenix.sensors.PigeonImuJNI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intJNI_AddFusedHeading(long handle, double angleDeg, int timeoutMs) static intJNI_AddYaw(long handle, double angleDeg, int timeoutMs) static intJNI_ClearStickyFaults(long handle, int timeoutMs) static intJNI_ConfigFactoryDefault(long handle, int timeoutMs) static intJNI_ConfigGetCustomParam(long handle, int paramIndex, int timoutMs) static doubleJNI_ConfigGetParameter(long handle, int param, int ordinal, int timeoutMs) static intJNI_ConfigSetCustomParam(long handle, int newValue, int paramIndex, int timeoutMs) static intJNI_ConfigSetParameter(long handle, int param, double value, int subValue, int ordinal, int timeoutMs) static intJNI_destroy_PigeonImu(long handle) static intJNI_EnterCalibrationMode(long handle, int calMode, int timeoutMs) static intJNI_Get6dQuaternion(long handle, double[] wxyz) static doubleJNI_GetAbsoluteCompassHeading(long handle) static intJNI_GetAccelerometerAngles(long handle, double[] tiltAngles) static intJNI_GetAccumGyro(long handle, double[] xyz_deg) static intJNI_GetBiasedAccelerometer(long handle, short[] ba_xyz) static intJNI_GetBiasedMagnetometer(long handle, short[] bm_xyz) static doubleJNI_GetCompassFieldStrength(long handle) static doubleJNI_GetCompassHeading(long handle) static intJNI_GetFaults(long handle) static intJNI_GetFirmwareVersion(long handle) static intJNI_GetFusedHeading(long handle, double[] params) static intJNI_GetGeneralStatus(long handle, double[] params) static intJNI_GetGravityVector(long handle, double[] gravityVector) static intJNI_GetLastError(long handle) static doubleJNI_GetLastTimestamp(long handle) static doubleJNI_GetPitch(long handle) static intJNI_GetRawGyro(long handle, double[] xyz_dps) static intJNI_GetRawMagnetometer(long handle, short[] rm_xyz) static intJNI_GetResetCount(long handle) static intJNI_GetResetFlags(long handle) static doubleJNI_GetRoll(long handle) static intJNI_GetState(long handle) static intJNI_GetStatusFramePeriod(long handle, int frame, int timeoutMs) static intJNI_GetStickyFaults(long handle) static doubleJNI_GetTemp(long handle) static intJNI_GetUpTime(long handle) static doubleJNI_GetYaw(long handle) static intJNI_GetYawPitchRoll(long handle, double[] ypr) static intJNI_GetYawPitchRoll2(long handle, double[] ypr) static booleanJNI_HasResetOccurred(long handle) static longJNI_new_PigeonImu(int deviceNumber, String version, String canbus) static longJNI_new_PigeonImu_Talon(int talonID, String version) static intJNI_SetAccumZAngle(long handle, double angleDeg, int timeoutMs) static intJNI_SetCompassAngle(long handle, double angleDeg, int timeoutMs) static intJNI_SetCompassDeclination(long handle, double angleDegOffset, int timeoutMs) static intJNI_SetControlFramePeriod(long handle, int frame, int periodMs) static intJNI_SetFusedHeading(long handle, double angleDeg, int timeoutMs) static intJNI_SetFusedHeadingToCompass(long handle, int timeoutMs) static intJNI_SetStatusFramePeriod(long handle, int statusFrame, int periodMs, int timeoutMs) static intJNI_SetTemperatureCompensationDisable(long handle, int bTempCompDisable, int timeoutMs) static intJNI_SetYaw(long handle, double angleDeg, int timeoutMs) static intJNI_SetYawToCompass(long handle, int timeoutMs)
-
Constructor Details
-
PigeonImuJNI
public PigeonImuJNI()
-
-
Method Details
-
JNI_new_PigeonImu_Talon
-
JNI_new_PigeonImu
-
JNI_destroy_PigeonImu
-
JNI_ConfigSetCustomParam
public static int JNI_ConfigSetCustomParam(long handle, int newValue, int paramIndex, int timeoutMs) -
JNI_ConfigGetCustomParam
-
JNI_ConfigSetParameter
public static int JNI_ConfigSetParameter(long handle, int param, double value, int subValue, int ordinal, int timeoutMs) -
JNI_ConfigGetParameter
-
JNI_ConfigFactoryDefault
-
JNI_SetStatusFramePeriod
public static int JNI_SetStatusFramePeriod(long handle, int statusFrame, int periodMs, int timeoutMs) -
JNI_SetYaw
-
JNI_AddYaw
-
JNI_SetYawToCompass
-
JNI_SetFusedHeading
-
JNI_AddFusedHeading
-
JNI_SetFusedHeadingToCompass
-
JNI_SetAccumZAngle
-
JNI_SetTemperatureCompensationDisable
public static int JNI_SetTemperatureCompensationDisable(long handle, int bTempCompDisable, int timeoutMs) -
JNI_SetCompassDeclination
-
JNI_SetCompassAngle
-
JNI_EnterCalibrationMode
-
JNI_GetGeneralStatus
-
JNI_Get6dQuaternion
-
JNI_GetYawPitchRoll
-
JNI_GetYawPitchRoll2
-
JNI_GetYaw
-
JNI_GetPitch
-
JNI_GetRoll
-
JNI_GetGravityVector
-
JNI_GetAccumGyro
-
JNI_GetAbsoluteCompassHeading
-
JNI_GetCompassHeading
-
JNI_GetCompassFieldStrength
-
JNI_GetTemp
-
JNI_GetUpTime
-
JNI_GetRawMagnetometer
-
JNI_GetBiasedMagnetometer
-
JNI_GetBiasedAccelerometer
-
JNI_GetRawGyro
-
JNI_GetAccelerometerAngles
-
JNI_GetFusedHeading
-
JNI_GetState
-
JNI_GetResetCount
-
JNI_GetResetFlags
-
JNI_GetFirmwareVersion
-
JNI_GetLastError
-
JNI_GetLastTimestamp
-
JNI_HasResetOccurred
-
JNI_GetStatusFramePeriod
-
JNI_SetControlFramePeriod
-
JNI_GetFaults
-
JNI_GetStickyFaults
-
JNI_ClearStickyFaults
-