|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Instruction>
org.robokind.impl.motion.dynamixel.enums.Instruction
public enum Instruction
Instructions expected by a DynamixelJoint.
Enum Constant Summary | |
---|---|
Action
Updates DynamixelJoint with new Register values set using the RegWrite Instruction. |
|
Ping
Pings a DynamixelJoint to ensure it is available. |
|
ReadData
Reads Register data from a DynamixelJoint. |
|
RegWrite
Write data to a Register for a DynamixelJoint, but delays updating the DynamixelJoint until an Action Instruction is sent. |
|
Reset
Resets the DynamixelJoint to the default factory settings. |
|
SyncWrite
Write data to a range of Registers for multiple DynamixelJoints simultaneously. |
|
WriteData
Writes data to a Register for a DynamixelJoint. |
Method Summary | |
---|---|
static Instruction |
get(Byte b)
Returns the Instruction with the given byte value. |
byte |
getByte()
Return the byte value for the given Instruction. |
static Instruction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Instruction[] |
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 |
---|
public static final Instruction Ping
public static final Instruction ReadData
public static final Instruction WriteData
public static final Instruction RegWrite
public static final Instruction Action
public static final Instruction Reset
public static final Instruction SyncWrite
Method Detail |
---|
public static Instruction[] values()
for (Instruction c : Instruction.values()) System.out.println(c);
public static Instruction valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic byte getByte()
public static Instruction get(Byte b)
b
- byte value of Instruction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |