public interface EngineState
| Modifier and Type | Field and Description |
|---|---|
static EngineState |
ERROR |
static EngineState |
RUNNING |
static EngineState |
STOP |
| Modifier and Type | Method and Description |
|---|---|
double |
computeDisplacement(Motor m,
double period,
RunningWay runningWay)
This method compute the displacement of the mobil mechanical item
the engine moves during a period and in a given rotation way.
|
String |
error(Motor m) |
String |
go(Motor m,
double t,
RunningWay runningWay)
Send the command go to engine e for t milliseconds in a given rotation way.
|
String |
stop(Motor m) |
static final EngineState RUNNING
static final EngineState STOP
static final EngineState ERROR
String go(Motor m, double t, RunningWay runningWay)
e - : enginet - : in millisecondsrunningWay - rotation waydouble computeDisplacement(Motor m, double period, RunningWay runningWay)
engine - period - in millisecondsrunningWay - Copyright © 2014 LSST. All Rights Reserved.