Source code for panoptes.pocs.mount.ioptron
from enum import IntEnum
[docs]
class MountInfo(IntEnum):
"""The return type given by the MountInfo command to identify the mount."""
HAE16 = 12
CEM25 = 25
CEM26 = 26
CEM26EC = 27
GEM28 = 28
GEM28EC = 29
iEQ30Pro = 30
CEM40 = 40
CEM40EC = 41
GEM45 = 43
GEM45EC = 44
iEQ45Pro = 45
iEQ45ProAA = 46
CEM60 = 60
CEM60EC = 61
CEM70 = 70
CEM70EC = 71
CEM120 = 120
CEM120EC = 121
CEM120EC2 = 122
[docs]
class MountGPS(IntEnum):
"""GPS power/lock state reported by iOptron controllers."""
OFF = 0
ON = 1
EXTRACTED = 2
[docs]
class MountState(IntEnum):
"""High-level motion/operational state of the mount."""
STOPPED = 0
TRACKING = 1
SLEWING = 2
GUIDING = 3
MERIDIAN_FLIPPING = 4
TRACKING_PEC = 5
PARKED = 6
AT_HOME = 7
UNKNOWN = 8
[docs]
class MountTrackingState(IntEnum):
"""Tracking rate/mode selections supported by iOptron."""
SIDEREAL = 0
LUNAR = 1
SOLAR = 2
KING = 3
CUSTOM = 4
[docs]
class MountMovementSpeed(IntEnum):
"""Hand-controller move rates expressed as multiples of sidereal."""
SIDEREAL_1 = 1
SIDEREAL_2 = 2
SIDEREAL_8 = 3
SIDEREAL_16 = 4
SIDEREAL_64 = 5
SIDEREAL_128 = 6
SIDEREAL_256 = 7
SIDEREAL_512 = 8
SIDEREAL_MAX = 9
[docs]
class MountTimeSource(IntEnum):
"""Source from which the mount obtains its clock/time."""
RS232 = 1
HAND_CONTROLLER = 2
GPS = 3
[docs]
class MountHemisphere(IntEnum):
"""Hemisphere setting for tracking calculations."""
SOUTHERN = 0
NORTHERN = 1