Increased travel limit
This commit is contained in:
parent
c2f30b56c3
commit
ea3ae9f898
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ class PositionAPI(MicroscopeView):
|
||||||
if not 'force' in state or state['force'] is False: # Allow for override
|
if not 'force' in state or state['force'] is False: # Allow for override
|
||||||
# TODO: Make travel_limit a property of the stage or microscope
|
# TODO: Make travel_limit a property of the stage or microscope
|
||||||
# TODO: Make travel_limit a 3-axis list
|
# TODO: Make travel_limit a 3-axis list
|
||||||
travel_limit = 2000
|
travel_limit = 20000
|
||||||
for axis, pos in enumerate(position):
|
for axis, pos in enumerate(position):
|
||||||
if abs(pos) > travel_limit:
|
if abs(pos) > travel_limit:
|
||||||
# Respond with 400 Bad Request
|
# Respond with 400 Bad Request
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue