|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.astro.telescope.NexStar
Constructor Summary | |
NexStar(java.lang.String port)
Constructs a NexStar object. |
Method Summary | |
static int |
altToInt(java.lang.String alt)
Convert alt from a string to a number. |
static int |
azToInt(java.lang.String az)
Convert az from a string to a number. |
void |
close()
Closes the connection to the scope. |
static int |
decToInt(java.lang.String dec)
Convert dec from a string to a number. |
java.lang.String |
getAzAlt()
Returns the current az and alt. |
java.lang.String |
getRADec()
Returns the current RA and dec. |
void |
gotoAzAlt(java.lang.String az,
java.lang.String alt)
Goto the coordinates. |
void |
gotoRADec(java.lang.String ra,
java.lang.String dec)
Goto the coordinates. |
boolean |
isMoving()
Check whether the scope is moving. |
static int |
raToInt(java.lang.String ra)
Convert RA from a string to a number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NexStar(java.lang.String port)
Method Detail |
public static int raToInt(java.lang.String ra)
public static int decToInt(java.lang.String dec)
public static int altToInt(java.lang.String alt)
public static int azToInt(java.lang.String az)
public java.lang.String getRADec() throws java.io.IOException
java.io.IOException
public java.lang.String getAzAlt() throws java.io.IOException
java.io.IOException
public void gotoRADec(java.lang.String ra, java.lang.String dec) throws java.io.IOException
java.io.IOException
public void gotoAzAlt(java.lang.String az, java.lang.String alt) throws java.io.IOException
java.io.IOException
public boolean isMoving() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |