SPAD_THRESHOLD
Constructor and Description |
---|
RunDownTestDriver() |
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)
This driver drives up to line speed until a target distance is reached and then applies the brakes.
|
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