public enum SensorType extends Enum<SensorType>
| Enum Constant and Description |
|---|
ACCELERATION_SENSOR |
ENCODER_SENSOR |
GPS_SENSOR |
GROUND_TRUTH |
HELPER_SENSOR |
HUMAN_MOTION_DETECTION |
INS_SENSOR |
LASER_SENSOR |
ODOMETRY_SENSOR |
RANGE_SENSOR |
RFID_SENSOR |
SOUND_SENSOR |
TACHOMETER |
TOUCH_SENSOR |
UNKNOWN_SENSOR |
VICTIM_SENSOR |
| Modifier and Type | Method and Description |
|---|---|
Class |
getModuleClass()
Notice that this method is not static.
|
static SensorType |
getType(String type)
For each sensor type it chacks if type matches one of
kinds.
|
static SensorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SensorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SensorType ENCODER_SENSOR
public static final SensorType ACCELERATION_SENSOR
public static final SensorType GPS_SENSOR
public static final SensorType HUMAN_MOTION_DETECTION
public static final SensorType INS_SENSOR
public static final SensorType LASER_SENSOR
public static final SensorType ODOMETRY_SENSOR
public static final SensorType RFID_SENSOR
public static final SensorType RANGE_SENSOR
public static final SensorType SOUND_SENSOR
public static final SensorType TACHOMETER
public static final SensorType TOUCH_SENSOR
public static final SensorType VICTIM_SENSOR
public static final SensorType HELPER_SENSOR
public static final SensorType GROUND_TRUTH
public static final SensorType UNKNOWN_SENSOR
public static SensorType[] values()
for (SensorType c : SensorType.values()) System.out.println(c);
public static SensorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static SensorType getType(String type)
type - String representation or kind of Sensorpublic Class getModuleClass()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.