|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.garmin.fit.Mesg
com.garmin.fit.ThreeDSensorCalibrationMesg
public class ThreeDSensorCalibrationMesg
Field Summary | |
---|---|
static int |
CalibrationDivisorFieldNum
|
static int |
CalibrationFactorFieldNum
|
static int |
LevelShiftFieldNum
|
static int |
OffsetCalFieldNum
|
static int |
OrientationMatrixFieldNum
|
static int |
SensorTypeFieldNum
|
protected static Mesg |
threeDSensorCalibrationMesg
|
static int |
TimestampFieldNum
|
Fields inherited from class com.garmin.fit.Mesg |
---|
developerFields, fields, localNum, name, num, systemTimeOffset |
Constructor Summary | |
---|---|
ThreeDSensorCalibrationMesg()
|
|
ThreeDSensorCalibrationMesg(Mesg mesg)
|
Method Summary | |
---|---|
java.lang.Long |
getAccelCalFactor()
Get accel_cal_factor field Units: g Comment: Accelerometer calibration factor |
java.lang.Long |
getCalibrationDivisor()
Get calibration_divisor field Units: counts Comment: Calibration factor divisor |
java.lang.Long |
getCalibrationFactor()
Get calibration_factor field Comment: Calibration factor used to convert from raw ADC value to degrees, g, etc. |
java.lang.Long |
getGyroCalFactor()
Get gyro_cal_factor field Units: deg/s Comment: Gyro calibration factor |
java.lang.Long |
getLevelShift()
Get level_shift field Comment: Level shift value used to shift the ADC value back into range |
int |
getNumOffsetCal()
|
int |
getNumOrientationMatrix()
|
java.lang.Integer[] |
getOffsetCal()
|
java.lang.Integer |
getOffsetCal(int index)
Get offset_cal field Comment: Internal calibration factors, one for each: xy, yx, zx |
java.lang.Float[] |
getOrientationMatrix()
|
java.lang.Float |
getOrientationMatrix(int index)
Get orientation_matrix field Comment: 3 x 3 rotation matrix (row major) |
SensorType |
getSensorType()
Get sensor_type field Comment: Indicates which sensor the calibration is for |
DateTime |
getTimestamp()
Get timestamp field Units: s Comment: Whole second part of the timestamp |
void |
setAccelCalFactor(java.lang.Long accelCalFactor)
Set accel_cal_factor field Units: g Comment: Accelerometer calibration factor |
void |
setCalibrationDivisor(java.lang.Long calibrationDivisor)
Set calibration_divisor field Units: counts Comment: Calibration factor divisor |
void |
setCalibrationFactor(java.lang.Long calibrationFactor)
Set calibration_factor field Comment: Calibration factor used to convert from raw ADC value to degrees, g, etc. |
void |
setGyroCalFactor(java.lang.Long gyroCalFactor)
Set gyro_cal_factor field Units: deg/s Comment: Gyro calibration factor |
void |
setLevelShift(java.lang.Long levelShift)
Set level_shift field Comment: Level shift value used to shift the ADC value back into range |
void |
setOffsetCal(int index,
java.lang.Integer offsetCal)
Set offset_cal field Comment: Internal calibration factors, one for each: xy, yx, zx |
void |
setOrientationMatrix(int index,
java.lang.Float orientationMatrix)
Set orientation_matrix field Comment: 3 x 3 rotation matrix (row major) |
void |
setSensorType(SensorType sensorType)
Set sensor_type field Comment: Indicates which sensor the calibration is for |
void |
setTimestamp(DateTime timestamp)
Set timestamp field Units: s Comment: Whole second part of the timestamp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TimestampFieldNum
public static final int SensorTypeFieldNum
public static final int CalibrationFactorFieldNum
public static final int CalibrationDivisorFieldNum
public static final int LevelShiftFieldNum
public static final int OffsetCalFieldNum
public static final int OrientationMatrixFieldNum
protected static final Mesg threeDSensorCalibrationMesg
Constructor Detail |
---|
public ThreeDSensorCalibrationMesg()
public ThreeDSensorCalibrationMesg(Mesg mesg)
Method Detail |
---|
public DateTime getTimestamp()
public void setTimestamp(DateTime timestamp)
timestamp
- public SensorType getSensorType()
public void setSensorType(SensorType sensorType)
sensorType
- public java.lang.Long getCalibrationFactor()
public void setCalibrationFactor(java.lang.Long calibrationFactor)
calibrationFactor
- public java.lang.Long getAccelCalFactor()
public void setAccelCalFactor(java.lang.Long accelCalFactor)
accelCalFactor
- public java.lang.Long getGyroCalFactor()
public void setGyroCalFactor(java.lang.Long gyroCalFactor)
gyroCalFactor
- public java.lang.Long getCalibrationDivisor()
public void setCalibrationDivisor(java.lang.Long calibrationDivisor)
calibrationDivisor
- public java.lang.Long getLevelShift()
public void setLevelShift(java.lang.Long levelShift)
levelShift
- public java.lang.Integer[] getOffsetCal()
public int getNumOffsetCal()
public java.lang.Integer getOffsetCal(int index)
index
- of offset_cal
public void setOffsetCal(int index, java.lang.Integer offsetCal)
index
- of offset_caloffsetCal
- public java.lang.Float[] getOrientationMatrix()
public int getNumOrientationMatrix()
public java.lang.Float getOrientationMatrix(int index)
index
- of orientation_matrix
public void setOrientationMatrix(int index, java.lang.Float orientationMatrix)
index
- of orientation_matrixorientationMatrix
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |