public interface IResponseInterface
| Modifier and Type | Method and Description |
|---|---|
void |
accCalibMatrix(float[] cal,
float[] bias)
Handles retrieval of ACC_CALIB_MAT message from the device.
|
void |
baudRate(short rate)
Handles retrieval of BAUD_RATE message from the device.
|
void |
calibAccData(float x,
float y,
float z)
Handles retrieval of CALIB_ACC message from the device.
|
void |
calibGyrData(float x,
float y,
float z)
Handles retrieval of CALIB_GYR message from the device.
|
void |
calibMagData(float x,
float y,
float z)
Handles retrieval of CALIB_MAG message from the device.
|
void |
confirm()
Handles retrieval of CONFIRM message from the device.
|
void |
eulerData(float p,
float r,
float y)
Handles retrieval of EULER_DATA message from the device.
|
void |
filterAccMatrix(float[] mat)
Handles retrieval of FILTER_ACC message from the device.
|
void |
filterGyrMatrix(float[] mat)
Handles retrieval of FILTER_GYR message from the device.
|
void |
filterMagMatrix(float[] mat)
Handles retrieval of FILTER_MAG_MAT message from the device.
|
void |
filterProcMatrix(float[] mat)
Handles retrieval of FILTER_PROCN message from the device.
|
void |
gyrCalibMatrix(float[] cal,
float[] bias)
Handles retrieval of GYR_CALIB_MAT message from the device.
|
void |
i2cAddress(short addr)
Handles retrieval of I2C_ADDR message from the device.
|
void |
magCalibMatrix(float[] cal,
float[] bias)
Handles retrieval of MAG_CALIB_MAT message from the device.
|
void |
normAccData(float x,
float y,
float z)
Handles retrieval of NORM_ACC message from the device.
|
void |
normGyrData(float x,
float y,
float z)
Handles retrieval of NORM_GYR message from the device.
|
void |
normMagData(float x,
float y,
float z)
Handles retrieval of NORM_MAG message from the device.
|
void |
quatData(float q0,
float q1,
float q2,
float q3)
Handles retrieval of QUAT_DATA message from the device.
|
void |
rawAccData(short x,
short y,
short z)
Handles retrieval of RAW_ACC message from the device.
|
void |
rawGyrData(short x,
short y,
short z)
Handles retrieval of RAW_GYR message from the device.
|
void |
rawMagData(short x,
short y,
short z)
Handles retrieval of RAW_MAG message from the device.
|
void |
rotRateData(float x,
float y,
float z)
Handles retrieval of ROT_RATE_DATA message from the device.
|
void |
stats(long perf0,
long perf1,
long perf2,
long perf3,
long perf4,
long perf5,
long perf6,
long perf7)
Handles retrieval of STATS message from the device.
|
void |
sysInfo(java.lang.String model,
java.lang.String firmwareVersion)
Handles retrieval of SYS_INFO message from the device.
|
void |
temperature(float temp)
Handles retrieval of TEMP message from the device.
|
void sysInfo(java.lang.String model,
java.lang.String firmwareVersion)
model - Null-terminated string representing device model.firmwareVersion - Null-terminated string containing firmware version.void quatData(float q0,
float q1,
float q2,
float q3)
q0 - q0 (w) quaternion component.q1 - q1 (x) quaternion component.q2 - q2 (y) quaternion component.q3 - q3 (z) quaternion component.void eulerData(float p,
float r,
float y)
p - Pitch angle value.r - Roll angle value.y - Yaw angle value.void rotRateData(float x,
float y,
float z)
x - rotation rate over local device X axisy - rotation rate over local device Y axisz - rotation rate over local device Z axisvoid accCalibMatrix(float[] cal,
float[] bias)
cal - bias - void magCalibMatrix(float[] cal,
float[] bias)
cal - bias - void gyrCalibMatrix(float[] cal,
float[] bias)
cal - bias - void filterMagMatrix(float[] mat)
mat - void filterAccMatrix(float[] mat)
mat - void filterGyrMatrix(float[] mat)
mat - void filterProcMatrix(float[] mat)
mat - void temperature(float temp)
temp - Actual temperature of the device in Celsius degrees.void baudRate(short rate)
rate - void i2cAddress(short addr)
addr - actual device I2C addressvoid confirm()
void rawAccData(short x,
short y,
short z)
x - X component of measured datay - Y component of measured dataz - Z component of measured datavoid rawMagData(short x,
short y,
short z)
x - X component of measured datay - Y component of measured dataz - Z component of measured datavoid rawGyrData(short x,
short y,
short z)
x - X component of measured datay - Y component of measured dataz - Z component of measured datavoid normAccData(float x,
float y,
float z)
x - X component of measured and normalized datay - Y component of measured and normalized dataz - Z component of measured and normalized datavoid normMagData(float x,
float y,
float z)
x - X component of measured and normalized datay - Y component of measured and normalized dataz - Z component of measured and normalized datavoid normGyrData(float x,
float y,
float z)
x - X component of measured and normalized datay - Y component of measured and normalized dataz - Z component of measured and normalized datavoid calibAccData(float x,
float y,
float z)
x - X component of post-calibrated datay - Y component of post-calibrated dataz - Z component of post-calibrated datavoid calibMagData(float x,
float y,
float z)
x - X component of post-calibrated datay - Y component of post-calibrated dataz - Z component of post-calibrated datavoid calibGyrData(float x,
float y,
float z)
x - X component of post-calibrated datay - Y component of post-calibrated dataz - Z component of post-calibrated datavoid stats(long perf0,
long perf1,
long perf2,
long perf3,
long perf4,
long perf5,
long perf6,
long perf7)
perf0 - perf1 - perf2 - perf3 - perf4 - perf5 - perf6 - perf7 -