public abstract class AcquireMaster extends GenericMaster implements AcquisitionControlling
| Modifier and Type | Class and Description |
|---|---|
protected class |
AcquireMaster.ContinuousExposure
A thread that continousely exposes the auxiliary camera until stopped.
|
GenericMaster.StandaloneReceiverTorso.CommandHandlerPropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private CcdDriver |
acquisitionccd
Non-null CCD for acquisition after init.
|
private static DecimalFormat |
ARCSEC |
private Value |
az
We cache the azimuth parameter.
|
private AbstractFieldOfView |
catalog
The foV can change with every acquisition.
|
private AcquisitionUnit |
coarsetask
Is an instance of coarse acquisition after init.
|
private AcquireMaster.ContinuousExposure |
continuous
If continuous exposures are underway, this is the thread.
|
private static String |
DEFALTITUDE
The default name of the altitude parameter.
|
private static String |
DEFAZIMUTH
The default name of the azimuth parameter.
|
private static String |
DEFPARALLACTICANGLE
The default name of the plain image rotation.
|
private static long |
DEFPROMPTTIME
A default prompt time in ms.
|
private Value |
el
We cache the altitude parameter.
|
private Value |
eta
We cache the parallactic angle parameter.
|
private AcquisitionUnit |
finetask
Is an instance of fine acquisition after init.
|
private Pivoting |
guidepinhole
If guiding is done with different CCD then acquire.
|
private AbstractAutoGuider |
guidetask
Non-null after init.
|
private Continuous |
guidingccd
If guiding is done with different CCD then acquire.
|
static String |
KEY_ACQUIREOFFSET
Issued to the local parameter cluster for suggesting offsets.
|
static String |
KEY_ACQUIRETIME
Time for the acquire command.
|
static String |
KEY_ACQUISITIONCCD
The CCD driver used for acquisition.
|
static String |
KEY_ALTITUDE
The height of the target for calculating CCD rotation.
|
static String |
KEY_AZIMUTH
The azimuth of the target for calculating CCD rotation.
|
static String |
KEY_CLEARBIN
The entire size of the (acquisition) CCD on reset.
|
static String |
KEY_CLEARFRAME
The entire size of the (acquisition) CCD on reset.
|
static String |
KEY_CLEARGUIDINGBIN
The entire size of the guiding CCD on reset.
|
static String |
KEY_CLEARGUIDINGFRAME
The entire size of the guiding CCD on reset.
|
static String |
KEY_CLEARGUIDINGTIME
The clearing exposure time of the guiind CCD.
|
static String |
KEY_CLEARTIME
The clearing exposure time of the (acquisition) CCD.
|
static String |
KEY_COLORTARGET
The internal magnitude of the target set on acquire,
|
static String |
KEY_DEDITHER
If a dithering on de is applied, this parameter reflects it.
|
static String |
KEY_DETARGET
The internal declination of the target set on acquire,
|
static String |
KEY_FILEOVERSTRING
Preference of file properties over string properites?
|
static String |
KEY_FINDTIME
Time for the find command.
|
static String |
KEY_FITSPRIOR
Fits file name header for single exposures.
|
static String |
KEY_GUIDECCD
The CCD driver used for guiding, if different from acquisition.
|
static String |
KEY_IMPROVECOARSE
Maximum improvements on coarse acquire.
|
static String |
KEY_IMPROVEFINE
Maximum improvements on fine acquire.
|
static String |
KEY_MAGTARGET
The internal magnitude of the target set on acquire,
|
static String |
KEY_MOVETIME
The time-out for move-telescopes.
|
static String |
KEY_OFFSETDELAY
Delay on guiding stop, if offsets are active.
|
static String |
KEY_OFFSETWAIT
Maximum offset delays waited on stop guiding.
|
static String |
KEY_PARALLACTICANGLE
The name of the
Value holding the plain image rotation. |
static String |
KEY_PROMPTTIME
Time for instantaneous commands (no hardware changes).
|
static String |
KEY_RADITHER
If a dithering on ra is applied, this parameter reflects it.
|
static String |
KEY_RATARGET
The internal right ascension of the target set on acquire,
|
static String |
KEY_STARTGUIDINGTIME
Time for starting the guiding.
|
static String |
KEY_STOPGUIDINGTIME
Time for stopping the guiding.
|
static String |
KEY_TARGETNAME
The rmi-target name for errors on acquire,
|
private Pivoting |
pinhole
Non-null hot-pixel on acquisition CCD after init.
|
static String |
POSTFIX_CLASS
The postfix for class name.
|
static String |
POSTFIX_FILE
The postfix for file properties.
|
static String |
POSTFIX_STRING
The postfix for String properties.
|
static String |
PREFIX_ACQUIREGAUSS
The truncated gauss class for acquire star classification.
|
static String |
PREFIX_ACQUIRETOOL
The aggregate class for acquire.
|
static String |
PREFIX_CATALOGMATCH
The prefix for the catalog matcher.
|
static String |
PREFIX_COARSEUNIT
The coarse acquisition unit.
|
static String |
PREFIX_ETC
The prefix for the exposure time calculator.
|
static String |
PREFIX_FINEUNIT
The coarse acquisition unit.
|
static String |
PREFIX_FOV
The prefix for the field-of-view provider.
|
static String |
PREFIX_GEOMETRY
The prefix for the geometry on the CCD and in the optics.
|
static String |
PREFIX_GUIDEETC
Only if guiding uses a different CCD.
|
static String |
PREFIX_GUIDEGAUSS
The truncated gauss class for guide star classification.
|
static String |
PREFIX_GUIDEGEOMETRY
Only if guiding uses a different CCD.
|
static String |
PREFIX_GUIDEPINHOLE
Only if guiding uses a different CCD.
|
static String |
PREFIX_GUIDETOOL
The aggregate class for guide.
|
static String |
PREFIX_GUIDEUNIT
The coarse acquisition unit.
|
static String |
PREFIX_PINHOLE
The prefix for pinhole position properties.
|
static String |
PREFIX_SPILL
The prefix for classes providing prompt image recognition.
|
static String |
PREFIX_VANISH
The prefix for classes providing prompt image recognition.
|
DEFUNIQUE, KEY_ABORTTIME, KEY_AUTOMATIC, KEY_COMMTIME, KEY_COMMUNICATOR, KEY_DRIVERS, KEY_HISTORYDB, KEY_INITTIME, KEY_NODB, KEY_OBSERVEDB, KEY_OVERRULEAUTO, KEY_PARKTIME, KEY_PERMISSIONDB, KEY_PROPOSALDB, KEY_QUITTIME, KEY_REAUTO, KEY_RESETTIME, KEY_SET, KEY_SHUTDOWNDELAY, KEY_STATUSTIME, KEY_TARGETDB, KEY_TASKDB, KEY_UNIQUE, KEY_USERDB, lastabort, lastinit, lastpark, lastreset, telescopeKEY_BIND, KEY_BINDNAME, KEY_COMMANDCASTER, KEY_ERRORCOOLKEY_ALIVE, KEY_EXPORTPORT, KEY_INIT, KEY_LISTENERNAME, KEY_RETRY, KEY_RETRYSLEEPKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORNAMING_EXTENSIONNAMING_EXTENSIONKEY_INITDEPTHKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOMECONFIG, KEY_CLASS| Modifier | Constructor and Description |
|---|---|
protected |
AcquireMaster(Map<String,String> prop) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
abortMaster(CommandEvent ce)
Method called to abort the device.
|
protected boolean |
acquire(StarCommand com,
AcquisitionUnit.Modes mode)
Brings the acquire star at the cross-hair of the guider.
|
protected boolean |
acquisitionGeometry(int xoff,
int yoff,
int xsize,
int ysize,
int xbin,
int ybin)
Sets the geometry of the next image on the acquisition ccd.
|
boolean |
automatic()
Enables automatic operation.
|
private boolean |
binningResettable(CcdDriver ccd,
int xbin,
int ybin,
boolean retry) |
private boolean |
ccdReset(CcdDriver aux) |
private String |
ccdStatus(CcdDriver ccd,
Pivoting pinhole) |
boolean |
center(double[] ra,
double[] de,
float[] m,
float[] bv)
Centers a field-of-view on the guider's predefined center.
|
private boolean |
clearingExposure(CcdDriver ccd,
long expose,
Rectangle box,
Dimension bin) |
private static Object |
createSubsystem(String prefix,
boolean fbe4s,
PropertyContainer master)
We try to create one of the sub-systems.
|
protected Object |
createSubsystemWithSet(String prefix)
Creates a subsystem and assigne the master's parameter set, if requested.
|
private AcquisitionUnit |
createSubunit(String prefix) |
protected void |
doAcquire(AcquisitionUnit.Modes mode) |
private boolean |
doCoarseAcquisition() |
private boolean |
doFineAcquisition(TransparencyMeasuring coarse) |
protected boolean |
doStartExposing(double tsec)
Starts the continuous getting of exposures with the stated exposure time.
|
protected boolean |
doStartGuiding(String mode)
Starts the guiding with the requested mode.
|
private boolean |
doStartGuiding(String mode,
TransparencyMeasuring prior)
Starts the guiding with the requested mode.
|
protected boolean |
doStopExposing()
We stop continuous exposures and join on the camera for exit.
|
protected void |
doStopGuiding() |
private boolean |
doSuggest() |
protected boolean |
find(FieldOfViewCommand cmd)
Registers a list of stars that are expected in the following acquire
field.
|
private boolean |
geometry(CcdDriver ccd,
int xoff,
int yoff,
int xsize,
int ysize,
int xbin,
int ybin) |
protected CcdDriver |
getAcquisitionCcd() |
protected double |
getAltitude() |
protected double |
getAzimuth() |
protected CoarseAcquiring |
getCoarseAcquisition()
This is currently used only by the pinhole viewing master.
|
protected Continuous |
getGuidingCcd() |
protected double |
getParallacticAngle() |
static List<Star> |
getStarDescriptions(double[] ra,
double[] de,
float[] mag,
float[] bv)
Converts an array of ra, dec, Vmag, and B-V into a list of star
descriptions.
|
private static Map<String,String> |
getSubsystemProperties(String prefix,
boolean f4s,
PropertyContainer master)
We try to retrieve the properties of one of the sub-systems.
|
protected boolean |
guidingGeometry(int xoff,
int yoff,
int xsize,
int ysize,
int xbin,
int ybin)
Sets the geometry of the next image on the guider ccd.
|
boolean |
hotPixelShift(double dx,
double dy)
Sets an absolute shift in the hot pixel, of the acquisition center.
|
boolean |
hotPixelShiftGuide(double dx,
double dy)
Sets an absolute shift in the hot pixel of the guding center.
|
protected void |
init2()
Has now driver, communication and parameter set.
|
boolean |
initGuider()
Initializes the guider and prepares it for a new guider loop.
|
protected boolean |
initializeMaster(CommandEvent ce)
Initializes the adapter.
|
void |
initStep(int curstep)
Additionally initializes the filter-to-position lookup tables.
|
boolean |
manual()
Disables automatic operation.
|
private boolean |
moveTelescope(double ra,
double de)
For manual access we also allow moving the telescope.
|
boolean |
offsetAzAlt(double daz,
double del)
Offsets the guider by a certain amount in az/alt on the guider CCD.
|
boolean |
offsetXY(int dx,
int dy)
Offsets the guider by a certain amount in x/y on the guider CCD.
|
protected boolean |
parkMaster(CommandEvent ce)
Parks the adapter.
|
protected boolean |
prepareAcquire(double ra,
double de,
float mag,
float bv) |
protected boolean |
prepareCatalog(List<Star> fov) |
protected boolean |
prepareDither(double dra,
double dde) |
protected boolean |
prepareGuidePivotOffset(double dx,
double dy) |
protected boolean |
preparePivotOffset(double dx,
double dy) |
protected void |
quitMaster(CommandEvent ce)
Quits the adapter.
|
boolean |
readoutGeometry(Rectangle w,
int xbin,
int ybin)
Sets the read-out geometry on the acquisition CCD.
|
boolean |
readoutGeometryGuide(Rectangle w,
int xbin,
int ybin)
Sets the read-out geometry on the acquisition CCD.
|
boolean |
resetCcd()
Tries to reset the acquisition CCD.
|
boolean |
resetCcdGuide()
Tries to reset the acquisition CCD.
|
protected boolean |
resetMaster(CommandEvent ce)
Resets the adapter.
|
protected boolean |
singleExposure(CcdDriver aux,
File fits,
double texp) |
boolean |
singleShot(File fits,
double texp)
Takes a single exposure with the given exposure time in second.
|
boolean |
singleShotGuide(File fits,
double texp)
Takes a single exposure with the given exposure time in second.
|
boolean |
startGuiding()
Starts the auto-guider.
|
protected Object |
statusMaster(CommandEvent ce)
Returns a status message.
|
boolean |
stopGuiding()
Stops the guiding if active.
|
protected boolean |
takeExposure(double tsec,
int nr)
Take an exposure with the guiding camera.
|
private boolean |
windowResettable(CcdDriver ccd,
int xoff,
int yoff,
int xsize,
int ysize,
boolean retry) |
addErrorListener, addRmiErrorListener, createCommunicator, createCommunicator, exit, external, formatWithGlobals, getAcknowledgeNumber, getAllDrivers, getCompletionTime, getDriver, getHistorySql, getObserveSql, getOffsetCaster, getParameterByKey, getParameterByName, getParameterCluster, getParameterValueByKey, getParameterValueByName, getPermissionSql, getProposalSql, getStatus, getTargetSql, getTaskSql, getUnique, getUniqueId, getUserSql, initialize, isAlive, isAuto, isManual, isPassive, park, processCommand, quit, reload, rescanned, reset, resetAlarm, resetAllDrivers, restartAllDrivers, revert, rmiAddParameter, rmiCommand, rmiGet, rmiGetAllParameterNames, rmiRemoveParameter, rmiSet, setLastError, setOff, setParameterValueByKey, setParameterValueByName, setPassive, shutdown, zeroAllOmcaddRmiAcknowledgeListener, addRmiDoneListener, bindDefault, containsRemoteProperty, deregisterAtCaster, equals, getLastError, getRemoteProperties, getRemoteProperty, hashCode, notifyAcknowledgeListener, notifyDoneListener, registerAtCaster, removeRmiAcknowledgeListener, removeRmiDoneListener, sendAllPrematureDone, sendPrematureDone, setRemoteProperty, toString, unbindDefaultbindToRegistry, getBindName, isValid, notifyErrorListener, removeErrorListener, removeRmiErrorListener, sendError, sendError, sendError, sendStatus, sendStatus, sendStatus, unbindFromRegistryallBound, blockBinding, blockBinding, disconnect, getIP, getListenerName, isConnected, listenerName, releaseBinding, releaseBinding, startBinding, startBindingclone, 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, removeProperty, requires, setObject, setProperties, setProperty, stringPropertiesfinalize, getClass, notify, notifyAll, wait, wait, waitexternal, getStatus, initialize, park, quit, reset, setPassivebindToRegistry, isValid, unbindFromRegistryremoveErrorListeneracceptsgetListenerNamedisconnect, isConnecteddefaultBoolean, 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, stringPropertiesprivate static final DecimalFormat ARCSEC
public static final String PREFIX_ACQUIRETOOL
public static final String PREFIX_GUIDETOOL
public static final String PREFIX_ACQUIREGAUSS
public static final String PREFIX_GUIDEGAUSS
public static final String PREFIX_FOV
public static final String PREFIX_GEOMETRY
public static final String PREFIX_PINHOLE
public static final String PREFIX_ETC
public static final String PREFIX_CATALOGMATCH
public static final String PREFIX_VANISH
public static final String PREFIX_SPILL
public static final String PREFIX_GUIDEGEOMETRY
public static final String PREFIX_GUIDEPINHOLE
public static final String PREFIX_GUIDEETC
public static final String PREFIX_COARSEUNIT
public static final String PREFIX_FINEUNIT
public static final String PREFIX_GUIDEUNIT
public static final String KEY_FILEOVERSTRING
public static final String POSTFIX_CLASS
public static final String POSTFIX_STRING
public static final String POSTFIX_FILE
public static final String KEY_ACQUISITIONCCD
public static final String KEY_GUIDECCD
public static final String KEY_CLEARFRAME
public static final String KEY_CLEARBIN
public static final String KEY_CLEARTIME
public static final String KEY_CLEARGUIDINGFRAME
public static final String KEY_CLEARGUIDINGBIN
public static final String KEY_CLEARGUIDINGTIME
public static final String KEY_IMPROVECOARSE
public static final String KEY_IMPROVEFINE
public static final String KEY_AZIMUTH
public static final String KEY_ALTITUDE
public static final String KEY_PARALLACTICANGLE
Value holding the plain image rotation.public static final String KEY_ACQUIREOFFSET
public static final String KEY_TARGETNAME
public static final String KEY_RATARGET
public static final String KEY_DETARGET
public static final String KEY_MAGTARGET
public static final String KEY_COLORTARGET
public static final String KEY_RADITHER
public static final String KEY_DEDITHER
public static final String KEY_OFFSETDELAY
public static final String KEY_OFFSETWAIT
public static final String KEY_PROMPTTIME
public static final String KEY_MOVETIME
public static final String KEY_FINDTIME
public static final String KEY_ACQUIRETIME
public static final String KEY_STARTGUIDINGTIME
public static final String KEY_STOPGUIDINGTIME
public static final String KEY_FITSPRIOR
private static final long DEFPROMPTTIME
private static final String DEFPARALLACTICANGLE
private static final String DEFAZIMUTH
private static final String DEFALTITUDE
private Value az
private Value el
private Value eta
private AbstractFieldOfView catalog
private AcquisitionUnit coarsetask
private AcquisitionUnit finetask
private AbstractAutoGuider guidetask
private Pivoting pinhole
private CcdDriver acquisitionccd
private Pivoting guidepinhole
private Continuous guidingccd
private AcquireMaster.ContinuousExposure continuous
public void initStep(int curstep)
throws InitException
initStep in interface StepInitializableinitStep in class GenericMasterInitExceptionprotected void init2()
throws InitException
InitExceptionpublic boolean center(double[] ra,
double[] de,
float[] m,
float[] bv)
throws RemoteException
center in interface AcquisitionControllingRemoteExceptionpublic boolean offsetXY(int dx,
int dy)
throws RemoteException
offsetXY in interface AcquisitionControllingdx - Difference in pixeldy - Difference in pixelRemoteExceptionpublic boolean offsetAzAlt(double daz,
double del)
throws RemoteException
offsetAzAlt in interface AcquisitionControllingRemoteExceptionpublic boolean readoutGeometry(Rectangle w, int xbin, int ybin) throws RemoteException
readoutGeometry in interface CcdControllingw - May be null, then readout is reset to maximum.xbin - ybin - RemoteExceptionpublic boolean readoutGeometryGuide(Rectangle w, int xbin, int ybin) throws RemoteException
readoutGeometryGuide in interface AcquisitionControllingw - May be null, then readout is reset to maximum.xbin - ybin - RemoteExceptionpublic boolean singleShot(File fits, double texp) throws RemoteException
singleShot in interface CcdControllingRemoteExceptionpublic boolean singleShotGuide(File fits, double texp) throws RemoteException
singleShotGuide in interface AcquisitionControllingRemoteExceptionprotected boolean singleExposure(CcdDriver aux, File fits, double texp) throws IOException
IOExceptionprivate boolean ccdReset(CcdDriver aux) throws IOException
IOExceptionpublic boolean resetCcd()
throws RemoteException
resetCcd in interface AcquisitionControllingRemoteExceptionpublic boolean resetCcdGuide()
throws RemoteException
resetCcdGuide in interface AcquisitionControllingRemoteExceptionpublic boolean initGuider()
throws RemoteException
initGuider in interface AcquisitionControllingRemoteExceptionpublic boolean startGuiding()
throws RemoteException
startGuiding in interface AcquisitionControllingRemoteExceptionpublic boolean stopGuiding()
throws RemoteException
stopGuiding in interface AcquisitionControllingRemoteExceptionpublic boolean hotPixelShift(double dx,
double dy)
throws RemoteException
hotPixelShiftGuide(double, double).hotPixelShift in interface AcquisitionControllingdx - dy - RemoteExceptionpublic boolean hotPixelShiftGuide(double dx,
double dy)
throws RemoteException
hotPixelShift(double, double).hotPixelShiftGuide in interface AcquisitionControllingdx - dy - RemoteExceptionprotected double getAzimuth()
InvalidParameterExceptionprotected double getAltitude()
InvalidParameterExceptionprotected double getParallacticAngle()
InvalidParameterExceptionprotected CcdDriver getAcquisitionCcd()
protected Continuous getGuidingCcd()
protected CoarseAcquiring getCoarseAcquisition()
private AcquisitionUnit createSubunit(String prefix) throws InitException
InitExceptionprotected Object createSubsystemWithSet(String prefix) throws InitException
prefix - InitExceptionprivate static Object createSubsystem(String prefix, boolean fbe4s, PropertyContainer master) throws InitException
The prefix is augmented with the POSTFIX_CLASS
postfix to get to the property that names the class from which the system
should be an instance of. To get to the properties of this object, we
scan for a POSTFIX_STRING property naming the properties as a
key-value paired string. If this property is not set, we scan for
POSTFIX_FILE to name a file containing the properties. If this
is also not set, we use our properties as the last resort.
prefix - InitExceptionprivate static Map<String,String> getSubsystemProperties(String prefix, boolean f4s, PropertyContainer master) throws InitException
We
scan for a POSTFIX_STRING property naming the properties as a
key-value paired string. If this property is not set, we scan for
POSTFIX_FILE to name a file containing the properties. If this
is also not set, we use our properties as the last resort.
InitExceptionpublic static List<Star> getStarDescriptions(double[] ra, double[] de, float[] mag, float[] bv)
protected boolean preparePivotOffset(double dx,
double dy)
protected boolean prepareGuidePivotOffset(double dx,
double dy)
protected boolean prepareDither(double dra,
double dde)
protected boolean prepareAcquire(double ra,
double de,
float mag,
float bv)
protected boolean find(FieldOfViewCommand cmd)
Guiding.RawStar
objects that can be passed into the Guiding#match method. We
proceed as follows:
#KEY_IMAGEROTATION to the current target height.#KEY_EXPOSEACQUIRE and the second in #KEY_EXPOSEGUIDE.
#KEY_GUIDERSCALE and their ra/dec.
protected boolean acquire(StarCommand com, AcquisitionUnit.Modes mode)
protected boolean initializeMaster(CommandEvent ce)
resetMaster(stella.CommandEvent).initializeMaster in class GenericMasterce - Non-null in automatic mode.protected boolean abortMaster(CommandEvent ce)
abortMaster in class GenericMasterce - Non-null in automatic mode.protected Object statusMaster(CommandEvent ce)
statusMaster in class GenericMasterce - Non-null in automatic mode.ErrorEvent.protected boolean resetMaster(CommandEvent ce)
resetMaster in class GenericMasterce - Non-null in automatic mode.private boolean clearingExposure(CcdDriver ccd, long expose, Rectangle box, Dimension bin) throws IOException
IOExceptionpublic boolean automatic()
throws RemoteException
automatic in interface ListenerControllingautomatic in class GenericMasterRemoteExceptionpublic boolean manual()
throws RemoteException
doStopGuiding() method to kill any ongoing guiding.manual in interface ListenerControllingmanual in class GenericMasterRemoteExceptionprotected boolean parkMaster(CommandEvent ce)
parkMaster in class GenericMasterce - Non-null in automatic mode.protected void quitMaster(CommandEvent ce)
parkMaster(stella.CommandEvent), but also deregisters
from the telescope and the registry.quitMaster in class GenericMasterce - Non-null in automatic mode, ignored in this implementationprotected boolean acquisitionGeometry(int xoff,
int yoff,
int xsize,
int ysize,
int xbin,
int ybin)
throws IOException
CcdDriver.setWindow(Rectangle) and the
CcdDriver.setBinning(int, int) of the acquire ccd. Returns true
on success in both.IOExceptionprotected boolean guidingGeometry(int xoff,
int yoff,
int xsize,
int ysize,
int xbin,
int ybin)
throws IOException
CcdDriver.setWindow(Rectangle) and the
CcdDriver.setBinning(int, int) of the guider ccd. Returns true on
success in both.IOExceptionprivate boolean geometry(CcdDriver ccd, int xoff, int yoff, int xsize, int ysize, int xbin, int ybin) throws IOException
IOExceptionprivate boolean windowResettable(CcdDriver ccd, int xoff, int yoff, int xsize, int ysize, boolean retry) throws IOException
IOExceptionprivate boolean binningResettable(CcdDriver ccd, int xbin, int ybin, boolean retry) throws IOException
IOExceptionprivate boolean moveTelescope(double ra,
double de)
private boolean doCoarseAcquisition()
throws NoShiftException,
PositioningException,
ConfigurationException
private boolean doFineAcquisition(TransparencyMeasuring coarse) throws NoShiftException, ConfigurationException, PositioningException
private boolean doSuggest()
protected void doAcquire(AcquisitionUnit.Modes mode) throws NoShiftException, ConfigurationException, PositioningException
protected boolean doStartGuiding(String mode)
#KEY_MODEPROPERTIES. If
AbstractAutoGuider.CommonModes.AUTO is the requested mode (or the requested mode is
null and the default mode is AUTO), then the environmental conditions are
checked to discern between normal, seeing-reduced or high-wind guiding.private boolean doStartGuiding(String mode, TransparencyMeasuring prior)
#KEY_MODEPROPERTIES. If
AbstractAutoGuider.CommonModes.AUTO is the requested mode (or the requested mode is
null and the default mode is AUTO), then the environmental conditions are
checked to discern between normal, seeing-reduced or high-wind guiding.protected void doStopGuiding()
protected boolean doStartExposing(double tsec)
doStopExposing() or if a new
acquire sequence is started.protected boolean doStopExposing()
protected boolean takeExposure(double tsec,
int nr)