org.robokind.impl.motion.openservo
Enum OpenServoCommandSet.Register
java.lang.Object
java.lang.Enum<OpenServoCommandSet.Register>
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>
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
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.