public class ThreeDSensorCalibrationMesg extends Mesg
Modifier and Type | Field and Description |
---|---|
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 |
developerFields, fields, localNum, name, num, systemTimeOffset
Constructor and Description |
---|
ThreeDSensorCalibrationMesg() |
ThreeDSensorCalibrationMesg(Mesg mesg) |
Modifier and Type | Method and Description |
---|---|
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
|
addDeveloperField, addField, getActiveSubFieldIndex, getActiveSubFieldName, getDeveloperFields, getField, getField, getField, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBitsValue, getFieldBitsValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValues, getFieldByteValues, getFieldByteValues, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValues, getFieldDoubleValues, getFieldDoubleValues, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValues, getFieldFloatValues, getFieldFloatValues, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValues, getFieldIntegerValues, getFieldIntegerValues, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValues, getFieldLongValues, getFieldLongValues, getFields, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValues, getFieldShortValues, getFieldShortValues, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValues, getFieldStringValues, getFieldStringValues, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getIsFieldAccumulated, getLocalNum, getName, getNum, getNumFields, getNumFieldValues, getNumFieldValues, getNumFieldValues, getNumFieldValues, getOverrideField, hasField, removeExpandedFields, removeField, setField, setFields, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setLocalNum, timestampToDateTime, write, write
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
public ThreeDSensorCalibrationMesg()
public ThreeDSensorCalibrationMesg(Mesg mesg)
public DateTime getTimestamp()
public void setTimestamp(DateTime timestamp)
timestamp
- The new timestamp value to be setpublic SensorType getSensorType()
public void setSensorType(SensorType sensorType)
sensorType
- The new sensorType value to be setpublic java.lang.Long getCalibrationFactor()
public void setCalibrationFactor(java.lang.Long calibrationFactor)
calibrationFactor
- The new calibrationFactor value to be setpublic java.lang.Long getAccelCalFactor()
public void setAccelCalFactor(java.lang.Long accelCalFactor)
accelCalFactor
- The new accelCalFactor value to be setpublic java.lang.Long getGyroCalFactor()
public void setGyroCalFactor(java.lang.Long gyroCalFactor)
gyroCalFactor
- The new gyroCalFactor value to be setpublic java.lang.Long getCalibrationDivisor()
public void setCalibrationDivisor(java.lang.Long calibrationDivisor)
calibrationDivisor
- The new calibrationDivisor value to be setpublic java.lang.Long getLevelShift()
public void setLevelShift(java.lang.Long levelShift)
levelShift
- The new levelShift value to be setpublic java.lang.Integer[] getOffsetCal()
public int getNumOffsetCal()
public java.lang.Integer getOffsetCal(int index)
index
- of offset_calpublic void setOffsetCal(int index, java.lang.Integer offsetCal)
index
- of offset_caloffsetCal
- The new offsetCal value to be setpublic java.lang.Float[] getOrientationMatrix()
public int getNumOrientationMatrix()
public java.lang.Float getOrientationMatrix(int index)
index
- of orientation_matrixpublic void setOrientationMatrix(int index, java.lang.Float orientationMatrix)
index
- of orientation_matrixorientationMatrix
- The new orientationMatrix value to be set