更新界面+更新步进电机bug和达妙电机调试接口

This commit is contained in:
2026-02-27 17:24:03 +08:00
parent 8d2e91b8b3
commit 9b7ff4b98f
3 changed files with 119 additions and 161 deletions

View File

@ -241,7 +241,14 @@ def reset_motor():
if __name__ == '__main__':
# 首先在吸附位置处进行 设置零点位置
set_zero_position()
reset_motor()
set_dm_motor_speed(30)
set_ori_position(282.6)
set_drop_position(282.6)
set_ori_position(-282.6)
# 起始位置:吸附位置
move_to_drop_position()
move_to_ori_position()