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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
robot
protected DriveTrainSimpleAlgorithm.Robot robot
meterMilliseconds
protected int meterMilliseconds
fullTurnMilliseconds
protected int fullTurnMilliseconds
NormalizedDriveTrainSimpleBaseRobot
public NormalizedDriveTrainSimpleBaseRobot(DriveTrainSimpleAlgorithm.Robot robot,
int meterMilliseconds,
int fullTurnMilliseconds)
NormalizedDriveTrainSimpleBaseRobot
public NormalizedDriveTrainSimpleBaseRobot()
throws Exception
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