增加复位时daq断电重启
This commit is contained in:
@@ -460,9 +460,11 @@ def scanner_loop():
|
||||
daq_set_sample(False)
|
||||
motor_speed_set(0)
|
||||
loop_wait(200)
|
||||
daq_set_power(False)
|
||||
move_to_bottom(5000)
|
||||
loop_wait(200)
|
||||
move_to_origin()
|
||||
daq_set_power(True)
|
||||
motor_state = ScannerState.STOP_AT_ORIGIN
|
||||
print('back to origin')
|
||||
reset_flag = False
|
||||
|
||||
Reference in New Issue
Block a user