Package com.kauailabs.navx.ftc
Enum navXPIDController.navXUntimestampedDataSource
- java.lang.Object
-
- java.lang.Enum<navXPIDController.navXUntimestampedDataSource>
-
- com.kauailabs.navx.ftc.navXPIDController.navXUntimestampedDataSource
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<navXPIDController.navXUntimestampedDataSource>
- Enclosing class:
- navXPIDController
public static enum navXPIDController.navXUntimestampedDataSource extends java.lang.Enum<navXPIDController.navXUntimestampedDataSource>
The navXUntimestampedDataSources specifies the navX-Model device sensor data source type used by the navXPIDController as it's input data source. These data sources are timestamped with the Android "system" timestamp only, and thus may not have sufficient data to allow the navXPIDController to compensate for any jitter in the transmission from the navX-Model device to the navXPIDController.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RAW_ACCEL_X
RAW_ACCEL_Y
RAW_ACCEL_Z
RAW_GYRO_X
RAW_GYRO_Y
RAW_GYRO_Z
RAW_MAG_X
RAW_MAG_Y
RAW_MAG_Z
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static navXPIDController.navXUntimestampedDataSource
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static navXPIDController.navXUntimestampedDataSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RAW_GYRO_X
public static final navXPIDController.navXUntimestampedDataSource RAW_GYRO_X
-
RAW_GYRO_Y
public static final navXPIDController.navXUntimestampedDataSource RAW_GYRO_Y
-
RAW_GYRO_Z
public static final navXPIDController.navXUntimestampedDataSource RAW_GYRO_Z
-
RAW_ACCEL_X
public static final navXPIDController.navXUntimestampedDataSource RAW_ACCEL_X
-
RAW_ACCEL_Y
public static final navXPIDController.navXUntimestampedDataSource RAW_ACCEL_Y
-
RAW_ACCEL_Z
public static final navXPIDController.navXUntimestampedDataSource RAW_ACCEL_Z
-
RAW_MAG_X
public static final navXPIDController.navXUntimestampedDataSource RAW_MAG_X
-
RAW_MAG_Y
public static final navXPIDController.navXUntimestampedDataSource RAW_MAG_Y
-
RAW_MAG_Z
public static final navXPIDController.navXUntimestampedDataSource RAW_MAG_Z
-
-
Method Detail
-
values
public static navXPIDController.navXUntimestampedDataSource[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (navXPIDController.navXUntimestampedDataSource c : navXPIDController.navXUntimestampedDataSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static navXPIDController.navXUntimestampedDataSource valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-