public abstract class GuidingUnit extends AdapterUnit
PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowswitch
If true, the guider is allowed to request a guider mode change.
|
protected double |
increase
A value set from the outside signaling increased exposure time.
|
static String |
KEY_SEEING
Issued to the local parameter cluster as the seeing estimate.
|
static String |
KEY_WINDMAX
The wind-speed maxometer parameter.
|
static String |
MODE_AUTO
Auto mode, select best as you think...
|
static String |
MODE_NORMAL
Normal guider mode.
|
static String |
MODE_SEEING
Bad seeing guider mode.
|
static String |
MODE_TRACKING
No-guiding mode, pure tracking.
|
static String |
MODE_WIND
High wind guider mode.
|
protected DataOutputStream |
offrecord
An object output stream were we serialize our alt/az offs in.
|
protected DataOutputStream |
pidrecord
An object output stream were we serialize our alt/az offs in.
|
ACQUIRETYPE, GUIDERTYPE, PYRAMIDTYPEKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOMECONFIG, KEY_CLASS| Modifier | Constructor and Description |
|---|---|
protected |
GuidingUnit(Map<String,String> p) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract TimerTask |
createGuiderLoop(long repeatperiod)
Creates the guider loop, which can be used as a timer task.
|
protected abstract long |
getExposureTime()
Returns the guider exposure time, available after unit task.
|
protected abstract GuiderMode |
getMode()
Returns the currently active guider mode.
|
protected abstract void |
requestMode(String mode)
Requests the guiding mode as the identifier string.
|
protected void |
setAllowSwitch(boolean modechange)
Sets the state of the allow switch.
|
protected void |
setIncrease(double afteracquire)
Sets the increase value.
|
protected void |
setOffsetStream(DataOutputStream open)
Sets a stream that should be used to serialize the offset data into.
|
protected void |
setPIDStream(DataOutputStream open)
Sets a stream that should be used to serialize the pids data into.
|
doUnitTask, getGuider, getMaster, getTelescope, getUnitType, init, isManual, isValid, resetUnit, setGuider, setManual, setMaster, setTelescopeclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, parseObject, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiespublic static final String MODE_AUTO
public static final String MODE_NORMAL
public static final String MODE_SEEING
public static final String MODE_WIND
public static final String MODE_TRACKING
public static final String KEY_SEEING
public static final String KEY_WINDMAX
protected double increase
protected boolean allowswitch
protected DataOutputStream offrecord
protected DataOutputStream pidrecord
protected void setIncrease(double afteracquire)
protected void setAllowSwitch(boolean modechange)
protected void setOffsetStream(DataOutputStream open)
protected void setPIDStream(DataOutputStream open)
protected abstract long getExposureTime()
protected abstract TimerTask createGuiderLoop(long repeatperiod)
protected abstract void requestMode(String mode)
protected abstract GuiderMode getMode()