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

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

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


Enum Constant Summary
PID_DEADBAND
           
PID_DGAIN_HI
           
PID_DGAIN_LO
           
PID_IGAIN_HI
           
PID_IGAIN_LO
           
PID_PGAIN_HI
           
PID_PGAIN_LO
           
POSITION_HI
           
POSITION_LO
           
POWER_HI
           
POWER_LO
           
PULSE_CONTROL_ENABLED
           
PWM_CCW
           
PWM_CW
           
REVERSE
           
SEEK_HI
           
SEEK_LO
           
SEEK_VELOCITY_HI
           
SEEK_VELOCITY_LO
           
VELOCITY_HI
           
VELOCITY_LO
           
VOLTAGE_HI
           
VOLTAGE_LO
           
 
Method Summary
 byte getRegister()
           
static OpenServoCommandSet.Register valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OpenServoCommandSet.Register[] 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

POSITION_HI

public static final OpenServoCommandSet.Register POSITION_HI

POSITION_LO

public static final OpenServoCommandSet.Register POSITION_LO

VELOCITY_HI

public static final OpenServoCommandSet.Register VELOCITY_HI

VELOCITY_LO

public static final OpenServoCommandSet.Register VELOCITY_LO

POWER_HI

public static final OpenServoCommandSet.Register POWER_HI

POWER_LO

public static final OpenServoCommandSet.Register POWER_LO

PWM_CW

public static final OpenServoCommandSet.Register PWM_CW

PWM_CCW

public static final OpenServoCommandSet.Register PWM_CCW

SEEK_HI

public static final OpenServoCommandSet.Register SEEK_HI

SEEK_LO

public static final OpenServoCommandSet.Register SEEK_LO

SEEK_VELOCITY_HI

public static final OpenServoCommandSet.Register SEEK_VELOCITY_HI

SEEK_VELOCITY_LO

public static final OpenServoCommandSet.Register SEEK_VELOCITY_LO

VOLTAGE_HI

public static final OpenServoCommandSet.Register VOLTAGE_HI

VOLTAGE_LO

public static final OpenServoCommandSet.Register VOLTAGE_LO

PID_DEADBAND

public static final OpenServoCommandSet.Register PID_DEADBAND

PID_PGAIN_HI

public static final OpenServoCommandSet.Register PID_PGAIN_HI

PID_PGAIN_LO

public static final OpenServoCommandSet.Register PID_PGAIN_LO

PID_DGAIN_HI

public static final OpenServoCommandSet.Register PID_DGAIN_HI

PID_DGAIN_LO

public static final OpenServoCommandSet.Register PID_DGAIN_LO

PID_IGAIN_HI

public static final OpenServoCommandSet.Register PID_IGAIN_HI

PID_IGAIN_LO

public static final OpenServoCommandSet.Register PID_IGAIN_LO

REVERSE

public static final OpenServoCommandSet.Register REVERSE

PULSE_CONTROL_ENABLED

public static final OpenServoCommandSet.Register PULSE_CONTROL_ENABLED
Method Detail

values

public static OpenServoCommandSet.Register[] 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.Register c : OpenServoCommandSet.Register.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.Register 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

getRegister

public byte getRegister()


Copyright © 2011-2013. All Rights Reserved.