private class BeamSplitterGuider.GuiderLoop extends TimerTask
| Modifier and Type | Field and Description |
|---|---|
private long |
lastsent
The time of the last PID query.
|
private long |
start
The starting time of the guider loop.
|
| Modifier | Constructor and Description |
|---|---|
protected |
GuiderLoop()
Start a new guider loop and records the start time.
|
| Modifier and Type | Method and Description |
|---|---|
private Vector2D |
averageAzAltShift(List shifts)
Averages a list of az/alt offsets stored as two-dimensional vectors.
|
private boolean |
check(Value v,
double above)
Check, if the value is non-null, its value is non-null and if this
value is higher than the supplied double.
|
void |
run()
First, check if we are running.
|
private void |
writeRecord(DataOutputStream record,
double az,
double alt)
If the record file is non null, write the two doubles as floats into
it.
|
cancel, scheduledExecutionTimeprivate long start
private long lastsent
protected GuiderLoop()
public void run()
private final boolean check(Value v, double above)
private Vector2D averageAzAltShift(List shifts)
private void writeRecord(DataOutputStream record, double az, double alt)