public class Bmi160ThreeAxisMessage extends Message
CartesianFloat
,
CartesianShort
Constructor and Description |
---|
Bmi160ThreeAxisMessage(byte[] data,
float scale) |
Bmi160ThreeAxisMessage(java.util.Calendar timestamp,
byte[] data,
float scale) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getData(java.lang.Class<T> type)
Interprets the data as the given type.
|
float |
getScale()
Retrieves the LSB to g ratio
|
java.lang.String |
toString() |
getData, getTimestamp, getTimestampAsString
public Bmi160ThreeAxisMessage(byte[] data, float scale)
public Bmi160ThreeAxisMessage(java.util.Calendar timestamp, byte[] data, float scale)
public float getScale()
public <T> T getData(java.lang.Class<T> type)
Message