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, storeSensorpublic java.lang.String getSensorName()
SensorgetSensorName in class SensorString representing the sensor's name.public static LSM6DS33 getLoadedInstance()
public boolean isValidLoad()
public double[] getGyroscopeData()
getGyroscopeData in interface GyroscopeSensorpublic float getGyroscopeX()
getGyroscopeX in interface GyroscopeSensorpublic float getGyroscopeY()
getGyroscopeY in interface GyroscopeSensorpublic float getGyroscopeZ()
getGyroscopeZ in interface GyroscopeSensorpublic double[] getAccelerometerData()
getAccelerometerData in interface AccelerometerSensorpublic float getAccelerometerX()
getAccelerometerX in interface AccelerometerSensorpublic float getAccelerometerY()
getAccelerometerY in interface AccelerometerSensorpublic float getAccelerometerZ()
getAccelerometerZ in interface AccelerometerSensorpublic float getPitch()
getPitch in interface GyroscopeSensorpublic float getRoll()
getRoll in interface GyroscopeSensorpublic float getYaw()
getYaw in interface GyroscopeSensor