nanovm.ctbot.drivers
Class Motor

java.lang.Object
  extended by nanovm.ctbot.drivers.Motor

public class Motor
extends java.lang.Object


Field Summary
static int MAXIMUM
           
static int MAXIMUM_SPEED
           
static int MINIMUM
           
static int MINIMUM_SPEED
           
 
Constructor Summary
Motor()
           
 
Method Summary
static int getLeft()
           
static int getLeftSpeed()
           
static int getRight()
           
static int getRightSpeed()
           
static void setLeft(int val)
           
static void setLeftSpeed(int val)
           
static void setRight(int val)
           
static void setRightSpeed(int val)
           
static void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Motor

public Motor()
Method Detail

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()