AHP® GT Controllers API
AHP GT Controllers
Loading...
Searching...
No Matches

Classes

struct  SkywatcherAxisStatus
 Axis Status. More...
 

Enumerations

enum  GTSteppingConfiguration { AABB = 0 , ABAB = 1 , ABBA = 2 }
 Motor coils phase winding configuration. More...
 
enum  GTSteppingMode { Mixed = 0 , Microstep = 1 , HalfStep = 2 }
 Stepping mode. More...
 
enum  GTFeature { GpioUnused = 0x0000 , GpioAsST4 = 0x0001 , GpioAsEncoder = 0x0002 , GpioAsPulseDrive = 0x0003 }
 ST-4 port configuration. More...
 
enum  GTFlags { isForkMount = 0x1 , halfCurrentRA = 0x2 , halfCurrentDec = 0x4 , bauds_115200 = 0x8 }
 GT custom flags. More...
 
enum  SkywatcherFeature {
  inPPECTraining = 0x000010 , inPPEC = 0x000020 , hasEncoder = 0x000001 , hasPPEC = 0x000002 ,
  hasHomeIndexer = 0x000004 , isAZEQ = 0x000008 , hasPolarLed = 0x001000 , hasCommonSlewStart = 0x002000 ,
  hasHalfCurrentTracking = 0x004000 , hasWifi = 0x008000
}
 Skywatcher default features - EQ8/AZEQ6/AZEQ5 only. More...
 
enum  MountType {
  isEQ6 = 0x00 , isHEQ5 = 0x01 , isEQ5 = 0x02 , isEQ3 = 0x03 ,
  isEQ8 = 0x04 , isAZEQ6 = 0x05 , isAZEQ5 = 0x06 , isGT = 0x80 ,
  isMF = 0x81 , is114GT = 0x82 , isDOB = 0x90 , isCustom = 0xF0
}
 Default Mount types. More...
 
enum  SynscanCommand {
  GetRaDec = 'E' , GetPreciseRaDec = 'e' , GetAzAlt = 'Z' , GetPreciseAzAlt = 'z' ,
  GotoRaDec = 'R' , GotoPreciseRaDec = 'r' , GotoAzAlt = 'B' , GotoPreciseAzAlt = 'b' ,
  SyncRaDec = 'S' , SyncPreciseRaDec = 's' , GetTrackingMode = 't' , SetTrackingMode = 'T' ,
  Slew = 'P' , GetLocation = 'w' , SetLocation = 'W' , GetTime = 'h' ,
  SetTime = 'H' , GetSynScanVersion = 'V' , GetModel = 'm' , Echo = 'K' ,
  AlignmentComplete = 'J' , GOTOinProgress = 'L' , CancelGOTO = 'M' , GetMountPointingState = 'p'
}
 Commands for the SynScan protocol implementation. More...
 
enum  SkywatcherMotionMode { MODE_GOTO_HISPEED = 0x00 , MODE_SLEW_LOSPEED = 0x10 , MODE_GOTO_LOSPEED = 0x20 , MODE_SLEW_HISPEED = 0x30 }
 Motion Mode. More...
 
enum  SkywatcherSlewMode { MODE_SLEW = 0x1 , MODE_GOTO = 0x0 }
 Slew Mode. More...
 
enum  SkywatcherSpeedMode { SPEED_LOW = 0x0 , SPEED_HIGH = 0x1 }
 Speed Mode. More...
 
enum  SkywatcherDirection { DIRECTION_FORWARD = 0x00 , DIRECTION_BACKWARD = 0x01 }
 Direction. More...
 

Detailed Description

Enumeration Type Documentation

◆ GTFeature

enum GTFeature
Enumerator
GpioUnused 

The ST4 port will remain unused.

GpioAsST4 

The ST4 port will work as autoguider.

GpioAsEncoder 

The ST4 port will be connected to an encoder.

GpioAsPulseDrive 

The ST4 port will drive an external Step/Dir power drive.

◆ GTFlags

enum GTFlags
Enumerator
isForkMount 

Fork mount, will avoid meridian flip.

halfCurrentRA 

Half-current high-speed on RA.

halfCurrentDec 

Half-current high-speed on Dec.

bauds_115200 

high Baud Rate 115200

◆ GTSteppingConfiguration

Enumerator
AABB 

AABB Motor winding.

ABAB 

ABAB Motor winding.

ABBA 

ABBA Motor winding.

◆ GTSteppingMode

Enumerator
Mixed 

Microstepping in low speed, Half-stepping in high speed.

Microstep 

Microstepping in low speed, Microstepping in high speed.

HalfStep 

Half-stepping in low speed, Half-stepping in high speed.

◆ MountType

enum MountType
Enumerator
isEQ6 

Sky-Watcher EQ6.

isHEQ5 

Sky-Watcher HEQ5.

isEQ5 

Sky-Watcher EQ5.

isEQ3 

Sky-Watcher EQ3.

isEQ8 

Sky-Watcher EQ8.

isAZEQ6 

Sky-Watcher AZEQ6.

isAZEQ5 

Sky-Watcher AZEQ5.

isGT 

Sky-Watcher GT.

isMF 

Fork Mount.

is114GT 

114GT

isDOB 

Dobsonian mount.

isCustom 

Custom mount.

◆ SkywatcherDirection

Enumerator
DIRECTION_FORWARD 

Move forward.

DIRECTION_BACKWARD 

Move backward.

◆ SkywatcherFeature

Enumerator
inPPECTraining 

PPEC training in progress.

inPPEC 

PPEC correction in progress.

hasEncoder 

Mount has an encoder.

hasPPEC 

Mount has PPEC.

hasHomeIndexer 

Mount has an home indexer.

isAZEQ 

Mount is an AZEQ.

hasPolarLed 

Mount has a polar scope led.

hasCommonSlewStart 

Mount has a common slew start.

hasHalfCurrentTracking 

Mount allows half-current tracking.

hasWifi 

Mount provides a WiFi communication.

◆ SkywatcherMotionMode

Enumerator
MODE_GOTO_HISPEED 

High-speed (half-stepping mostly) Goto.

MODE_SLEW_LOSPEED 

Low-speed (microstepping possibly) Slew.

MODE_GOTO_LOSPEED 

Low-speed (microstepping possibly) Goto.

MODE_SLEW_HISPEED 

High-speed (half-stepping mostly) Slew.

◆ SkywatcherSlewMode

Enumerator
MODE_SLEW 

Slew, no target, will stop upon request only.

MODE_GOTO 

Goto, targeted, will stop upon request or on target reached.

◆ SkywatcherSpeedMode

Enumerator
SPEED_LOW 

Low-speed (microstepping possibly)

SPEED_HIGH 

High-speed (half-stepping mostly)

◆ SynscanCommand

Enumerator
GetRaDec 

Get RA/DEC.

GetPreciseRaDec 

Get precise RA/DEC.

GetAzAlt 

Get AZM-ALT.

GetPreciseAzAlt 

Get precise AZM-ALT.

GotoRaDec 

GOTO RA/DEC.

GotoPreciseRaDec 

GOTO precise RA/DEC.

GotoAzAlt 

GOTO AZM-ALT.

GotoPreciseAzAlt 

GOTO precise AZM-ALT.

SyncRaDec 

Sync RA/DEC.

SyncPreciseRaDec 

Sync precise RA/DEC.

GetTrackingMode 

Get Tracking Mode.

SetTrackingMode 

Set Tracking Mode.

Slew 

Variable rate Azm (or RA) slew in positive direction 'P' & chr:3 & chr:16 & chr:6 & chr:trackRateHigh & chr:trackRateLow & chr:0 & chr:0 < '#' Variable rate Azm (or RA) slew in negative direction 'P' & chr:3 & chr:16 & chr:7 & chr:trackRateHigh & chr:trackRateLow & chr:0 & chr:0 < '#' Variable rate Alt (or Dec) slew in positive direction 'P' & chr:3 & chr:17 & chr:6 & chr:trackRateHigh & chr:trackRateLow & chr:0 & chr:0 < '#' Variable rate Alt (or Dec) slew in negative direction 'P' & chr:3 & chr:17 & chr:7 & chr:trackRateHigh & chr:trackRateLow & chr:0 & chr:0 < '#' Fixed rate Azm (or RA) slew in positive direction 'P' & chr:2 & chr:16 & chr:36 & chr:rate & chr:0 & chr:0 & chr:0 < '#' Fixed rate Azm (or RA) slew in negative direction 'P' & chr:2 & chr:16 & chr:37 & '#' < chr:rate & chr:0 & chr:0 & chr:0 Fixed rate ALT (or DEC) slew in positive direction 'P' & chr:2 & chr:17 & chr:36 & chr:rate & chr:0 & chr:0 & chr:0 < '#' Fixed rate ALT (or DEC) slew in negative direction 'P' & chr:2 & chr:17 & chr:37 & chr:rate & chr:0 & chr:0 & chr:0 < '#' Get Device Version Devices include: 16 = AZM/RA Motor 17 = ALT/DEC Motor 'P' & chr:1 & chr:dev & chr:254 & chr:0 & chr:0 & chr:0 & chr:2 chr:major & chr:minor & '#' Hand Control responses the motor controller firmware version.

GetLocation 

Get Location.

SetLocation 

Set Location.

GetTime 

Get Time.

SetTime 

Set Time.

GetSynScanVersion 

Get Version.

GetModel 

Get Model 0 = EQ6 GOTO Series 1 = HEQ5 GOTO Series 2 = EQ5 GOTO Series 3 = EQ3 GOTO Series 4 = EQ8 GOTO Series 5 = AZ-EQ6 GOTO Series 6 = AZ-EQ5 GOTO Series 128 ~ 143 = AZ GOTO Series 144 ~ 159 = DOB GOTO Series 160 = AllView GOTO Series.

Echo 

Echo - useful to check communication.

AlignmentComplete 

Is Alignment Complete? - align=1 if aligned and 0 if not.

GOTOinProgress 

Is GOTO in Progress? - Response is ASCII'0' or '1'& '#'.

CancelGOTO 

Cancel GOTO.

GetMountPointingState 

Get Mount Pointing State.