public static enum iRobotCommands.Sensor extends Enum<iRobotCommands.Sensor>
Modifier and Type | Field and Description |
---|---|
private int |
bytesPerPacket |
private byte |
index |
private String |
name |
private short |
sensitivity |
Modifier and Type | Method and Description |
---|---|
int |
bytesPerPacket() |
byte |
index() |
short |
sensitivity() |
String |
toString() |
static iRobotCommands.Sensor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static iRobotCommands.Sensor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final iRobotCommands.Sensor Group0
public static final iRobotCommands.Sensor Group1
public static final iRobotCommands.Sensor Group2
public static final iRobotCommands.Sensor Group3
public static final iRobotCommands.Sensor Group4
public static final iRobotCommands.Sensor Group5
public static final iRobotCommands.Sensor Group6
public static final iRobotCommands.Sensor BumpsAndWheelDrops
public static final iRobotCommands.Sensor Wall
public static final iRobotCommands.Sensor CliffLeft
public static final iRobotCommands.Sensor CliffFrontLeft
public static final iRobotCommands.Sensor CliffFrontRight
public static final iRobotCommands.Sensor CliffRight
public static final iRobotCommands.Sensor VirtualWall
public static final iRobotCommands.Sensor Overcurrents
public static final iRobotCommands.Sensor Unused1
public static final iRobotCommands.Sensor Unused2
public static final iRobotCommands.Sensor IRByte
public static final iRobotCommands.Sensor Buttons
public static final iRobotCommands.Sensor Distance
public static final iRobotCommands.Sensor Angle
public static final iRobotCommands.Sensor ChargingState
public static final iRobotCommands.Sensor Voltage
public static final iRobotCommands.Sensor Current
public static final iRobotCommands.Sensor BatteryTemperature
public static final iRobotCommands.Sensor BatteryCharge
public static final iRobotCommands.Sensor BatteryCapacity
public static final iRobotCommands.Sensor WallSignal
public static final iRobotCommands.Sensor CliffLeftSignal
public static final iRobotCommands.Sensor CliffFrontLeftSignal
public static final iRobotCommands.Sensor CliffFrontRightSignal
public static final iRobotCommands.Sensor CliffRightSignal
public static final iRobotCommands.Sensor UserDigitalInputs
public static final iRobotCommands.Sensor UserAnalogInput
public static final iRobotCommands.Sensor ChargingSourcesAvailable
public static final iRobotCommands.Sensor OIMode
public static final iRobotCommands.Sensor SongNumber
public static final iRobotCommands.Sensor SongPlaying
public static final iRobotCommands.Sensor NumberOfStreamPackets
public static final iRobotCommands.Sensor Velocity
public static final iRobotCommands.Sensor Radius
public static final iRobotCommands.Sensor RightVelocity
public static final iRobotCommands.Sensor LeftVelocity
private String name
private byte index
private int bytesPerPacket
private short sensitivity
public static iRobotCommands.Sensor[] values()
for (iRobotCommands.Sensor c : iRobotCommands.Sensor.values()) System.out.println(c);
public static iRobotCommands.Sensor 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 String toString()
toString
in class Enum<iRobotCommands.Sensor>
public byte index()
public int bytesPerPacket()
public short sensitivity()