public static enum SensorFusion.Mode extends java.lang.Enum<SensorFusion.Mode>
Enum Constant and Description |
---|
COMPASS
Determines geographic direction from th Earth's magnetic field
|
IMU_PLUS
Calculates relative orientation in space from accelerometer and gyro data
|
M4G
Similar to IMUPlus except rotation is detected with the magnetometer
|
NDOF
Calculates absolute roeintation from accelerometer, gyro, and magnetometer
|
SLEEP
algorithm is inactive
|
Modifier and Type | Method and Description |
---|---|
static SensorFusion.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SensorFusion.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SensorFusion.Mode SLEEP
public static final SensorFusion.Mode NDOF
public static final SensorFusion.Mode IMU_PLUS
public static final SensorFusion.Mode COMPASS
public static final SensorFusion.Mode M4G
public static SensorFusion.Mode[] values()
for (SensorFusion.Mode c : SensorFusion.Mode.values()) System.out.println(c);
public static SensorFusion.Mode 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 null