|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.astro.telescope.LX200
Field Summary | |
static int |
FOCUS_FAST
Focus rates. |
static int |
FOCUS_IN
Focus directions. |
static int |
FOCUS_OUT
|
static int |
FOCUS_SLOW
|
static int |
SLEW_CENTER
|
static int |
SLEW_EAST
|
static int |
SLEW_FIND
|
static int |
SLEW_GUIDE
|
static int |
SLEW_NORTH
Slew directions. |
static int |
SLEW_SLEW
Slew rates. |
static int |
SLEW_SOUTH
|
static int |
SLEW_WEST
|
Constructor Summary | |
LX200(java.lang.String port)
Constructs an LX200 object. |
Method Summary | |
static float |
altToFloat(java.lang.String alt)
Convert alt from a string to a number. |
static float |
azToFloat(java.lang.String az)
Convert az from a string to a number. |
boolean |
checkPosition(float ra,
float dec)
Checks the scope's position. |
void |
close()
Closes the connection to the scope. |
static float |
decToFloat(java.lang.String dec)
Convert dec from a string to a number. |
java.lang.String |
getAlt()
Returns the current alt. |
java.lang.String |
getAz()
Returns the current az. |
java.lang.String |
getDec()
Returns the current dec. |
java.lang.String |
getLocalTime()
Returns the local time. |
java.lang.String |
getRA()
Returns the current RA. |
boolean |
isMoving()
Check whether the scope is moving. |
static float |
raToFloat(java.lang.String ra)
Convert RA from a string to a number. |
void |
setFocusRate(int rate)
Set focus rate. |
void |
setHighPrecision(boolean setHigh)
Sets high precision. |
boolean |
setLocalTime(java.lang.String time)
Sets the local time. |
void |
setLongFormat(boolean setLong)
Sets long format. |
boolean |
setObjectCoords(java.lang.String ra,
java.lang.String dec)
Sets the object/target coordinates. |
void |
setSlewRate(int rate)
Set slew rate. |
int |
slewToObject()
Slew to the object coordinates. |
void |
startFocus(int direction)
Start focus. |
void |
startSlew(int direction)
Start slewing the scope. |
void |
stopFocus()
Stop focus. |
void |
stopSlew(int direction)
Stop slewing the scope. |
void |
syncCoords()
Synchronize the scope coordinates to the object coordinates. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FOCUS_FAST
public static final int FOCUS_SLOW
public static final int FOCUS_IN
public static final int FOCUS_OUT
public static final int SLEW_SLEW
public static final int SLEW_FIND
public static final int SLEW_CENTER
public static final int SLEW_GUIDE
public static final int SLEW_NORTH
public static final int SLEW_EAST
public static final int SLEW_SOUTH
public static final int SLEW_WEST
Constructor Detail |
public LX200(java.lang.String port)
Method Detail |
public static float raToFloat(java.lang.String ra)
public static float decToFloat(java.lang.String dec)
public static float altToFloat(java.lang.String alt)
public static float azToFloat(java.lang.String az)
public void setHighPrecision(boolean setHigh) throws java.io.IOException
java.io.IOException
public void setLongFormat(boolean setLong) throws java.io.IOException
java.io.IOException
public void setFocusRate(int rate) throws java.io.IOException
java.io.IOException
public void startFocus(int direction) throws java.io.IOException
java.io.IOException
public void stopFocus() throws java.io.IOException
java.io.IOException
public void setSlewRate(int rate) throws java.io.IOException
java.io.IOException
public void startSlew(int direction) throws java.io.IOException
direction
- the direction to start slewing in.
java.io.IOException
public void stopSlew(int direction) throws java.io.IOException
direction
- the direction to stop slewing in.
java.io.IOException
public java.lang.String getRA() throws java.io.IOException
java.io.IOException
public java.lang.String getDec() throws java.io.IOException
java.io.IOException
public java.lang.String getAlt() throws java.io.IOException
java.io.IOException
public java.lang.String getAz() throws java.io.IOException
java.io.IOException
public boolean setObjectCoords(java.lang.String ra, java.lang.String dec) throws java.io.IOException
java.io.IOException
public int slewToObject() throws java.io.IOException
java.io.IOException
public boolean checkPosition(float ra, float dec) throws java.io.IOException
ra
- RA to check against.dec
- dec to check against.
java.io.IOException
public boolean isMoving() throws java.io.IOException
java.io.IOException
public java.lang.String getLocalTime() throws java.io.IOException
java.io.IOException
public boolean setLocalTime(java.lang.String time) throws java.io.IOException
java.io.IOException
public void syncCoords() 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 |