Fixed diverging paths
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
def stop_reset_enable_move_sequence(motor, target):
|
|
||||||
|
|
||||||
motor.write_field('stop', 1)
|
|
||||||
motor.write_field('reseterrorpv', 1)
|
|
||||||
motor.write_field('enable', 1)
|
|
||||||
|
|
||||||
# MasterMACS motors need to be homed after an error reset
|
|
||||||
motor.write_field('homeforward', 1)
|
|
||||||
motor.move_and_wait(target)
|
|
||||||
assert motor.at_target(target)
|
|
||||||
assert not motor.has_error()
|
|
||||||
Reference in New Issue
Block a user