Commit 195e4a39 authored by Matias Guijarro's avatar Matias Guijarro
Browse files

Merge branch 'xps-no-sleep' into 'master'

NewportXPS: remove 2s. delay after a move

See merge request !3744
parents 4d055ac0 fe0191e1
Pipeline #47569 failed with stages
in 100 minutes and 54 seconds
......@@ -54,10 +54,6 @@ class NewportXPS(Controller):
def __init__(self, *args, **kwargs):
Controller.__init__(self, *args, **kwargs)
def move_done_event_received(self, state, axis=None):
if state is True:
gevent.sleep(2)
def initialize(self):
log_debug(self, "initialize() called")
......@@ -92,7 +88,6 @@ class NewportXPS(Controller):
self.home_search(axis, False)
self.read_velocity(axis)
event.connect(axis, "move_done", self.move_done_event_received)
log_debug(self, "initialize_axis() complete")
def finalize_axis(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment