|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomeOrbProcess
ORB process on domes.
Method Summary | |
---|---|
void |
abortSlew(long domeId)
Immediately cancels current dome operation. |
void |
closeShutter(long domeId)
Closes shutter or otherwise shield telescope from the sky. |
void |
findHome(long domeId)
Starts operation to search for the dome home position. |
double |
getAltitude(long domeId)
Returns the dome altitude. |
double |
getAzimuth(long domeId)
Returns the dome azimuth. |
DomeCapabilities |
getCapabilities(long domeId)
Returns all capabilities of a dome. |
ShutterStatus |
getShutterStatus(long domeId)
Returns the status of the dome shutter or roll-off roof. |
boolean |
isAtHome(long domeId)
Returns TRUE if the dome is in the home position. |
boolean |
isParked(long domeId)
Returns TRUE if the dome is in the programmed park position. |
boolean |
isSlaved(long domeId)
Returns TRUE if the dome is slaved to the telescope in its hardware, else
FALSE . |
boolean |
isSlewing(long domeId)
Returns TRUE if any part of the dome is currently moving, FALSE if
all dome components are steady. |
void |
openShutter(long domeId)
Open shutter or otherwise expose telescope to the sky. |
void |
park(long domeId)
Rotates dome in azimuth to park position. |
void |
setPark(long domeId)
Sets the current azimuth, altitude position of dome to be the park position. |
void |
setSlaved(long domeId,
boolean slaved)
Sets TRUE if the dome is slaved to the telescope in its hardware, else
FALSE . |
void |
slewToAltitude(long domeId,
double altitude)
Slews the dome to the given altitude position. |
void |
slewToAzimuth(long domeId,
double azimuth)
Slews the dome to the given azimuth position. |
void |
syncToAzimuth(long domeId,
double azimuth)
Synchronizes the current position of the dome to the given azimuth. |
Methods inherited from interface org.minetti.astrodevice.common.orb.DeviceOrbProcess |
---|
action, commandBlind, commandBoolean, commandString, getDescription, getDeviceList, getDeviceName, getDriverInfo, getDriverVersion, getInterfaceVersion, getPluginName, getSupportedActions, isConnected, setConnected, showSetupDialog |
Method Detail |
---|
DomeCapabilities getCapabilities(long domeId) throws RemoteException
domeId
- Dome identifier.
RemoteException
- Exception if an error occurred.void openShutter(long domeId) throws RemoteException
Raises an error if not supported or if a communications failure occurs.
domeId
- Dome identifier.
RemoteException
- Exception if an error occurred.void closeShutter(long domeId) throws RemoteException
domeId
- Dome identifier.
RemoteException
- Exception if an error occurred.ShutterStatus getShutterStatus(long domeId) throws RemoteException
Raises an error only if no shutter control. If actual shutter status can not be read, then reports back the last shutter state.
domeId
- Dome identifier.
RemoteException
- Exception if an error occurred.void findHome(long domeId) throws RemoteException
After home position is established initializes getAzimuth(long)
to the default value
and sets the isAtHome(long)
flag. Exception if not supported or communications
failure. Raises an error if isSlaved(long)
is TRUE
.
domeId
- Dome identifier.
RemoteException
- Exception if an error occurred.boolean isAtHome(long domeId) throws RemoteException
TRUE
if the dome is in the home position. Raises an error if not
supported.
This is normally used following a findHome(long)
operation. The value is reset with
any azimuth slew operation that moves the dome away from the home position.
isAtHome may also become TRUE
during normal slew operations, if the dome passes
through the home position and the dome controller hardware is capable of detecting that; or
at the end of a slew operation if the dome comes to rest at the home position.
The home position is normally defined by a hardware sensor positioned around the dome circumference and represents a fixed, known azimuth reference.
For some devices, the home position may represent a small range of azimuth values, rather
than a discrete value, since dome inertia, the resolution of the home position sensor and/or
the azimuth encoder may be insufficient to return the exact same azimuth value on each
occasion. Some dome controllers, on the other hand, will always force the azimuth reading to
a fixed value whenever the home position sensor is active. Because of these potential
differences in behaviour, applications should not rely on the reported azimuth position being
identical each time isAtHome is set TRUE
.
domeId
- Dome identifier.
TRUE
if the dome is in the home position.
RemoteException
- Exception if an error occurred.void park(long domeId) throws RemoteException
After assuming programmed park position, sets isParked(long)
flag. Raises an error
if isSlaved(long)
is TRUE
, or if not supported, or if a communications
failure has occurred.
domeId
- Dome identifier.
RemoteException
- Exception if an error occurred.boolean isParked(long domeId) throws RemoteException
TRUE
if the dome is in the programmed park position.
Set only following a park(long)
operation and reset with any slew operation. Raises
an error if not supported.
domeId
- Dome identifier.
TRUE
if the dome is in the programmed park position.
RemoteException
- Exception if an error occurred.void setPark(long domeId) throws RemoteException
Raises an error if not supported or if a communications failure occurs.
domeId
- Dome identifier.
RemoteException
- Exception if an error occurred.double getAzimuth(long domeId) throws RemoteException
Raises an error only if no azimuth control. If actual dome azimuth can not be read, then reports back last slew position.
domeId
- Dome identifier.
RemoteException
- Exception if an error occurred.double getAltitude(long domeId) throws RemoteException
Raises an error only if no altitude control. If actual dome altitude can not be read, then reports back the last slew position.
domeId
- Dome identifier.
RemoteException
- Exception if an error occurred.boolean isSlewing(long domeId) throws RemoteException
TRUE
if any part of the dome is currently moving, FALSE
if
all dome components are steady.
Raises an error if isSlaved(long)
is TRUE
, if not supported, if a
communications failure occurs, or if the dome can not reach indicated azimuth.
domeId
- Dome identifier.
TRUE
if any part of the dome is currently moving.
RemoteException
- Exception if an error occurred.void slewToAltitude(long domeId, double altitude) throws RemoteException
Raises an error if isSlaved(long)
is TRUE
, if not supported, if a
communications failure occurs, or if the dome can not reach indicated altitude.
domeId
- Dome identifier.altitude
- Target dome altitude (degrees, horizon zero and increasing positive to 90
zenith).
RemoteException
- Exception if an error occurred.void slewToAzimuth(long domeId, double azimuth) throws RemoteException
Raises an error if isSlaved(long)
is TRUE
, if not supported, if a
communications failure occurs, or if the dome can not reach indicated azimuth.
domeId
- Dome identifier.azimuth
- Target azimuth (degrees, North zero and increasing clockwise. i.e., 90 East,
180 South, 270 West).
RemoteException
- Exception if an error occurred.void abortSlew(long domeId) throws RemoteException
Calling this method will immediately disable hardware slewing (isSlaved(long)
will
become FALSE
). Raises an error if a communications failure occurs, or if the
command is known to have failed.
domeId
- Dome identifier.
RemoteException
- Exception if an error occurred.void syncToAzimuth(long domeId, double azimuth) throws RemoteException
Raises an error if not supported or if a communications failure occurs.
domeId
- Dome identifier.azimuth
- Target azimuth (degrees, North zero and increasing clockwise. i.e., 90 East,
180 South, 270 West).
RemoteException
- Exception if an error occurred.boolean isSlaved(long domeId) throws RemoteException
TRUE
if the dome is slaved to the telescope in its hardware, else
FALSE
.
Always returns FALSE
if hardware slaving is not supported (see
getCapabilities(long).canSlave()
).
domeId
- Dome identifier.
TRUE
if the dome is slaved to the telescope in its hardware, else
FALSE
.
RemoteException
- Exception if an error occurred.void setSlaved(long domeId, boolean slaved) throws RemoteException
TRUE
if the dome is slaved to the telescope in its hardware, else
FALSE
.
Set this setting to TRUE
to enable dome-telescope hardware slaving, if supported
(see getCapabilities(long).canSlave()
). Raises an exception on any attempt to call this method if
hardware slaving is not supported.
domeId
- Dome identifier.slaved
- TRUE
if the dome is slaved to the telescope in its hardware, else
FALSE
.
RemoteException
- Exception if an error occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |