|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
util.PropertyResources
util.PropertyBundles
util.rmi.RmiPropertyContainer
util.rmi.AbstractRmiListener
stella.rmi.AbstractRmiCasterAndListener
stella.rmi.ReceiverTorso
stella.rmi.GenericMaster
stella.adapter.AuxiliaryMaster
public class AuxiliaryMaster
This class handles the adapter communication to the SCS. It extends the
CalibrationMaster and additionally understands the following
commands:
| Nested Class Summary | |
|---|---|
private class |
AuxiliaryMaster.ContinuousExposure
A thread that continousely exposes the auxiliary camera until stopped. |
| Nested classes/interfaces inherited from class stella.rmi.GenericMaster |
|---|
GenericMaster.Standalone |
| Nested classes/interfaces inherited from class stella.rmi.ReceiverTorso |
|---|
ReceiverTorso.CommandHandler |
| Nested classes/interfaces inherited from class util.PropertyResources |
|---|
PropertyResources.URLResource |
| Field Summary | |
|---|---|
private int |
acquirevirgin
An int that get zero on finds, tracks reacquires. |
private AuxiliaryGuider |
auxiliary
The encapsulating class for the STELLA guider methods. |
private AuxiliaryCoarseUnit |
coarsetask
The acquire unit doing the coarse acquire task. |
private OffsetCaster |
com
The adapter-to-telescope communication. |
private AuxiliaryMaster.ContinuousExposure |
continuous
If continuous exposures are underway, this is the thread. |
private DarkOverlapTiler |
darkgather
For dark-frames gathering during twilight. |
private static long |
DEFACQUIRETIME
The default acquire time. |
static String |
DEFALTITUDE
The default name of the altitude parameter. |
private static String |
DEFAUXILIARYGUIDER
The default properties file for the stella guider. |
static String |
DEFAZIMUTH
The default name of the altitude parameter. |
private static Rectangle |
DEFCLEARFRAME
The frame that should be cleared on a reset. |
private static long |
DEFCLEARTIME
The time required for a clear ccd. |
private static String |
DEFCOMMUNICATOR
The default properties file for the stella guider. |
static String |
DEFDECTARGET
The default name of the target declination parameter. |
static String |
DEFDEROTATOROFF
The default name of the telescope derotator parameter. |
static String |
DEFDITHERTARGET
The default name of the target should-be-dithered parameter. |
static String |
DEFEXPOSURETIMELEFT
The default name of the paramter holding the exposure time left . |
private static long |
DEFFINDTIME
The default recognize-find time. |
private static long |
DEFFIXEDROTATORTIME
The default time to change the filter. |
static String |
DEFFOCUS
The default name of the focus parameter. |
private static long |
DEFFOCUSTIME
The default focus time. |
static String |
DEFFRACTIONALEXPOSE
The default name of the paramter holding the fractional exposure time. |
private static String |
DEFGUIDERCCD
The name of the CCD driver class used for guiding. |
private static long |
DEFGUIDERDELAY
The default guider delay prior to first guiding step. |
static float |
DEFGUIDERMAG
Guide stars must be brighter than this. |
static String |
DEFIMAGEROTATION
The default name of the plain image rotation. |
private static boolean |
DEFKEEPOFFSETS
If true, all guiding offsets are kept. |
private static boolean |
DEFKEEPPIDS
If true, all guiding pids are kept. |
static String |
DEFLOSTCOUNT
The default name of the paramter counting guidng losses |
static String |
DEFMAGTARGET
The default name of the target magnitude parameter. |
private static long |
DEFMOVETIME
The maximum time we wait for move telescope. |
static String |
DEFOFFSETAVERAGE
The default name of the paramter counting arcsec offsets. |
private static long |
DEFOFFSETDELAY
The default delay on stop guiding if offset are active. |
private static int |
DEFOFFSETWAIT
The default delay on stop guiding if offset are active. |
static String |
DEFRATARGET
The default name of the target right ascension parameter. |
static String |
DEFSEEING
The default name of the paramter accumulating guiding seeing. |
static String |
DEFSPURIOUSCOUNT
The default name of the paramter counting guidng losses |
private static long |
DEFSTARTGUIDINGTIME
The default time till guiding starts. |
private static long |
DEFSTARTTILINGTIME
The default time till guiding starts. |
private static long |
DEFSTOPGUIDINGTIME
The default time till guiding stops. |
private static long |
DEFSTOPTILINGTIME
The default time till guiding stops. |
static String |
DEFTARGETNAME
The default name of the target name parameter. |
static String |
DEFWINDMAX
The default name of the paramter holding windspeed max. |
private int |
expid
The internal counter for the command id. |
private AuxiliaryFineUnit |
finetask
The acquire unit doing the fine acquire task. |
private int |
guidervirgin
An int that get zero on finds, tracks guider mode changes. |
private AuxiliaryGuidingUnit |
guidetask
The guider unit doing the guiding task plus the loop. |
static String |
KEY_ACQUIRETIME
Time for the acquire command. |
static String |
KEY_ALTITUDE
The height of the target for calculating CCD rotation. |
static String |
KEY_AUXILIARYGUIDER
The properties of the Guiding class. |
static String |
KEY_AZIMUTH
The azimuth of the target for calculating CCD rotation. |
static String |
KEY_CLEARFRAME
The entire size of the CCD. |
static String |
KEY_CLEARTIME
The clearing exposure time. |
static String |
KEY_COARSEUNIT
The properties of the AcquiringUnit. |
static String |
KEY_COMMUNICATOR
The properties of the AdapterTelescopeCaster class. |
static String |
KEY_DARKTILER
The properties of the dark tiler for dawn action. |
static String |
KEY_DECTARGET
The internal declination of the target set on acquire, |
static String |
KEY_DEROTATOROFF
The name of the Value holding the derotator offset. |
static String |
KEY_EXPOSUREFRAME
The window on the guider ccd used on exposures, unbinned. |
static String |
KEY_EXPOSURETIMELEFT
The parameter holding the exposure time left. |
static String |
KEY_FINDTIME
Time for the find command. |
static String |
KEY_FINEUNIT
The properties of the AcquiringUnit. |
static String |
KEY_FOCUS
The focus of the telescope. |
static String |
KEY_FOCUSTIME
Time for the focus command. |
static String |
KEY_FOCUSUNIT
The properties of the FocussingUnit. |
static String |
KEY_FRACTIONALEXPOSE
The parameter holding the fractional exposure time. |
static String |
KEY_GUIDERCCD
The name of the CCD driver class used for guiding. |
static String |
KEY_GUIDERDELAY
Delay until guiding stars. |
static String |
KEY_GUIDERMAG
The key for the faintest star to guide on. |
static String |
KEY_GUIDESTARMERIT
This expression, with $0=mag and $1=distance merits the guide star |
static String |
KEY_GUIDINGUNIT
The properties of the GuidingUnit. |
static String |
KEY_IMAGEROTATION
The name of the Value holding the plain image rotation. |
static String |
KEY_KEEPOFFSETS
If true, we record the az/alt offset in a data output stream. |
static String |
KEY_KEEPPIDS
If true, we record the pid offset in a data output stream. |
static String |
KEY_LOSTCOUNT
Issued to the local parameter cluster as number of target losts. |
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_OFFSETAVERAGE
Issued to the local parameter cluster as average offset. |
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_RATARGET
The internal right ascension of the target set on acquire, |
static String |
KEY_SEEING
Issued to the local parameter cluster as the seeing estimate. |
static String |
KEY_SPURIOUSCOUNT
Issued to the local parameter cluster as number of guiding losts. |
static String |
KEY_STARTGUIDINGTIME
Time for starting the guiding. |
static String |
KEY_STARTTILINGTIME
Time for starting the guiding. |
static String |
KEY_STOPGUIDINGTIME
Time for stopping the guiding. |
static String |
KEY_STOPTILINGTIME
Time for stopping the guiding. |
static String |
KEY_TARGETNAME
The rmi-target name for errors on acquire, |
static String |
KEY_WINDMAX
The wind-speed maxometer parameter. |
private String |
lastunique
Last recorded unique. |
private DataOutputStream |
offrecord
An object output stream were we serialize our alt/az offs in. |
private static String |
OFFSETEXTENSION
The extension for the recorded offsets. |
private DataOutputStream |
pidrecord
An object output stream were we serialize our pids offs in. |
private static String |
PIDSEXTENSION
The extension for the recorded pids. |
| Fields inherited from class stella.rmi.GenericMaster |
|---|
DEFUNIQUE, KEY_ABORTTIME, KEY_AUTOMATIC, KEY_COMMTIME, 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, telescope |
| Fields inherited from class stella.rmi.ReceiverTorso |
|---|
KEY_BIND, KEY_BINDNAME, KEY_COMMANDCASTER, KEY_ERRORCOOL |
| Fields inherited from class util.rmi.AbstractRmiListener |
|---|
KEY_ALIVE, KEY_EXPORTPORT, KEY_INIT, KEY_LISTENERNAME, KEY_RETRY, KEY_RETRYSLEEP |
| Fields inherited from class util.PropertyBundles |
|---|
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES |
| Fields inherited from class util.PropertyResources |
|---|
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR |
| Fields inherited from interface stella.rmi.RmiAcknowledgeCaster |
|---|
NAMING_EXTENSION |
| Fields inherited from interface stella.rmi.RmiDoneCaster |
|---|
NAMING_EXTENSION |
| Fields inherited from interface util.StepInitializable |
|---|
KEY_INITDEPTH |
| Fields inherited from interface util.ResourceSupplying |
|---|
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Fields inherited from interface util.PropertySupplying |
|---|
CONFIG, KEY_CLASS |
| Constructor Summary | |
|---|---|
AuxiliaryMaster(Map<String,String> prop)
Constructs a new adapter master. |
|
| Method Summary | |
|---|---|
protected boolean |
abortMaster()
Method called to abort the device. |
boolean |
accepts(CommandEvent ce)
Checks if the command received is accepted by the adapter master. |
private boolean |
acquire(AcquireAuxiliary com)
Brings the acquire star at the cross-hair of the guider. |
boolean |
automatic()
Enables automatic operation. |
boolean |
center(double[] ra,
double[] de,
float[] m,
float[] bv)
We center at a star by finding and acquiring it. |
protected String |
coarseType()
Delivers a unique id for the currently active target in guiding mode. |
private AuxiliaryUnit |
createAuxiliaryUnit(String unit)
Sets all required knowledge available to an adapter unit. |
static StarDescription |
defaultGuidingStar(List<StarDescription> def,
double racenter,
double decenter,
float minmag)
Default guiding star, above defined threshold. |
private boolean |
defineCenter(double ra,
double de)
We set the center of the science field. |
boolean |
ditherOffset(double ra,
double de)
Sets a dither offset which is allowed only in manual mode. |
private ErrorEvent |
doAcquire(String mode)
Acquires a star. |
private boolean |
doSetDither(double dra,
double dde)
Applies a dithering to the auxiliarz guider. |
private boolean |
doStartExposing(double tsec)
Starts the continuous getting of exposures with the stated exposure time. |
private ErrorEvent |
doStartGuiding(String mode)
Starts guiding. |
private boolean |
doStartTiling()
Stars a tiling process if a tiler is assigned. |
private boolean |
doStopExposing()
We stop continuous exposures and join on the camera for exit. |
private boolean |
doStopGuiding()
Stops the guiding. |
private boolean |
doStopTiling()
Stops the tiling process if a tiler is assigned. |
void |
exit()
If we have a dark tiler, we exit it, too. |
private boolean |
find(FindAuxiliary cmd)
Registers a list of stars that are expected in the following acquire field. |
protected String |
fineType()
Delivers a unique id for the currently active target in guiding mode. |
private boolean |
geometry(int xoff,
int yoff,
int xsize,
int ysize,
int xbin,
int ybin)
Sets the geometry of the next image on the ccd. |
protected int |
getAcknowledgeNumber(CommandEvent cmd)
Returns the number of acknowledge events produced for each command. |
protected long |
getCompletionTime(CommandEvent cmd,
int acknr)
Returns the individual completion times. |
protected DarkOverlapTiler |
getDarkTiler()
Some auxiliar units need access to the dark tiler. |
private int |
getNextExp()
Returns the next available command id. |
private static List<StarDescription> |
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 boolean |
guideStar(StarDescription s)
We set the guiding star. |
protected String |
guidingHead()
Delivers a unique id for the currently active target in guiding mode. |
private void |
init2()
Additionally initializes the adapter-to-telescope communication and defaults values for fixed rotator, guiding and acquisition time. |
boolean |
initGuider()
Initializes the guider and prepares it for a new guider loop. |
protected boolean |
initializeMaster()
Initializes the adapter. |
void |
initStep(int curstep)
Additionally initializes the filter-to-position lookup tables. |
static void |
main(String[] arg)
Constructs a new adapter master. |
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 dalt)
Offsets the telescope for a given amount in azimuth and altitude, degrees. |
private boolean |
offsetTelescope(double daz,
double dalt)
For manual access to telescope offsets. |
boolean |
offsetXY(int dx,
int dy)
Offsets the telescope for a given pixel distance on the guider ccd. |
protected boolean |
parkMaster()
Parks the adapter. |
private void |
prepare()
Prepares the master for a new target. |
protected boolean |
processCommand(CommandEvent cmd,
int acknr)
Process the command. |
void |
quit()
Gracefully quite the adapter master. |
protected void |
quitMaster()
Quits the adapter. |
protected boolean |
resetMaster()
Resets the adapter. |
boolean |
singleShot(double t)
If in manual mode, we take a single guider camera shot. |
boolean |
startGuiding()
Guides on a previously acquired star. |
private boolean |
startGuiding(StartGuidingAuxiliary sga)
Starts the guiding in the required mode. |
protected Object |
statusMaster()
Returns a status message. |
boolean |
stopGuiding()
Stops guiding if active. |
private boolean |
takeExposure(double tsec)
Take an exposure with the guiding camera. |
| Methods inherited from class stella.rmi.AbstractRmiCasterAndListener |
|---|
bindToRegistry, getBindName, isValid, notifyErrorListener, removeErrorListener, removeRmiErrorListener, sendError, sendError, sendError, sendStatus, sendStatus, sendStatus, unbindFromRegistry |
| Methods inherited from class util.rmi.AbstractRmiListener |
|---|
allBound, blockBinding, blockBinding, disconnect, getIP, getListenerName, isConnected, listenerName, releaseBinding, releaseBinding, startBinding, startBinding |
| Methods inherited from class util.PropertyBundles |
|---|
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource |
| Methods inherited from class util.PropertyResources |
|---|
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
|---|
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, removeProperty, setObject, setProperties, setProperty, stringProperties |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface stella.rmi.ListenerControlling |
|---|
external, getStatus, initialize, park, reset, setPassive |
| Methods inherited from interface util.rmi.RmiCaster |
|---|
bindToRegistry, isValid, unbindFromRegistry |
| Methods inherited from interface stella.ErrorCaster |
|---|
removeErrorListener |
| Methods inherited from interface util.rmi.RmiEventListener |
|---|
getListenerName |
| Methods inherited from interface util.rmi.RmiListener |
|---|
disconnect, isConnected |
| Methods inherited from interface util.ResourceSupplying |
|---|
getResource, getResourceAsStream, getResources |
| Methods inherited from interface util.PropertySupplying |
|---|
defaultBoolean, 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, stringProperties |
| Methods inherited from interface util.Initializable |
|---|
init |
| Field Detail |
|---|
private static final String OFFSETEXTENSION
private static final String PIDSEXTENSION
public static final String KEY_GUIDERCCD
public static final String KEY_DARKTILER
public static final String KEY_CLEARFRAME
public static final String KEY_CLEARTIME
public static final String KEY_AUXILIARYGUIDER
Guiding class.
public static final String KEY_COMMUNICATOR
AdapterTelescopeCaster class.
public static final String KEY_FOCUSUNIT
FocussingUnit.
public static final String KEY_COARSEUNIT
AcquiringUnit.
public static final String KEY_FINEUNIT
AcquiringUnit.
public static final String KEY_GUIDINGUNIT
GuidingUnit.
public static final String KEY_TARGETNAME
public static final String KEY_RATARGET
public static final String KEY_DECTARGET
public static final String KEY_MAGTARGET
public static final String KEY_DEROTATOROFF
Value holding the derotator offset.
public static final String KEY_IMAGEROTATION
Value holding the plain image rotation.
public static final String KEY_ALTITUDE
public static final String KEY_AZIMUTH
public static final String KEY_FOCUS
public static final String KEY_LOSTCOUNT
public static final String KEY_SPURIOUSCOUNT
public static final String KEY_OFFSETAVERAGE
public static final String KEY_SEEING
public static final String KEY_WINDMAX
public static final String KEY_EXPOSURETIMELEFT
public static final String KEY_FRACTIONALEXPOSE
public static final String KEY_FINDTIME
public static final String KEY_ACQUIRETIME
public static final String KEY_FOCUSTIME
public static final String KEY_STARTGUIDINGTIME
public static final String KEY_STOPGUIDINGTIME
public static final String KEY_STARTTILINGTIME
public static final String KEY_STOPTILINGTIME
public static final String KEY_GUIDERDELAY
public static final String KEY_OFFSETDELAY
public static final String KEY_OFFSETWAIT
public static final String KEY_KEEPOFFSETS
public static final String KEY_KEEPPIDS
public static final String KEY_MOVETIME
public static final String KEY_EXPOSUREFRAME
public static final String KEY_GUIDERMAG
public static final String KEY_GUIDESTARMERIT
private static final String DEFGUIDERCCD
private static final Rectangle DEFCLEARFRAME
private static final long DEFCLEARTIME
private static final String DEFAUXILIARYGUIDER
private static final String DEFCOMMUNICATOR
public static final String DEFTARGETNAME
public static final String DEFRATARGET
public static final String DEFDECTARGET
public static final String DEFMAGTARGET
public static final String DEFDITHERTARGET
public static final String DEFDEROTATOROFF
public static final String DEFIMAGEROTATION
public static final String DEFAZIMUTH
public static final String DEFALTITUDE
public static final String DEFFOCUS
public static final String DEFLOSTCOUNT
public static final String DEFSPURIOUSCOUNT
public static final String DEFOFFSETAVERAGE
public static final String DEFSEEING
public static final String DEFWINDMAX
public static final String DEFEXPOSURETIMELEFT
public static final String DEFFRACTIONALEXPOSE
private static final long DEFFINDTIME
private static final long DEFACQUIRETIME
private static final long DEFFOCUSTIME
private static final long DEFSTARTGUIDINGTIME
private static final long DEFSTOPGUIDINGTIME
private static final long DEFSTARTTILINGTIME
private static final long DEFSTOPTILINGTIME
private static final long DEFFIXEDROTATORTIME
private static final long DEFGUIDERDELAY
private static final long DEFOFFSETDELAY
private static final int DEFOFFSETWAIT
private static final boolean DEFKEEPOFFSETS
private static final boolean DEFKEEPPIDS
private static final long DEFMOVETIME
public static final float DEFGUIDERMAG
private AuxiliaryCoarseUnit coarsetask
private AuxiliaryFineUnit finetask
private AuxiliaryGuidingUnit guidetask
private OffsetCaster com
private AuxiliaryGuider auxiliary
private DarkOverlapTiler darkgather
private int guidervirgin
private int acquirevirgin
private DataOutputStream offrecord
private DataOutputStream pidrecord
private String lastunique
private int expid
private AuxiliaryMaster.ContinuousExposure continuous
| Constructor Detail |
|---|
public AuxiliaryMaster(Map<String,String> prop)
throws RemoteException
PropertyResources.init() section of the parent class.
RemoteException| Method Detail |
|---|
public void initStep(int curstep)
initStep in interface StepInitializableinitStep in class GenericMastercurstep - The current initialization depth.private void init2()
public void exit()
exit in interface ExitCleaningexit in class GenericMasterprivate AuxiliaryUnit createAuxiliaryUnit(String unit)
public boolean automatic()
throws RemoteException
automatic in interface ListenerControllingautomatic in class GenericMasterRemoteException
public boolean manual()
throws RemoteException
doStopGuiding() method to kill any ongoing guiding.
manual in interface ListenerControllingmanual in class GenericMasterRemoteException
public boolean center(double[] ra,
double[] de,
float[] m,
float[] bv)
throws RemoteException
center in interface GuiderControllingRemoteException
public boolean ditherOffset(double ra,
double de)
throws RemoteException
ditherOffset in interface DitherControllingRemoteException
public boolean initGuider()
throws RemoteException
GuiderControlling
initGuider in interface GuiderControllingRemoteException
public boolean singleShot(double t)
throws RemoteException
singleShot in interface GuiderControllingRemoteException
public boolean offsetAzAlt(double daz,
double dalt)
throws RemoteException
offsetAzAlt in interface GuiderControllingRemoteException
public boolean offsetXY(int dx,
int dy)
throws RemoteException
offsetXY in interface GuiderControllingdx - Difference in pixeldy - Difference in pixel
RemoteException
public boolean startGuiding()
throws RemoteException
startGuiding in interface GuiderControllingRemoteException
public boolean stopGuiding()
throws RemoteException
stopGuiding in interface GuiderControllingRemoteException
public void quit()
throws RemoteException
quit in interface ListenerControllingquit in class GenericMasterRemoteException
public boolean accepts(CommandEvent ce)
throws RemoteException
AuxiliaryCommands.
accepts in interface RmiCommandListenerRemoteExceptionprotected DarkOverlapTiler getDarkTiler()
protected int getAcknowledgeNumber(CommandEvent cmd)
getAcknowledgeNumber in class GenericMaster
protected long getCompletionTime(CommandEvent cmd,
int acknr)
getCompletionTime in class GenericMastercmd - The command to process.acknr - The number of the acknowledge that will be sent back.
protected boolean processCommand(CommandEvent cmd,
int acknr)
processCommand in class GenericMasterprotected boolean initializeMaster()
resetMaster().
initializeMaster in class GenericMasterprotected boolean abortMaster()
abortMaster in class GenericMasterprotected Object statusMaster()
statusMaster in class GenericMasterErrorEvent.protected boolean resetMaster()
resetMaster in class GenericMasterprotected boolean parkMaster()
parkMaster in class GenericMasterprotected void quitMaster()
parkMaster(), but also deregisters
from the telescope and the registry.
quitMaster in class GenericMasterprotected String guidingHead()
protected String coarseType()
protected String fineType()
private boolean moveTelescope(double ra,
double de)
private boolean offsetTelescope(double daz,
double dalt)
private boolean doSetDither(double dra,
double dde)
private boolean find(FindAuxiliary cmd)
Guiding.RawStar
objects that can be passed into the Guiding.match(java.util.List extends stella.adapter.Guiding.RawStar>, java.util.List extends stella.adapter.Guiding.RawStar>, double, double) 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.
private void prepare()
private boolean startGuiding(StartGuidingAuxiliary sga)
private boolean takeExposure(double tsec)
private boolean defineCenter(double ra,
double de)
private boolean guideStar(StarDescription s)
public static StarDescription defaultGuidingStar(List<StarDescription> def,
double racenter,
double decenter,
float minmag)
private boolean acquire(AcquireAuxiliary com)
private int getNextExp()
private ErrorEvent doAcquire(String mode)
AuxiliaryUnit#NONETYPE: No acquire, return immediately with
null.AuxiliaryUnit.COARSETYPE: Acquire only with the coarse
acquire unit, return the error of the unit.AuxiliaryUnit.FINETYPE: The default modus. Acquire with
coarse unit, if this unit returns null, continue with fine unit. Return
null if both units return null.AuxiliaryUnit.PINHOLETYPE: Like fine, but use a secondary
unit for ultra-precise acquires.
private ErrorEvent doStartGuiding(String mode)
stopGuiding() is called.
private boolean doStopGuiding()
private boolean doStartTiling()
private boolean doStopTiling()
private boolean doStartExposing(double tsec)
doStopExposing() or if a new
acquire sequence is started.
private boolean doStopExposing()
private boolean geometry(int xoff,
int yoff,
int xsize,
int ysize,
int xbin,
int ybin)
MainCamera related to the size/origin/binning of the image.
private static List<StarDescription> getStarDescriptions(double[] ra,
double[] de,
float[] mag,
float[] bv)
public static void main(String[] arg)
throws RemoteException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||