def __init__(self): FocuserBase.__init__(self) self.tty = None self._directions = {Direction.IN: "FI", Direction.OUT: "FO"} self._modes = { Mode.Manual: "M", Mode.Free: "F", Mode.Auto_A: "A", Mode.Auto_B: "B" } self._supports = { FocuserFeature.TEMPERATURE_COMPENSATION: True, FocuserFeature.POSITION_FEEDBACK: True, FocuserFeature.ENCODER: True } # debug log self._debugLog = None try: self._debugLog = open( os.path.join(SYSTEM_CONFIG_DIRECTORY, "optec-debug.log"), "w") except IOError, e: self.log.warning("Could not create meade debug file (%s)" % str(e))
def __init__(self): FocuserBase.__init__(self) self.tty = None self._directions = {Direction.IN: "FI", Direction.OUT: "FO"} self._modes = {Mode.Manual: "M", Mode.Free: "F", Mode.Auto_A: "A", Mode.Auto_B: "B"} self._supports = {FocuserFeature.TEMPERATURE_COMPENSATION: True, FocuserFeature.POSITION_FEEDBACK: True, FocuserFeature.ENCODER: True, FocuserFeature.CONTROLLABLE_X: False, FocuserFeature.CONTROLLABLE_Y: False, FocuserFeature.CONTROLLABLE_Z: True, FocuserFeature.CONTROLLABLE_U: False, FocuserFeature.CONTROLLABLE_V: False, FocuserFeature.CONTROLLABLE_W: False} # debug log self._debugLog = None try: self._debugLog = open( os.path.join(SYSTEM_CONFIG_DIRECTORY, "optec-debug.log"), "w") except IOError, e: self.log.warning("Could not create meade debug file (%s)" % str(e))
def __init__(self): FocuserBase.__init__(self) self._supports = {FocuserFeature.TEMPERATURE_COMPENSATION: False, FocuserFeature.POSITION_FEEDBACK: True, FocuserFeature.ENCODER: True, FocuserFeature.CONTROLLABLE_X: False, FocuserFeature.CONTROLLABLE_Y: False, FocuserFeature.CONTROLLABLE_U: False, FocuserFeature.CONTROLLABLE_V: False, FocuserFeature.CONTROLLABLE_W: False, } self._position = {Axis.Z: None} self._offset = {Axis.Z: None} self._range = {Axis.Z: [None, None]} self._step = {Axis.Z: None} self._lastTimeLog = None self._temperature = 0. self._abort = threading.Event() self._errorNo = 0 self._errorString = "" # debug log self._debugLog = None try: self._debugLog = open(os.path.join(SYSTEM_CONFIG_DIRECTORY, "astelcofocuser-debug.log"), "w") except IOError, e: self.log.warning("Could not create astelco debug file (%s)" % str(e))
def __init__ (self): FocuserBase.__init__(self) self._position = 0 self._supports = {FocuserFeature.TEMPERATURE_COMPENSATION: False, FocuserFeature.POSITION_FEEDBACK: True, FocuserFeature.ENCODER: True}
def __init__(self): FocuserBase.__init__(self) self._position = 0 self._supports = { FocuserFeature.TEMPERATURE_COMPENSATION: False, FocuserFeature.POSITION_FEEDBACK: True, FocuserFeature.ENCODER: True }
def __init__(self): FocuserBase.__init__(self) self._position = 0 self._supports = {FocuserFeature.TEMPERATURE_COMPENSATION: False, FocuserFeature.POSITION_FEEDBACK: True, FocuserFeature.ENCODER: True, FocuserFeature.CONTROLLABLE_X: False, FocuserFeature.CONTROLLABLE_Y: False, FocuserFeature.CONTROLLABLE_Z: True, FocuserFeature.CONTROLLABLE_U: False, FocuserFeature.CONTROLLABLE_V: False, FocuserFeature.CONTROLLABLE_W: False, }
def __init__(self): FocuserBase.__init__(self) self._position = 0 self._supports = { FocuserFeature.TEMPERATURE_COMPENSATION: False, FocuserFeature.POSITION_FEEDBACK: True, FocuserFeature.ENCODER: True, FocuserFeature.CONTROLLABLE_X: False, FocuserFeature.CONTROLLABLE_Y: False, FocuserFeature.CONTROLLABLE_Z: True, FocuserFeature.CONTROLLABLE_U: False, FocuserFeature.CONTROLLABLE_V: False, FocuserFeature.CONTROLLABLE_W: False, }
def __init__(self): FocuserBase.__init__(self) self.tty = None self._supports = {FocuserFeature.TEMPERATURE_COMPENSATION: False, FocuserFeature.POSITION_FEEDBACK: True, FocuserFeature.ENCODER: True} # debug log self._debugLog = None try: self._debugLog = open( os.path.join(SYSTEM_CONFIG_DIRECTORY, "jmismart-debug.log"), "w") except IOError, e: self.log.warning("Could not create meade debug file (%s)" % str(e))
def __init__(self): FocuserBase.__init__(self)