de.jaetzold.art.examples
Class LiSeSimpleBaseRobot

java.lang.Object
  |
  +--de.jaetzold.art.examples.LiSeSimpleBaseRobot
All Implemented Interfaces:
LiSeSimpleAlgorithm.Robot
Direct Known Subclasses:
LiSeSimpleFTDemoRobot, LiSeSimpleMSDemoRobot

public class LiSeSimpleBaseRobot
extends Object
implements LiSeSimpleAlgorithm.Robot


Field Summary
protected  double followSpeed
           
protected  double maxLeftAngle
           
protected  double maxRightAngle
           
protected  double searchSpeed
           
protected  Servo turnServo
           
 
Constructor Summary
LiSeSimpleBaseRobot(Servo turnServo, double maxRightAngle, double maxLeftAngle, double searchSpeed, double followSpeed)
           
 
Method Summary
 double getFollowSpeed()
           
 double getMaxLeftAngle()
           
 double getMaxRightAngle()
           
 double getSearchSpeed()
           
 Servo getTurnServo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

turnServo

protected Servo turnServo

maxRightAngle

protected double maxRightAngle

maxLeftAngle

protected double maxLeftAngle

searchSpeed

protected double searchSpeed

followSpeed

protected double followSpeed
Constructor Detail

LiSeSimpleBaseRobot

public LiSeSimpleBaseRobot(Servo turnServo,
                           double maxRightAngle,
                           double maxLeftAngle,
                           double searchSpeed,
                           double followSpeed)
Method Detail

getMaxRightAngle

public double getMaxRightAngle()
Specified by:
getMaxRightAngle in interface LiSeSimpleAlgorithm.Robot

getMaxLeftAngle

public double getMaxLeftAngle()
Specified by:
getMaxLeftAngle in interface LiSeSimpleAlgorithm.Robot

getSearchSpeed

public double getSearchSpeed()
Specified by:
getSearchSpeed in interface LiSeSimpleAlgorithm.Robot

getFollowSpeed

public double getFollowSpeed()
Specified by:
getFollowSpeed in interface LiSeSimpleAlgorithm.Robot

getTurnServo

public Servo getTurnServo()
Specified by:
getTurnServo in interface LiSeSimpleAlgorithm.Robot