Package me.clarius.sdk
Class PosInfo
- java.lang.Object
-
- me.clarius.sdk.PosInfo
-
public class PosInfo extends java.lang.ObjectPositional data information structure.
-
-
Field Summary
Fields Modifier and Type Field Description doubleaxAccelerometer x; acceleration is normalized to gravity [~9.81m/s^2] (m/s^2)/(m/s^2).doubleayAccelerometer y; acceleration is normalized to gravity [~9.81m/s^2] (m/s^2)/(m/s^2).doubleazAccelerometer z; acceleration is normalized to gravity [~9.81m/s^2] (m/s^2)/(m/s^2).doublegxGyroscope x; angular velocity is given in radians per second (RPS).doublegyGyroscope y; angular velocity is given in radians per second (RPS).doublegzGyroscope z; angular velocity is given in radians per second (RPS).doublemxMagnetometer x; magnetic flux density is normalized to the earth's field [~50 mT] (T/T).doublemyMagnetometer y; magnetic flux density is normalized to the earth's field [~50 mT] (T/T).doublemzMagnetometer z; magnetic flux density is normalized to the earth's field [~50 mT] (T/T).doubleqwW component (real) of the orientation quaternion.doubleqxX component (imaginary) of the orientation quaternion.doubleqyY component (imaginary) of the orientation quaternion.doubleqzZ component (imaginary) of the orientation quaternion.longtmTimestamp in nanoseconds.
-
-
-
Field Detail
-
tm
public long tm
Timestamp in nanoseconds.
-
gx
public double gx
Gyroscope x; angular velocity is given in radians per second (RPS).
-
gy
public double gy
Gyroscope y; angular velocity is given in radians per second (RPS).
-
gz
public double gz
Gyroscope z; angular velocity is given in radians per second (RPS).
-
ax
public double ax
Accelerometer x; acceleration is normalized to gravity [~9.81m/s^2] (m/s^2)/(m/s^2).
-
ay
public double ay
Accelerometer y; acceleration is normalized to gravity [~9.81m/s^2] (m/s^2)/(m/s^2).
-
az
public double az
Accelerometer z; acceleration is normalized to gravity [~9.81m/s^2] (m/s^2)/(m/s^2).
-
mx
public double mx
Magnetometer x; magnetic flux density is normalized to the earth's field [~50 mT] (T/T).
-
my
public double my
Magnetometer y; magnetic flux density is normalized to the earth's field [~50 mT] (T/T).
-
mz
public double mz
Magnetometer z; magnetic flux density is normalized to the earth's field [~50 mT] (T/T).
-
qw
public double qw
W component (real) of the orientation quaternion.
-
qx
public double qx
X component (imaginary) of the orientation quaternion.
-
qy
public double qy
Y component (imaginary) of the orientation quaternion.
-
qz
public double qz
Z component (imaginary) of the orientation quaternion.
-
-
Constructor Detail
-
PosInfo
public PosInfo()
Default constructor.
-
PosInfo
public PosInfo(long tm, double gx, double gy, double gz, double ax, double ay, double az, double mx, double my, double mz, double qw, double qx, double qy, double qz)Constructor with parameters.- Parameters:
tm- Timestamp in nanoseconds.gx- Gyroscope x; angular velocity is given in radians per second (RPS).gy- Gyroscope y; angular velocity is given in radians per second (RPS).gz- Gyroscope z; angular velocity is given in radians per second (RPS).ax- Accelerometer x; acceleration is normalized to gravity [~9.81m/s^2] (m/s^2)/(m/s^2).ay- Accelerometer y; acceleration is normalized to gravity [~9.81m/s^2] (m/s^2)/(m/s^2).az- Accelerometer z; acceleration is normalized to gravity [~9.81m/s^2] (m/s^2)/(m/s^2).mx- Magnetometer x; magnetic flux density is normalized to the earth's field [~50 mT] (T/T).my- Magnetometer y; magnetic flux density is normalized to the earth's field [~50 mT] (T/T).mz- Magnetometer z; magnetic flux density is normalized to the earth's field [~50 mT] (T/T).qw- W component (real) of the orientation quaternion.qx- X component (imaginary) of the orientation quaternion.qy- Y component (imaginary) of the orientation quaternion.qz- Z component (imaginary) of the orientation quaternion.
-
-