de.jaetzold.art.examples
Class TrustySimpleAlgorithm
java.lang.Object
|
+--de.jaetzold.art.examples.TrustySimpleAlgorithm
- All Implemented Interfaces:
- Trusty
- public class TrustySimpleAlgorithm
- extends Object
- implements Trusty
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
driveTrain
protected NormalizedDriveTrain driveTrain
backupMeters
protected double backupMeters
turnAngle
protected double turnAngle
changes
protected PropertyChangeSupport changes
TrustySimpleAlgorithm
public TrustySimpleAlgorithm(TrustySimpleAlgorithm.Robot robot)
TrustySimpleAlgorithm
public TrustySimpleAlgorithm()
throws Exception
avoidLeft
public void avoidLeft()
- Specified by:
avoidLeft
in interface Trusty
avoidRight
public void avoidRight()
- Specified by:
avoidRight
in interface Trusty
stop
public void stop()
- Specified by:
stop
in interface Trusty
move
public void move()
- Specified by:
move
in interface Trusty
setState
protected void setState(int state)
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
getState
public int getState()
- Specified by:
getState
in interface Trusty
main
public static void main(String[] argv)
throws Exception