Commit ee786838 authored by Linus Pithan's avatar Linus Pithan
Browse files

Add switch parameter to docstring

parent e3ae48a2
......@@ -1473,6 +1473,7 @@ class Axis(AliasMixin, object):
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:
......
......@@ -384,6 +384,12 @@ class Controller(object):
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):
......
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