Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Benoit Rousselle
bliss
Commits
daf079c1
Commit
daf079c1
authored
Mar 18, 2019
by
Linus Pithan
Committed by
Matias Guijarro
May 21, 2019
Browse files
Add switch parameter to docstring
parent
287564fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
bliss/common/axis.py
View file @
daf079c1
...
...
@@ -1475,6 +1475,7 @@ class Axis(AliasMixin, LogMixin):
Args:
wait (bool): wait for search to finish [default: True]
switch: 1, -1, 0 defines the motion direction of the home search ( 0: automatic choice of direction)
"""
with
self
.
_lock
:
if
self
.
is_moving
:
...
...
bliss/controllers/motor.py
View file @
daf079c1
...
...
@@ -387,6 +387,12 @@ class Controller(LogMixin):
raise
NotImplementedError
def
home_search
(
self
,
axis
,
switch
):
"""
Should launch the search procedure of the home switch
Args:
switch: 1, -1, 0 defines the motion direction of the home search ( 0: automatic choice of direction)
"""
raise
NotImplementedError
def
home_state
(
self
,
axis
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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