|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.raben.telescope.comm.CelestronAuxillaryCommand
Celestron Auxillary Hand Controller Commands
| Field Summary | |
static int |
DOWN_ARROW
Down arrow |
static int |
RIGHT_ARROW
Right arrow |
static int |
UP_ARROW
Up arrow |
| Constructor Summary | |
CelestronAuxillaryCommand()
Creates a new instance of CelestronAuxillaryCommand |
|
| Method Summary | |
char[] |
altitudeMoveCommand(boolean direction,
int rate)
Move telescope in altitude same action as pressing up/down arrow on hand control |
char[] |
altitudeTrackingRateCommand(int trackRate)
Get altitude tracking rate command |
char[] |
azimuthMoveCommand(boolean direction,
int rate)
Move telescope in azimuth (right ascension if on wedge) same action as as pressing left/right arrow key on hand controller |
char[] |
azimuthTrackingRateCommand(int trackRate)
Get azimuth tracking rate command |
char[] |
createAuxillaryHandControllerCommand(char destId,
char[] cmd,
int responseChars)
Create auxillary command for hand controller Packet format is 0x50, msglen, destId, msgId, data1, data2, data3, responseChars |
char[] |
createAuxillaryPcCommand(char destId,
char[] cmd,
int responseChars)
Create auxillary command for pc port Packet format is 0x50, msglen, destId, msgId, data1, data2, data3, responseChars, checksum |
double |
decodeGpsCoordinate(char[] chars)
Decode chars from GPS containing coordinate response string |
char[] |
gpsDateCommand()
Get GPS date command |
char[] |
gpsLatitudeCommand()
Get GPS latitude command |
char[] |
gpsLinkedCommand()
Get GPS linked command |
char[] |
gpsLongitudeCommand()
Get GPS longitude command |
char[] |
gpsTimeCommand()
Get GPS time command |
char[] |
gpsYearCommand()
Get GPS year command |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int RIGHT_ARROW
public static final int UP_ARROW
public static final int DOWN_ARROW
| Constructor Detail |
public CelestronAuxillaryCommand()
| Method Detail |
public char[] createAuxillaryHandControllerCommand(char destId,
char[] cmd,
int responseChars)
destId - Address of devicecmd - Character array containg commandresponseChars - of response chars expected
public char[] createAuxillaryPcCommand(char destId,
char[] cmd,
int responseChars)
destId - Address of devicecmd - Character array containg commandresponseChars - of response chars expected
public char[] gpsYearCommand()
public char[] gpsDateCommand()
public char[] gpsTimeCommand()
public char[] gpsLinkedCommand()
public char[] gpsLongitudeCommand()
public char[] gpsLatitudeCommand()
public double decodeGpsCoordinate(char[] chars)
chars - array Containing response from GPS
public char[] azimuthTrackingRateCommand(int trackRate)
trackRate - rate in arc seconds per second
public char[] altitudeTrackingRateCommand(int trackRate)
trackRate - in arc seconds per second
public char[] azimuthMoveCommand(boolean direction,
int rate)
direction - false = left, true = rightrate - 0 = stop, 1 = slow, 9 = fast
public char[] altitudeMoveCommand(boolean direction,
int rate)
direction - true = up, false = downrate - 0 = stop, 1 = slow, 9=fast
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||