|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.raben.telescope.comm.MeadeTelescope
Implementation of the telescope interface for Meade LX200
| Constructor Summary | |
MeadeTelescope()
Creates a new instance of MeadeLx200 |
|
| Method Summary | |
void |
cancelGoTo()
Cancel current GoTo command |
void |
close()
Close connection to telescope |
void |
connect()
Initialize connection to telescope |
java.awt.geom.Point2D |
getAzimuthAltitude()
Get current coordinate |
java.awt.geom.Point2D |
getGpsCoordinate()
Get telescope coordinate from GPS interface |
java.util.Calendar |
getGpsDateTime()
Get Calendar date from GPS interface |
java.lang.String |
getHandControlVersion()
Get controller version |
java.lang.String |
getPortName()
Get port being used |
java.util.Properties |
getProperties()
Get telescope properties |
java.awt.geom.Point2D |
getRightAscensionDeclination()
Get current equatorial coordinate |
TelescopeModel |
getTelescopeModel()
Get telescope model |
void |
goToAzimuthAltitude(java.awt.geom.Point2D coordinate)
GoTo the specified coordinate in azimuth and altitude |
void |
goToRightAscensionDeclination(java.awt.geom.Point2D coordinate)
Go to the specified coordinate in right ascension/declination |
boolean |
isAligned()
Check if telescope is aligned |
boolean |
isCommunicating()
Check if telescope is communitating with serial port |
boolean |
isConnected()
Check if telescope is connected |
boolean |
isDebug()
Get debug flag |
boolean |
isGpsLinked()
Check if GPS is linked |
boolean |
isSlewing()
Check if telescope is slewing |
void |
moveInAltitude(boolean direction,
int rate)
Move telescope in altitude |
void |
moveInAzimuth(boolean direction,
int rate)
Move telescope in azimuth |
void |
setAltitudeTrackingRate(int trackRate)
Set altitude tracking rate |
void |
setAzimuthTrackingRate(int trackRate)
Set azimuth tracking rate Note - tracking will return to default in approximately 20 seconds unless tracking is turned off @see setTrackingMode |
void |
setDebug(boolean debug)
Set debug flag |
void |
setEncodingType(int type)
Set type of encoding used |
void |
setPortName(java.lang.String port)
Set port to use for connection |
void |
setProperties(java.util.Properties props)
Set telescope properties |
void |
setTelescopeModel(TelescopeModel model)
Set the telescope model |
void |
setTrackingMode(int mode)
Set telescope tracking mode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MeadeTelescope()
| Method Detail |
public void cancelGoTo()
throws java.io.IOException
cancelGoTo in interface TelescopeInterfacejava.io.IOException - may be thrownpublic void close()
close in interface TelescopeInterface
public java.awt.geom.Point2D getAzimuthAltitude()
throws java.io.IOException
getAzimuthAltitude in interface TelescopeInterfacejava.io.IOException - may occur
public java.awt.geom.Point2D getGpsCoordinate()
throws java.io.IOException
getGpsCoordinate in interface TelescopeInterfacejava.io.IOException - may occur
ISSUE - not implemented
public java.util.Calendar getGpsDateTime()
throws java.io.IOException
getGpsDateTime in interface TelescopeInterfacejava.io.IOException - may occur
ISSUE - Not implemented
public java.lang.String getHandControlVersion()
throws java.io.IOException
getHandControlVersion in interface TelescopeInterfacejava.io.IOException - may occur
ISSUE - not implementedpublic java.lang.String getPortName()
public java.awt.geom.Point2D getRightAscensionDeclination()
throws java.io.IOException
getRightAscensionDeclination in interface TelescopeInterfacejava.io.IOException - may occur
public void goToAzimuthAltitude(java.awt.geom.Point2D coordinate)
throws java.io.IOException
goToAzimuthAltitude in interface TelescopeInterfacecoordinate - in azimuth and altitude
java.io.IOException - may occur
ISSUE - not implemented
public void goToRightAscensionDeclination(java.awt.geom.Point2D coordinate)
throws java.io.IOException
goToRightAscensionDeclination in interface TelescopeInterfacecoordinate - in right ascension and declination
java.io.IOException - may occur
ISSUE - not implemented
public void connect()
throws java.io.IOException
connect in interface TelescopeInterfacejava.io.IOException - may occurpublic boolean isConnected()
isConnected in interface TelescopeInterface
public boolean isAligned()
throws java.io.IOException
isAligned in interface TelescopeInterfacejava.io.IOException - may occur
ISSUE - Not implemented
public boolean isCommunicating()
throws java.io.IOException
isCommunicating in interface TelescopeInterfacejava.io.IOException - may occur
ISSUE - not implemented
public boolean isGpsLinked()
throws java.io.IOException
isGpsLinked in interface TelescopeInterfacejava.io.IOException - may occur
ISSUE - not implemented
public boolean isSlewing()
throws java.io.IOException
isSlewing in interface TelescopeInterfacejava.io.IOException - may occur
ISSUE - not implemented
public void setEncodingType(int type)
throws java.io.IOException
type - 0=Nexstar 5,8 and original GT
type 1=Nexstar GPS and new GTs (16 bit precision)
type 2=Nexstar GPS (32 bit precision)
java.io.IOException - may occur
ISSUE - not implementedpublic void setPortName(java.lang.String port)
port - Name of port (default is COM1)
public void setTrackingMode(int mode)
throws java.io.IOException
setTrackingMode in interface TelescopeInterfacemode - Tracking mode (0=off,1=alt-az,2=eq-n,3=eq-s)
java.io.IOException - may occur
ISSUE - doesn't distinguish between N/S polar mode
how does meade do this?public TelescopeModel getTelescopeModel()
getTelescopeModel in interface TelescopeInterfacepublic void setTelescopeModel(TelescopeModel model)
setTelescopeModel in interface TelescopeInterfacemodel - of telescope @see TelescopeModel
ISSUE - generic Meade model not implementedpublic java.util.Properties getProperties()
getProperties in interface TelescopeInterfacepublic void setProperties(java.util.Properties props)
setProperties in interface TelescopeInterfaceprops - Properties for setting up telescope such as comm port, baud
rate etc, refer to javadoc for particular manufacturepublic boolean isDebug()
isDebug in interface TelescopeInterfacepublic void setDebug(boolean debug)
setDebug in interface TelescopeInterfacedebug - True if debug mode is to be set
public void setAzimuthTrackingRate(int trackRate)
throws java.io.IOException
setAzimuthTrackingRate in interface TelescopeInterfacetrackRate - in arc-sec/sec
java.io.IOException - may occur
public void setAltitudeTrackingRate(int trackRate)
throws java.io.IOException
setAltitudeTrackingRate in interface TelescopeInterfacetrackRate - in arc-sec/sec
java.io.IOException - may occur
ISSUE - Not implemented
public void moveInAltitude(boolean direction,
int rate)
throws java.io.IOException
moveInAltitude in interface TelescopeInterfacedirection - 0=up, 1=downrate - 0=stop, 1=slow to 9=fast
java.io.IOException
public void moveInAzimuth(boolean direction,
int rate)
throws java.io.IOException
moveInAzimuth in interface TelescopeInterfacedirection - false = left, true = rightrate - 0=stop,1=slow to 9=fast
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||