org.lsst.ccs.subsystems.fcs.common
Interface EngineState
- All Known Implementing Classes:
- ErrorState, RunningState, StopState
public interface EngineState
RUNNING
static final EngineState RUNNING
STOP
static final EngineState STOP
ERROR
static final EngineState ERROR
go
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
String stop(Motor m)
error
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 © 2012 LSST. All Rights Reserved.