public class LSM6DS33 extends Sensor implements AccelerometerSensor, GyroscopeSensor
simulatedOnly
Constructor and Description |
---|
LSM6DS33() |
Modifier and Type | Method and Description |
---|---|
double[] |
getAccelerometerData() |
float |
getAccelerometerX() |
float |
getAccelerometerY() |
float |
getAccelerometerZ() |
double[] |
getGyroscopeData() |
float |
getGyroscopeX() |
float |
getGyroscopeY() |
float |
getGyroscopeZ() |
static LSM6DS33 |
getLoadedInstance() |
float |
getPitch() |
float |
getRoll() |
java.lang.String |
getSensorName()
Returns the sensor name, typically the make/model of the hardware sensor that this class refers to.
|
float |
getYaw() |
boolean |
isValidLoad()
See if we have a valid load
|
addListener, addNonResettableListener, addNonResettableValueChangedListener, addValueChangedListener, clearListeners, getSensor, isSimulatedOnly, isValidLoadedSensor, notifyListeners, reloadSimulation, removeListener, removeListener, resetToDefault, roundValue, scaleValue, setSimulatedOnly, setValidLoad, storeSensor
public java.lang.String getSensorName()
Sensor
getSensorName
in class Sensor
String
representing the sensor's name.public static LSM6DS33 getLoadedInstance()
public boolean isValidLoad()
public double[] getGyroscopeData()
getGyroscopeData
in interface GyroscopeSensor
public float getGyroscopeX()
getGyroscopeX
in interface GyroscopeSensor
public float getGyroscopeY()
getGyroscopeY
in interface GyroscopeSensor
public float getGyroscopeZ()
getGyroscopeZ
in interface GyroscopeSensor
public double[] getAccelerometerData()
getAccelerometerData
in interface AccelerometerSensor
public float getAccelerometerX()
getAccelerometerX
in interface AccelerometerSensor
public float getAccelerometerY()
getAccelerometerY
in interface AccelerometerSensor
public float getAccelerometerZ()
getAccelerometerZ
in interface AccelerometerSensor
public float getPitch()
getPitch
in interface GyroscopeSensor
public float getRoll()
getRoll
in interface GyroscopeSensor
public float getYaw()
getYaw
in interface GyroscopeSensor