de.jaetzold.art.examples
Class NormalizedDriveTrainSimpleBaseRobot

java.lang.Object
  |
  +--de.jaetzold.art.examples.NormalizedDriveTrainSimpleBaseRobot
All Implemented Interfaces:
DriveTrainSimpleAlgorithm.Robot, NormalizedDriveTrainSimpleAlgorithm.Robot
Direct Known Subclasses:
NormalizedDriveTrainSimpleAWTDemoRobot, NormalizedDriveTrainSimpleFTDemoRobot, NormalizedDriveTrainSimpleMSDemoRobot

public class NormalizedDriveTrainSimpleBaseRobot
extends Object
implements NormalizedDriveTrainSimpleAlgorithm.Robot


Field Summary
protected  int fullTurnMilliseconds
           
protected  int meterMilliseconds
           
protected  DriveTrainSimpleAlgorithm.Robot robot
           
 
Constructor Summary
NormalizedDriveTrainSimpleBaseRobot()
           
NormalizedDriveTrainSimpleBaseRobot(DriveTrainSimpleAlgorithm.Robot robot, int meterMilliseconds, int fullTurnMilliseconds)
           
 
Method Summary
 int getFullTurnMilliseconds()
           
 Motor getLeftMotor()
           
 int getMeterMilliseconds()
           
 Motor getRightMotor()
           
static void main(String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

robot

protected DriveTrainSimpleAlgorithm.Robot robot

meterMilliseconds

protected int meterMilliseconds

fullTurnMilliseconds

protected int fullTurnMilliseconds
Constructor Detail

NormalizedDriveTrainSimpleBaseRobot

public NormalizedDriveTrainSimpleBaseRobot(DriveTrainSimpleAlgorithm.Robot robot,
                                           int meterMilliseconds,
                                           int fullTurnMilliseconds)

NormalizedDriveTrainSimpleBaseRobot

public NormalizedDriveTrainSimpleBaseRobot()
                                    throws Exception
Method Detail

getLeftMotor

public Motor getLeftMotor()
Specified by:
getLeftMotor in interface DriveTrainSimpleAlgorithm.Robot

getRightMotor

public Motor getRightMotor()
Specified by:
getRightMotor in interface DriveTrainSimpleAlgorithm.Robot

getMeterMilliseconds

public int getMeterMilliseconds()
Specified by:
getMeterMilliseconds in interface NormalizedDriveTrainSimpleAlgorithm.Robot

getFullTurnMilliseconds

public int getFullTurnMilliseconds()
Specified by:
getFullTurnMilliseconds in interface NormalizedDriveTrainSimpleAlgorithm.Robot

main

public static void main(String[] argv)
                 throws Exception