diff --git a/src/move.py b/src/move.py index e631696..6536b83 100755 --- a/src/move.py +++ b/src/move.py @@ -40,7 +40,7 @@ def move_while_move(motor: Motor, first_target, second_target, time_first_target def stop_then_move(motor: Motor, target): - motor.stop('stop', 1) + motor.stop() motor.wait_for_done() motor.move_and_wait(target) @@ -52,7 +52,7 @@ def stop(motor: Motor, target): """ motor.move(target) time.sleep(1) - motor.stop(1) + motor.stop() motor.wait_for_done() assert not motor.at_target(target) assert not motor.has_error() diff --git a/src/sinqMotor/masterMacs/reset.py b/src/sinqMotor/masterMacs/reset.py index e799b55..7b15b33 100755 --- a/src/sinqMotor/masterMacs/reset.py +++ b/src/sinqMotor/masterMacs/reset.py @@ -19,7 +19,7 @@ def reset(motor: SinqMotor, target): if target is None: target = motor.default_position - motor.stop(1) + motor.stop() motor.wait_for_done() motor.reset() motor.wait_disabled()