
public final class MovementHistory extends Object implements Serializable
| Constructor and Description |
|---|
MovementHistory(ShutterSide side,
int status,
long startTime,
double startPosition,
long endTime,
double endPosition,
List<BladePosition> positions,
List<HallTransition> transitions)
Constructs an instance from the individual field values.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getEndPosition()
Gets the position at the end of the movement.
|
long |
getEndTime()
Gets the end time of the movement in Epoch microseconds.
|
List<HallTransition> |
getHallTransitions()
Gets the time-ordered list of Hall Sensor transitions generated by this movement.
|
List<BladePosition> |
getPositions()
Gets a time-ordered list of BladePositions generated by the move.
|
ShutterSide |
getSide()
Gets the side of the camera X axis to which the blade set belongs.
|
double |
getStartPosition()
Gets the position at the beginning of the movement.
|
long |
getStartTime()
Gets the start time of the movement in Epoch microseconds.
|
int |
getStatus()
Gets the movement completion status.
|
public MovementHistory(ShutterSide side, int status, long startTime, double startPosition, long endTime, double endPosition, List<BladePosition> positions, List<HallTransition> transitions)
side - the side of the camera X axis to which the blade set belongs.status - the status code from the move.
See org.lsst.ccs.subsystems.shutter.driver.MovementStatusstartTime - the start time of the move, a system time stamp in microsecondsstartPosition - the initial relative positionendTime - the end time of the move in microsecondsendPosition - the final relative positionpositions - the blade position info sampled during the movetransitions - the Hall transitions that occurred during the movepublic ShutterSide getSide()
public int getStatus()
public long getStartTime()
public long getEndTime()
public double getStartPosition()
public double getEndPosition()
public List<BladePosition> getPositions()
public List<HallTransition> getHallTransitions()
Copyright © 2019 LSST. All rights reserved.