|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.devices.telescopes.LX200.LX200
public final class LX200
DOCUMENT ME!
| Field Summary | |
|---|---|
static int |
FOCUS_FAST
Focus rates. |
static int |
FOCUS_IN
Focus directions. |
static int |
FOCUS_OUT
DOCUMENT ME! |
static int |
FOCUS_SLOW
DOCUMENT ME! |
static int |
SLEW_CENTER
DOCUMENT ME! |
static int |
SLEW_EAST
DOCUMENT ME! |
static int |
SLEW_FIND
DOCUMENT ME! |
static int |
SLEW_GUIDE
DOCUMENT ME! |
static int |
SLEW_NORTH
Slew directions. |
static int |
SLEW_SLEW
Slew rates. |
static int |
SLEW_SOUTH
DOCUMENT ME! |
static int |
SLEW_WEST
DOCUMENT ME! |
| 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)
port - DOCUMENT ME!| Method Detail |
|---|
public static float raToFloat(java.lang.String ra)
ra - DOCUMENT ME!
public static float decToFloat(java.lang.String dec)
dec - DOCUMENT ME!
public static float altToFloat(java.lang.String alt)
alt - DOCUMENT ME!
public static float azToFloat(java.lang.String az)
az - DOCUMENT ME!
public void setHighPrecision(boolean setHigh)
throws java.io.IOException
setHigh - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public void setLongFormat(boolean setLong)
throws java.io.IOException
setLong - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public void setFocusRate(int rate)
throws java.io.IOException
rate - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public void startFocus(int direction)
throws java.io.IOException
direction - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public void stopFocus()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!
public void setSlewRate(int rate)
throws java.io.IOException
rate - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public void startSlew(int direction)
throws java.io.IOException
direction - the direction to start slewing in.
java.io.IOException - DOCUMENT ME!
public void stopSlew(int direction)
throws java.io.IOException
direction - the direction to stop slewing in.
java.io.IOException - DOCUMENT ME!
public java.lang.String getRA()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!
public java.lang.String getDec()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!
public java.lang.String getAlt()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!
public java.lang.String getAz()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!
public boolean setObjectCoords(java.lang.String ra,
java.lang.String dec)
throws java.io.IOException
ra - DOCUMENT ME!dec - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public int slewToObject()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!
public boolean checkPosition(float ra,
float dec)
throws java.io.IOException
ra - RA to check against.dec - dec to check against.
java.io.IOException - DOCUMENT ME!
public boolean isMoving()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!
public java.lang.String getLocalTime()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!
public boolean setLocalTime(java.lang.String time)
throws java.io.IOException
time - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public void syncCoords()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!
public void close()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||