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
Constructor Summary |
LiSeSimpleBaseRobot(Servo turnServo,
double maxRightAngle,
double maxLeftAngle,
double searchSpeed,
double followSpeed)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
turnServo
protected Servo turnServo
maxRightAngle
protected double maxRightAngle
maxLeftAngle
protected double maxLeftAngle
searchSpeed
protected double searchSpeed
followSpeed
protected double followSpeed
LiSeSimpleBaseRobot
public LiSeSimpleBaseRobot(Servo turnServo,
double maxRightAngle,
double maxLeftAngle,
double searchSpeed,
double followSpeed)
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