public static enum BNO055IMU.SensorMode extends java.lang.Enum<BNO055IMU.SensorMode>
Enum Constant and Description |
---|
ACCGYRO |
ACCMAG |
ACCONLY |
AMG |
COMPASS |
CONFIG |
DISABLED |
GYRONLY |
IMU |
M4G |
MAGGYRO |
MAGONLY |
NDOF |
NDOF_FMC_OFF |
Modifier and Type | Field and Description |
---|---|
byte |
bVal |
Modifier and Type | Method and Description |
---|---|
boolean |
isFusionMode()
Is this SensorMode one of the fusion modes in which the BNO055 operates?
|
static BNO055IMU.SensorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BNO055IMU.SensorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BNO055IMU.SensorMode CONFIG
public static final BNO055IMU.SensorMode ACCONLY
public static final BNO055IMU.SensorMode MAGONLY
public static final BNO055IMU.SensorMode GYRONLY
public static final BNO055IMU.SensorMode ACCMAG
public static final BNO055IMU.SensorMode ACCGYRO
public static final BNO055IMU.SensorMode MAGGYRO
public static final BNO055IMU.SensorMode AMG
public static final BNO055IMU.SensorMode IMU
public static final BNO055IMU.SensorMode COMPASS
public static final BNO055IMU.SensorMode M4G
public static final BNO055IMU.SensorMode NDOF_FMC_OFF
public static final BNO055IMU.SensorMode NDOF
public static final BNO055IMU.SensorMode DISABLED
public static BNO055IMU.SensorMode[] values()
for (BNO055IMU.SensorMode c : BNO055IMU.SensorMode.values()) System.out.println(c);
public static BNO055IMU.SensorMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isFusionMode()