Package com.diozero.devices.imu
Class ImuData
java.lang.Object
com.diozero.devices.imu.ImuData
public class ImuData extends Object
-
Constructor Summary
Constructors Constructor Description ImuData(org.apache.commons.math3.geometry.euclidean.threed.Vector3D gyro, org.apache.commons.math3.geometry.euclidean.threed.Vector3D accel, org.apache.commons.math3.complex.Quaternion quaternion, org.apache.commons.math3.geometry.euclidean.threed.Vector3D compass, float temperature, long timestamp)
-
Method Summary
Modifier and Type Method Description org.apache.commons.math3.geometry.euclidean.threed.Vector3D
getAccel()
org.apache.commons.math3.geometry.euclidean.threed.Vector3D
getCompass()
org.apache.commons.math3.geometry.euclidean.threed.Vector3D
getGyro()
org.apache.commons.math3.complex.Quaternion
getQuaternion()
float
getTemperature()
long
getTimestamp()
void
setGyro(org.apache.commons.math3.geometry.euclidean.threed.Vector3D gyro)
-
Constructor Details
-
ImuData
public ImuData(org.apache.commons.math3.geometry.euclidean.threed.Vector3D gyro, org.apache.commons.math3.geometry.euclidean.threed.Vector3D accel, org.apache.commons.math3.complex.Quaternion quaternion, org.apache.commons.math3.geometry.euclidean.threed.Vector3D compass, float temperature, long timestamp)
-
-
Method Details
-
getGyro
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getGyro() -
setGyro
public void setGyro(org.apache.commons.math3.geometry.euclidean.threed.Vector3D gyro) -
getAccel
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getAccel() -
getQuaternion
public org.apache.commons.math3.complex.Quaternion getQuaternion() -
getCompass
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getCompass() -
getTimestamp
public long getTimestamp() -
getTemperature
public float getTemperature()
-