de.jaetzold.art.examples
Class TrustySimpleBaseRobot

java.lang.Object
  |
  +--de.jaetzold.art.examples.TrustySimpleBaseRobot
All Implemented Interfaces:
TrustySimpleAlgorithm.Robot
Direct Known Subclasses:
TrustySimpleAWTDemoRobot, TrustySimpleFTDemoRobot, TrustySimpleMSDemoRobot

public class TrustySimpleBaseRobot
extends Object
implements TrustySimpleAlgorithm.Robot


Field Summary
protected  double backupMeters
           
protected  NormalizedDriveTrain driveTrain
           
protected  double turnAngle
           
 
Constructor Summary
TrustySimpleBaseRobot()
           
TrustySimpleBaseRobot(NormalizedDriveTrain driveTrain, double backupMeters, double turnAngle)
           
 
Method Summary
 double getBackupMeters()
           
 NormalizedDriveTrain getNormalizedDriveTrain()
           
 double getTurnAngle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

driveTrain

protected NormalizedDriveTrain driveTrain

backupMeters

protected double backupMeters

turnAngle

protected double turnAngle
Constructor Detail

TrustySimpleBaseRobot

public TrustySimpleBaseRobot(NormalizedDriveTrain driveTrain,
                             double backupMeters,
                             double turnAngle)

TrustySimpleBaseRobot

public TrustySimpleBaseRobot()
                      throws Exception
Method Detail

getNormalizedDriveTrain

public NormalizedDriveTrain getNormalizedDriveTrain()
Specified by:
getNormalizedDriveTrain in interface TrustySimpleAlgorithm.Robot

getBackupMeters

public double getBackupMeters()
Specified by:
getBackupMeters in interface TrustySimpleAlgorithm.Robot

getTurnAngle

public double getTurnAngle()
Specified by:
getTurnAngle in interface TrustySimpleAlgorithm.Robot