public class GyroscopeDataMesg extends Mesg
Modifier and Type | Field and Description |
---|---|
static int |
CalibratedGyroXFieldNum |
static int |
CalibratedGyroYFieldNum |
static int |
CalibratedGyroZFieldNum |
protected static Mesg |
gyroscopeDataMesg |
static int |
GyroXFieldNum |
static int |
GyroYFieldNum |
static int |
GyroZFieldNum |
static int |
SampleTimeOffsetFieldNum |
static int |
TimestampFieldNum |
static int |
TimestampMsFieldNum |
developerFields, fields, localNum, name, num, systemTimeOffset
Constructor and Description |
---|
GyroscopeDataMesg() |
GyroscopeDataMesg(Mesg mesg) |
Modifier and Type | Method and Description |
---|---|
java.lang.Float[] |
getCalibratedGyroX() |
java.lang.Float |
getCalibratedGyroX(int index)
Get calibrated_gyro_x field
Units: deg/s
Comment: Calibrated gyro reading
|
java.lang.Float[] |
getCalibratedGyroY() |
java.lang.Float |
getCalibratedGyroY(int index)
Get calibrated_gyro_y field
Units: deg/s
Comment: Calibrated gyro reading
|
java.lang.Float[] |
getCalibratedGyroZ() |
java.lang.Float |
getCalibratedGyroZ(int index)
Get calibrated_gyro_z field
Units: deg/s
Comment: Calibrated gyro reading
|
java.lang.Integer[] |
getGyroX() |
java.lang.Integer |
getGyroX(int index)
Get gyro_x field
Units: counts
Comment: These are the raw ADC reading.
|
java.lang.Integer[] |
getGyroY() |
java.lang.Integer |
getGyroY(int index)
Get gyro_y field
Units: counts
Comment: These are the raw ADC reading.
|
java.lang.Integer[] |
getGyroZ() |
java.lang.Integer |
getGyroZ(int index)
Get gyro_z field
Units: counts
Comment: These are the raw ADC reading.
|
int |
getNumCalibratedGyroX() |
int |
getNumCalibratedGyroY() |
int |
getNumCalibratedGyroZ() |
int |
getNumGyroX() |
int |
getNumGyroY() |
int |
getNumGyroZ() |
int |
getNumSampleTimeOffset() |
java.lang.Integer[] |
getSampleTimeOffset() |
java.lang.Integer |
getSampleTimeOffset(int index)
Get sample_time_offset field
Units: ms
Comment: Each time in the array describes the time at which the gyro sample with the corrosponding index was taken.
|
DateTime |
getTimestamp()
Get timestamp field
Units: s
Comment: Whole second part of the timestamp
|
java.lang.Integer |
getTimestampMs()
Get timestamp_ms field
Units: ms
Comment: Millisecond part of the timestamp.
|
void |
setCalibratedGyroX(int index,
java.lang.Float calibratedGyroX)
Set calibrated_gyro_x field
Units: deg/s
Comment: Calibrated gyro reading
|
void |
setCalibratedGyroY(int index,
java.lang.Float calibratedGyroY)
Set calibrated_gyro_y field
Units: deg/s
Comment: Calibrated gyro reading
|
void |
setCalibratedGyroZ(int index,
java.lang.Float calibratedGyroZ)
Set calibrated_gyro_z field
Units: deg/s
Comment: Calibrated gyro reading
|
void |
setGyroX(int index,
java.lang.Integer gyroX)
Set gyro_x field
Units: counts
Comment: These are the raw ADC reading.
|
void |
setGyroY(int index,
java.lang.Integer gyroY)
Set gyro_y field
Units: counts
Comment: These are the raw ADC reading.
|
void |
setGyroZ(int index,
java.lang.Integer gyroZ)
Set gyro_z field
Units: counts
Comment: These are the raw ADC reading.
|
void |
setSampleTimeOffset(int index,
java.lang.Integer sampleTimeOffset)
Set sample_time_offset field
Units: ms
Comment: Each time in the array describes the time at which the gyro sample with the corrosponding index was taken.
|
void |
setTimestamp(DateTime timestamp)
Set timestamp field
Units: s
Comment: Whole second part of the timestamp
|
void |
setTimestampMs(java.lang.Integer timestampMs)
Set timestamp_ms field
Units: ms
Comment: Millisecond 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 TimestampMsFieldNum
public static final int SampleTimeOffsetFieldNum
public static final int GyroXFieldNum
public static final int GyroYFieldNum
public static final int GyroZFieldNum
public static final int CalibratedGyroXFieldNum
public static final int CalibratedGyroYFieldNum
public static final int CalibratedGyroZFieldNum
protected static final Mesg gyroscopeDataMesg
public GyroscopeDataMesg()
public GyroscopeDataMesg(Mesg mesg)
public DateTime getTimestamp()
public void setTimestamp(DateTime timestamp)
timestamp
- public java.lang.Integer getTimestampMs()
public void setTimestampMs(java.lang.Integer timestampMs)
timestampMs
- public java.lang.Integer[] getSampleTimeOffset()
public int getNumSampleTimeOffset()
public java.lang.Integer getSampleTimeOffset(int index)
index
- of sample_time_offsetpublic void setSampleTimeOffset(int index, java.lang.Integer sampleTimeOffset)
index
- of sample_time_offsetsampleTimeOffset
- public java.lang.Integer[] getGyroX()
public int getNumGyroX()
public java.lang.Integer getGyroX(int index)
index
- of gyro_xpublic void setGyroX(int index, java.lang.Integer gyroX)
index
- of gyro_xgyroX
- public java.lang.Integer[] getGyroY()
public int getNumGyroY()
public java.lang.Integer getGyroY(int index)
index
- of gyro_ypublic void setGyroY(int index, java.lang.Integer gyroY)
index
- of gyro_ygyroY
- public java.lang.Integer[] getGyroZ()
public int getNumGyroZ()
public java.lang.Integer getGyroZ(int index)
index
- of gyro_zpublic void setGyroZ(int index, java.lang.Integer gyroZ)
index
- of gyro_zgyroZ
- public java.lang.Float[] getCalibratedGyroX()
public int getNumCalibratedGyroX()
public java.lang.Float getCalibratedGyroX(int index)
index
- of calibrated_gyro_xpublic void setCalibratedGyroX(int index, java.lang.Float calibratedGyroX)
index
- of calibrated_gyro_xcalibratedGyroX
- public java.lang.Float[] getCalibratedGyroY()
public int getNumCalibratedGyroY()
public java.lang.Float getCalibratedGyroY(int index)
index
- of calibrated_gyro_ypublic void setCalibratedGyroY(int index, java.lang.Float calibratedGyroY)
index
- of calibrated_gyro_ycalibratedGyroY
- public java.lang.Float[] getCalibratedGyroZ()
public int getNumCalibratedGyroZ()
public java.lang.Float getCalibratedGyroZ(int index)
index
- of calibrated_gyro_zpublic void setCalibratedGyroZ(int index, java.lang.Float calibratedGyroZ)
index
- of calibrated_gyro_zcalibratedGyroZ
-