
public static final class BladeSetCalibration.Item extends Object
| Constructor and Description |
|---|
Item(int sensor,
int index,
double position,
boolean open,
boolean reverse)
Constructs a single calibration item from the field values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Gets the index used to distinguish members of a set of consecutive transitions.
|
double |
getPosition()
Gets the absolute position of the transition.
|
int |
getSensor()
Gets the Hall sensor ID number.
|
boolean |
isOpen()
Gets the state of the Hall sensor after the transition.
|
boolean |
isReverse()
Gets the direction-of-motion flag for the transition.
|
public Item(int sensor,
int index,
double position,
boolean open,
boolean reverse)
sensor - the Hall sensor ID number (0, 1, 2, ...)index - used to number consecutive transition pairs (0, 1, 2, ...) for
the same sensor. A new pair starts when the state changes to open.position - the absolute position of the sensor involved (mm)open - the state of the sensor after the transition. true when a magnet is not presentreverse - true if the blade set was being retracted when the transition occurredpublic int getSensor()
public int getIndex()
public double getPosition()
public boolean isOpen()
public boolean isReverse()
Copyright © 2016 LSST. All rights reserved.