nanovm.ctbot.drivers
Class Motor
java.lang.Object
nanovm.ctbot.drivers.Motor
public class Motor
- extends java.lang.Object
Constructor Summary |
Motor()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAXIMUM
public static final int MAXIMUM
- See Also:
- Constant Field Values
MINIMUM
public static final int MINIMUM
- See Also:
- Constant Field Values
MAXIMUM_SPEED
public static final int MAXIMUM_SPEED
- See Also:
- Constant Field Values
MINIMUM_SPEED
public static final int MINIMUM_SPEED
- See Also:
- Constant Field Values
Motor
public Motor()
setLeft
public static void setLeft(int val)
setRight
public static void setRight(int val)
getLeft
public static int getLeft()
getRight
public static int getRight()
setLeftSpeed
public static void setLeftSpeed(int val)
setRightSpeed
public static void setRightSpeed(int val)
getLeftSpeed
public static int getLeftSpeed()
getRightSpeed
public static int getRightSpeed()
stop
public static void stop()