Increased travel limit

This commit is contained in:
Joel Collins 2018-11-20 18:01:13 +00:00
parent c2f30b56c3
commit ea3ae9f898

View file

@ -246,7 +246,7 @@ class PositionAPI(MicroscopeView):
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 3-axis list
travel_limit = 2000
travel_limit = 20000
for axis, pos in enumerate(position):
if abs(pos) > travel_limit:
# Respond with 400 Bad Request