
public final class HallTransition extends Object implements Serializable
BladePosition,
Serialized Form| Constructor and Description |
|---|
HallTransition(long time,
int sensor,
boolean open,
boolean reverse,
double position,
double relPosition)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getPosition()
Gets the absolute position of the transition.
|
double |
getRelPosition()
Gets the relative position of the transition.
|
int |
getSensorId()
Gets the Hall sensor ID number.
|
long |
getTransitionTime()
Gets the time of the transition.
|
boolean |
isOpen()
Is the new state of the sensor "open"?
|
boolean |
isReverse()
Was the blade set retracting when the transition occurred?
|
public HallTransition(long time,
int sensor,
boolean open,
boolean reverse,
double position,
double relPosition)
time - The time of the transition, a system time in microseconds.sensor - The ID number of the sensor.open - Is the new state of the sensor "open"?reverse - Was the blade set retracting?position - The absolute position of the transition.relPosition - The relative position of the transition.public long getTransitionTime()
public int getSensorId()
public boolean isOpen()
public boolean isReverse()
public double getPosition()
public double getRelPosition()
Copyright © 2019 LSST. All rights reserved.