更新界面+更新步进电机bug和达妙电机调试接口
This commit is contained in:
@ -195,7 +195,7 @@ def align_wire(speed: int, cycle: float):
|
||||
GLOBAL_MOTOR.rotate(pulse_frequency=speed, rounds=cycle, direction=0)
|
||||
time.sleep(5) # 暂停5秒
|
||||
# 远离电机方向 顺时针
|
||||
GLOBAL_MOTOR.rotate(pulse_frequency=speed,rounds=10.0, direction=1)
|
||||
GLOBAL_MOTOR.rotate(pulse_frequency=speed,rounds=cycle, direction=1)
|
||||
time.sleep(5) # 暂停5秒
|
||||
|
||||
except ImportError:
|
||||
|
||||
Reference in New Issue
Block a user