예제 #1
0
    def __init__(self):
        TelescopeBase.__init__(self)

        self.__slewing = False
        self._az = Coord.fromDMS(0)
        self._alt = Coord.fromDMS(70)

        self._slewing = False
        self._tracking = True
        self._parked = False

        self._abort = threading.Event()

        self._epoch = Epoch.J2000

        self._cover = False
        self._pierside = TelescopePierSide.UNKNOWN

        try:
            self._site = self.getManager().getProxy("/Site/0")
            self._gotSite = True
        except:
            self._site = Site()
            self._gotSite = False

        self._setRaDecFromAltAz()
예제 #2
0
    def __init__(self):
        TelescopeBase.__init__(self)

        self.__slewing = False
        self._az = Coord.fromDMS(0)
        self._alt = Coord.fromDMS(70)

        self._slewing = False
        self._tracking = True
        self._parked = False

        self._abort = threading.Event()

        self._epoch = Epoch.J2000

        self._cover = False
        self._pierside = TelescopePierSide.UNKNOWN

        try:
            self._site = self.getManager().getProxy("/Site/0")
            self._gotSite = True
        except:
            self._site = Site()
            self._gotSite = False

        self._setRaDecFromAltAz()
예제 #3
0
파일: astelco.py 프로젝트: agati/chimera
    def __init__(self):
        TelescopeBase.__init__(self)

        self._tpl = None
        self._slewRate = None
        self._abort = threading.Event()
        self._slewing = False

        self._errorNo = 0
        self._errorString = ""

        self._lastAlignMode = None
        self._parked = False

        self._target_az = None
        self._target_alt = None
		
        self._ra = None
        self._dec = None
		
        self._az = None
        self._alt = None


        self._poketime = 90.0

        # debug log
        self._debugLog = None
        try:
            self._debugLog = open(
                os.path.join(SYSTEM_CONFIG_DIRECTORY, "astelco-debug.log"), "w")
        except IOError, e:
            self.log.warning("Could not create astelco debug file (%s)" % str(e))
예제 #4
0
    def __init__(self):

        TelescopeBase.__init__(self)

        self._tty = None
        self._slewRate = None
        self._abort = threading.Event()
        self._slewing = False

        self._errorNo = 0
        self._errorString = ""

        self._lastAlignMode = None
        self._parked = False

        self._target_az = None
        self._target_alt = None

        # debug log
        self._debugLog = None
        try:
            self._debugLog = open(
                os.path.join(SYSTEM_CONFIG_DIRECTORY, "meade-debug.log"), "w")
        except IOError, e:
            self.log.warning("Could not create meade debug file (%s)" % str(e))
예제 #5
0
    def __init__(self):
        TelescopeBase.__init__(self)

        self._abort = threading.Event()

        self._thesky = None
        self._telescope = None
        self._idle_time = 0.2
        self._target = None
예제 #6
0
    def __init__(self):
        TelescopeBase.__init__(self)

        self._abort = threading.Event()

        self._thesky = None
        self._telescope = None
        self._idle_time = 0.2
        self._target = None
예제 #7
0
    def __init__(self):
        TelescopeBase.__init__(self)

        self._abort = threading.Event()

        self._ascom = None
        self._ascom = None
        self._idle_time = 0.2
        self._target = None
        self._isFanning = None
        self._isOpen = None
예제 #8
0
    def __init__(self):
        TelescopeBase.__init__(self)

        self.__slewing = False
        self._az = Coord.fromDMS(0)
        self._alt = Coord.fromDMS(70)

        self._slewing = False
        self._tracking = True
        self._parked = False

        self._abort = threading.Event()

        try:
            self._site = self.getManager().getProxy("/Site/0")
            self._gotSite = True
        except:
            self._site = Site()
            self._gotSite = False

        self._setRaDecFromAltAz()
예제 #9
0
    def __init__(self):
        TelescopeBase.__init__(self)

        self.__slewing = False
        self._az = Coord.fromDMS(0)
        self._alt = Coord.fromDMS(70)

        self._slewing = False
        self._tracking = True
        self._parked = False

        self._abort = threading.Event()

        try:
            self._site = self.getManager().getProxy("/Site/0")
            self._gotSite = True
        except:
            self._site = Site()
            self._gotSite = False

        self._setRaDecFromAltAz()