|
|||||||||
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.AccelerometerDataMesg
public class AccelerometerDataMesg
Field Summary | |
---|---|
protected static Mesg |
accelerometerDataMesg
|
static int |
AccelXFieldNum
|
static int |
AccelYFieldNum
|
static int |
AccelZFieldNum
|
static int |
CalibratedAccelXFieldNum
|
static int |
CalibratedAccelYFieldNum
|
static int |
CalibratedAccelZFieldNum
|
static int |
CompressedCalibratedAccelXFieldNum
|
static int |
CompressedCalibratedAccelYFieldNum
|
static int |
CompressedCalibratedAccelZFieldNum
|
static int |
SampleTimeOffsetFieldNum
|
static int |
TimestampFieldNum
|
static int |
TimestampMsFieldNum
|
Fields inherited from class com.garmin.fit.Mesg |
---|
developerFields, fields, localNum, name, num, systemTimeOffset |
Constructor Summary | |
---|---|
AccelerometerDataMesg()
|
|
AccelerometerDataMesg(Mesg mesg)
|
Method Summary | |
---|---|
java.lang.Integer[] |
getAccelX()
|
java.lang.Integer |
getAccelX(int index)
Get accel_x field Units: counts Comment: These are the raw ADC reading. |
java.lang.Integer[] |
getAccelY()
|
java.lang.Integer |
getAccelY(int index)
Get accel_y field Units: counts Comment: These are the raw ADC reading. |
java.lang.Integer[] |
getAccelZ()
|
java.lang.Integer |
getAccelZ(int index)
Get accel_z field Units: counts Comment: These are the raw ADC reading. |
java.lang.Float[] |
getCalibratedAccelX()
|
java.lang.Float |
getCalibratedAccelX(int index)
Get calibrated_accel_x field Units: g Comment: Calibrated accel reading |
java.lang.Float[] |
getCalibratedAccelY()
|
java.lang.Float |
getCalibratedAccelY(int index)
Get calibrated_accel_y field Units: g Comment: Calibrated accel reading |
java.lang.Float[] |
getCalibratedAccelZ()
|
java.lang.Float |
getCalibratedAccelZ(int index)
Get calibrated_accel_z field Units: g Comment: Calibrated accel reading |
java.lang.Short[] |
getCompressedCalibratedAccelX()
|
java.lang.Short |
getCompressedCalibratedAccelX(int index)
Get compressed_calibrated_accel_x field Units: mG Comment: Calibrated accel reading |
java.lang.Short[] |
getCompressedCalibratedAccelY()
|
java.lang.Short |
getCompressedCalibratedAccelY(int index)
Get compressed_calibrated_accel_y field Units: mG Comment: Calibrated accel reading |
java.lang.Short[] |
getCompressedCalibratedAccelZ()
|
java.lang.Short |
getCompressedCalibratedAccelZ(int index)
Get compressed_calibrated_accel_z field Units: mG Comment: Calibrated accel reading |
int |
getNumAccelX()
|
int |
getNumAccelY()
|
int |
getNumAccelZ()
|
int |
getNumCalibratedAccelX()
|
int |
getNumCalibratedAccelY()
|
int |
getNumCalibratedAccelZ()
|
int |
getNumCompressedCalibratedAccelX()
|
int |
getNumCompressedCalibratedAccelY()
|
int |
getNumCompressedCalibratedAccelZ()
|
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 accelerometer 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 |
setAccelX(int index,
java.lang.Integer accelX)
Set accel_x field Units: counts Comment: These are the raw ADC reading. |
void |
setAccelY(int index,
java.lang.Integer accelY)
Set accel_y field Units: counts Comment: These are the raw ADC reading. |
void |
setAccelZ(int index,
java.lang.Integer accelZ)
Set accel_z field Units: counts Comment: These are the raw ADC reading. |
void |
setCalibratedAccelX(int index,
java.lang.Float calibratedAccelX)
Set calibrated_accel_x field Units: g Comment: Calibrated accel reading |
void |
setCalibratedAccelY(int index,
java.lang.Float calibratedAccelY)
Set calibrated_accel_y field Units: g Comment: Calibrated accel reading |
void |
setCalibratedAccelZ(int index,
java.lang.Float calibratedAccelZ)
Set calibrated_accel_z field Units: g Comment: Calibrated accel reading |
void |
setCompressedCalibratedAccelX(int index,
java.lang.Short compressedCalibratedAccelX)
Set compressed_calibrated_accel_x field Units: mG Comment: Calibrated accel reading |
void |
setCompressedCalibratedAccelY(int index,
java.lang.Short compressedCalibratedAccelY)
Set compressed_calibrated_accel_y field Units: mG Comment: Calibrated accel reading |
void |
setCompressedCalibratedAccelZ(int index,
java.lang.Short compressedCalibratedAccelZ)
Set compressed_calibrated_accel_z field Units: mG Comment: Calibrated accel 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 accelerometer 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. |
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 TimestampMsFieldNum
public static final int SampleTimeOffsetFieldNum
public static final int AccelXFieldNum
public static final int AccelYFieldNum
public static final int AccelZFieldNum
public static final int CalibratedAccelXFieldNum
public static final int CalibratedAccelYFieldNum
public static final int CalibratedAccelZFieldNum
public static final int CompressedCalibratedAccelXFieldNum
public static final int CompressedCalibratedAccelYFieldNum
public static final int CompressedCalibratedAccelZFieldNum
protected static final Mesg accelerometerDataMesg
Constructor Detail |
---|
public AccelerometerDataMesg()
public AccelerometerDataMesg(Mesg mesg)
Method Detail |
---|
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_offset
public void setSampleTimeOffset(int index, java.lang.Integer sampleTimeOffset)
index
- of sample_time_offsetsampleTimeOffset
- public java.lang.Integer[] getAccelX()
public int getNumAccelX()
public java.lang.Integer getAccelX(int index)
index
- of accel_x
public void setAccelX(int index, java.lang.Integer accelX)
index
- of accel_xaccelX
- public java.lang.Integer[] getAccelY()
public int getNumAccelY()
public java.lang.Integer getAccelY(int index)
index
- of accel_y
public void setAccelY(int index, java.lang.Integer accelY)
index
- of accel_yaccelY
- public java.lang.Integer[] getAccelZ()
public int getNumAccelZ()
public java.lang.Integer getAccelZ(int index)
index
- of accel_z
public void setAccelZ(int index, java.lang.Integer accelZ)
index
- of accel_zaccelZ
- public java.lang.Float[] getCalibratedAccelX()
public int getNumCalibratedAccelX()
public java.lang.Float getCalibratedAccelX(int index)
index
- of calibrated_accel_x
public void setCalibratedAccelX(int index, java.lang.Float calibratedAccelX)
index
- of calibrated_accel_xcalibratedAccelX
- public java.lang.Float[] getCalibratedAccelY()
public int getNumCalibratedAccelY()
public java.lang.Float getCalibratedAccelY(int index)
index
- of calibrated_accel_y
public void setCalibratedAccelY(int index, java.lang.Float calibratedAccelY)
index
- of calibrated_accel_ycalibratedAccelY
- public java.lang.Float[] getCalibratedAccelZ()
public int getNumCalibratedAccelZ()
public java.lang.Float getCalibratedAccelZ(int index)
index
- of calibrated_accel_z
public void setCalibratedAccelZ(int index, java.lang.Float calibratedAccelZ)
index
- of calibrated_accel_zcalibratedAccelZ
- public java.lang.Short[] getCompressedCalibratedAccelX()
public int getNumCompressedCalibratedAccelX()
public java.lang.Short getCompressedCalibratedAccelX(int index)
index
- of compressed_calibrated_accel_x
public void setCompressedCalibratedAccelX(int index, java.lang.Short compressedCalibratedAccelX)
index
- of compressed_calibrated_accel_xcompressedCalibratedAccelX
- public java.lang.Short[] getCompressedCalibratedAccelY()
public int getNumCompressedCalibratedAccelY()
public java.lang.Short getCompressedCalibratedAccelY(int index)
index
- of compressed_calibrated_accel_y
public void setCompressedCalibratedAccelY(int index, java.lang.Short compressedCalibratedAccelY)
index
- of compressed_calibrated_accel_ycompressedCalibratedAccelY
- public java.lang.Short[] getCompressedCalibratedAccelZ()
public int getNumCompressedCalibratedAccelZ()
public java.lang.Short getCompressedCalibratedAccelZ(int index)
index
- of compressed_calibrated_accel_z
public void setCompressedCalibratedAccelZ(int index, java.lang.Short compressedCalibratedAccelZ)
index
- of compressed_calibrated_accel_zcompressedCalibratedAccelZ
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |