public static enum AHRS.SerialDataType extends java.lang.Enum<AHRS.SerialDataType>
Note that if communicating over I2C/SPI, all available data can be retrieved, so the SerialDataType need only be specified if using serial communications.
Enum Constant and Description |
---|
kProcessedData
(default): 6 and 9-axis processed data
|
kRawData
unprocessed data from each individual sensor
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static AHRS.SerialDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AHRS.SerialDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AHRS.SerialDataType kProcessedData
public static final AHRS.SerialDataType kRawData
public static AHRS.SerialDataType[] values()
for (AHRS.SerialDataType c : AHRS.SerialDataType.values()) System.out.println(c);
public static AHRS.SerialDataType 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 getValue()