public static enum BNO055.opmode_t extends java.lang.Enum<BNO055.opmode_t>
Modifier and Type | Method and Description |
---|---|
int |
getVal() |
static BNO055.opmode_t |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BNO055.opmode_t[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BNO055.opmode_t OPERATION_MODE_CONFIG
public static final BNO055.opmode_t OPERATION_MODE_ACCONLY
public static final BNO055.opmode_t OPERATION_MODE_MAGONLY
public static final BNO055.opmode_t OPERATION_MODE_GYRONLY
public static final BNO055.opmode_t OPERATION_MODE_ACCMAG
public static final BNO055.opmode_t OPERATION_MODE_ACCGYRO
public static final BNO055.opmode_t OPERATION_MODE_MAGGYRO
public static final BNO055.opmode_t OPERATION_MODE_AMG
public static final BNO055.opmode_t OPERATION_MODE_IMUPLUS
public static final BNO055.opmode_t OPERATION_MODE_COMPASS
public static final BNO055.opmode_t OPERATION_MODE_M4G
public static final BNO055.opmode_t OPERATION_MODE_NDOF_FMC_OFF
public static final BNO055.opmode_t OPERATION_MODE_NDOF
public static BNO055.opmode_t[] values()
for (BNO055.opmode_t c : BNO055.opmode_t.values()) System.out.println(c);
public static BNO055.opmode_t 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 int getVal()