Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bliss
bliss
Commits
fe0191e1
Commit
fe0191e1
authored
May 28, 2021
by
Benoit Formet
Browse files
NewportXPS: remove 2s. delay after a move
parent
4d055ac0
Pipeline
#47567
failed with stages
in 122 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bliss/controllers/motors/newport/newportxps.py
View file @
fe0191e1
...
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment