public class PeterPerfect extends java.lang.Object implements APIDriver
SPAD_THRESHOLD
Constructor and Description |
---|
PeterPerfect() |
Modifier and Type | Method and Description |
---|---|
void |
automaticDriver(double currentSpeed,
double currentDistance,
double trainLength,
boolean preventEarlyRunning,
int preventEarlyRunningSeconds,
int runningTimeDeviation,
double gradient,
java.lang.String spadNode,
boolean trackPositionNull) |
void |
initialise(BraveDriverContext context,
java.lang.String trainName,
double clockTimeStep) |
public void initialise(BraveDriverContext context, java.lang.String trainName, double clockTimeStep)
initialise
in interface APIDriver
public void automaticDriver(double currentSpeed, double currentDistance, double trainLength, boolean preventEarlyRunning, int preventEarlyRunningSeconds, int runningTimeDeviation, double gradient, java.lang.String spadNode, boolean trackPositionNull)
automaticDriver
in interface APIDriver