Esempio n. 1
0
    def init(self):
        self.motorState = BlissMotor.NOTINITIALIZED
        self.username = self.motor_name

        set_backend("beacon")

        self.motor = get_axis(self.motor_name)
        self.connect(self.motor, "position", self.positionChanged)
        self.connect(self.motor, "state", self.updateState)
        self.connect(self.motor, "move_done", self._move_done)
Esempio n. 2
0
    def init(self): 
        self.motorState = BlissMotor.NOTINITIALIZED
        self.username = self.motor_name

        set_backend("beacon")

        self.motor = get_axis(self.motor_name)
        self.connect(self.motor, "position", self.positionChanged)
        self.connect(self.motor, "state", self.updateState)
        self.connect(self.motor, "move_done", self._move_done)
 def setUp(self):
     set_backend("beacon")
     bliss.config.motors.clear_cfg()
     bliss.controllers.motor_settings.wait_settings_writing()
     settings.HashSetting("axis.robz").clear()
     settings.HashSetting("axis.roby").clear()