|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnanovm.ctbot.drivers.WheelEncoder
public class WheelEncoder
Field Summary | |
---|---|
static int |
MAXIMUM
maximum value for tick increment |
static int |
MAXIMUM_SPEED
minimum value for speed |
static int |
MINIMUM
minimum value for tick increment |
static int |
MINIMUM_SPEED
maximum value for speed |
Constructor Summary | |
---|---|
WheelEncoder()
|
Method Summary | |
---|---|
static boolean |
getEnabled()
get status of wheel-encoder |
static int |
getLeftInc()
get tick-count from left wheel since last call |
static int |
getLeftSpeed()
get actual speed (ticks/second) from left wheel |
static int |
getRightInc()
get tick-count from right wheel since last call |
static int |
getRightSpeed()
get actual speed (ticks/second) from right wheel |
static void |
setEnabled(boolean enable)
enable and disable the wheel-encoder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAXIMUM
public static final int MINIMUM
public static final int MAXIMUM_SPEED
public static final int MINIMUM_SPEED
Constructor Detail |
---|
public WheelEncoder()
Method Detail |
---|
public static int getLeftInc()
public static int getRightInc()
public static int getLeftSpeed()
public static int getRightSpeed()
public static void setEnabled(boolean enable)
public static boolean getEnabled()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |