org.lsst.ccs.subsystems.fcs.common
Interface EngineState
- All Known Implementing Classes:
- ErrorState, RunningState, StopState
public interface EngineState
|
Method Summary |
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. |
java.lang.String |
error(Motor m)
|
java.lang.String |
go(Motor m,
double t,
RunningWay runningWay)
Send the command go to engine e for t milliseconds in a given rotation way. |
java.lang.String |
stop(Motor m)
|
RUNNING
static final EngineState RUNNING
STOP
static final EngineState STOP
ERROR
static final EngineState ERROR
go
java.lang.String go(Motor m,
double t,
RunningWay runningWay)
- Send the command go to engine e for t milliseconds in a given rotation way.
- Parameters:
e - : enginet - : in millisecondsrunningWay - rotation way
stop
java.lang.String stop(Motor m)
error
java.lang.String error(Motor m)
computeDisplacement
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.
- Parameters:
engine - period - in millisecondsrunningWay -
- Returns:
Copyright © 2011 LSST. All Rights Reserved.