@Deprecated public class RunningState extends Object implements EngineState
| Modifier and Type | Field and Description |
|---|---|
protected static org.lsst.ccs.utilities.logging.Logger |
log
Deprecated.
|
ERROR, RUNNING, STOP| Constructor and Description |
|---|
RunningState()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
double |
computeDisplacement(Motor motor,
double period,
FcsEnumerations.RunningWay runningWay)
Deprecated.
Computes the displacement (rotation angle or position) for this engine state during a time period.
|
String |
error(Motor motor)
Deprecated.
|
String |
go(Motor motor,
double t,
FcsEnumerations.RunningWay runningWay)
Deprecated.
Engine stays in state running when it is running and it receives the command go.
|
String |
stop(Motor motor)
Deprecated.
It goes to "stop" when asked.
|
String |
toString()
Deprecated.
|
public double computeDisplacement(Motor motor, double period, FcsEnumerations.RunningWay runningWay)
computeDisplacement in interface EngineStatemotor - period - runninWay - public String error(Motor motor)
error in interface EngineStatepublic String go(Motor motor, double t, FcsEnumerations.RunningWay runningWay)
go in interface EngineStatet - : in millisecondsrunningWay - rotation waypublic String stop(Motor motor)
stop in interface EngineStateCopyright © 2014 LSST. All rights reserved.