コード例 #1
0
ファイル: faketelescope.py プロジェクト: astroufsc/chimera
    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
ファイル: faketelescope.py プロジェクト: rayshifu/chimera
    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
ファイル: theskytelescope.py プロジェクト: agati/chimera
    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
ファイル: faketelescope.py プロジェクト: ankanaan/chimera
    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()