添加测试代码,防止程序退出

This commit is contained in:
2026-03-02 11:15:14 +08:00
parent c20c750635
commit 7ea779acc8
4 changed files with 20 additions and 0 deletions

View File

@ -254,3 +254,6 @@ if __name__ == '__main__':
move_to_ori_position()
time.sleep(5) # 电机运动需要的时间
while(True):
time.sleep(1)