org.robokind.impl.motion.openservo
Enum OpenServoCommandSet.Command

java.lang.Object
  extended by java.lang.Enum<OpenServoCommandSet.Command>
      extended by org.robokind.impl.motion.openservo.OpenServoCommandSet.Command
All Implemented Interfaces:
Serializable, Comparable<OpenServoCommandSet.Command>
Enclosing class:
OpenServoCommandSet

public static enum OpenServoCommandSet.Command
extends Enum<OpenServoCommandSet.Command>


Enum Constant Summary
CHECKED_TXN
           
CURVE_MOTION_APPEND
           
CURVE_MOTION_DISABLE
           
CURVE_MOTION_ENABLE
           
CURVE_MOTION_RESET
           
EEPROM_ERASE
           
PWM_DISABLE
           
PWM_ENABLE
           
REGISTERS_DEFAULT
           
REGISTERS_RESTORE
           
REGISTERS_SAVE
           
RESET
           
VOLTAGE_READ
           
WRITE_DISABLE
           
WRITE_ENABLE
           
 
Method Summary
 byte getCommand()
           
static OpenServoCommandSet.Command valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OpenServoCommandSet.Command[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RESET

public static final OpenServoCommandSet.Command RESET

CHECKED_TXN

public static final OpenServoCommandSet.Command CHECKED_TXN

PWM_ENABLE

public static final OpenServoCommandSet.Command PWM_ENABLE

PWM_DISABLE

public static final OpenServoCommandSet.Command PWM_DISABLE

WRITE_ENABLE

public static final OpenServoCommandSet.Command WRITE_ENABLE

WRITE_DISABLE

public static final OpenServoCommandSet.Command WRITE_DISABLE

REGISTERS_SAVE

public static final OpenServoCommandSet.Command REGISTERS_SAVE

REGISTERS_RESTORE

public static final OpenServoCommandSet.Command REGISTERS_RESTORE

REGISTERS_DEFAULT

public static final OpenServoCommandSet.Command REGISTERS_DEFAULT

EEPROM_ERASE

public static final OpenServoCommandSet.Command EEPROM_ERASE

VOLTAGE_READ

public static final OpenServoCommandSet.Command VOLTAGE_READ

CURVE_MOTION_ENABLE

public static final OpenServoCommandSet.Command CURVE_MOTION_ENABLE

CURVE_MOTION_DISABLE

public static final OpenServoCommandSet.Command CURVE_MOTION_DISABLE

CURVE_MOTION_RESET

public static final OpenServoCommandSet.Command CURVE_MOTION_RESET

CURVE_MOTION_APPEND

public static final OpenServoCommandSet.Command CURVE_MOTION_APPEND
Method Detail

values

public static OpenServoCommandSet.Command[] 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 (OpenServoCommandSet.Command c : OpenServoCommandSet.Command.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OpenServoCommandSet.Command valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getCommand

public byte getCommand()


Copyright © 2011-2013. All Rights Reserved.