瀏覽代碼

persist theta after reset

tuanchris 3 月之前
父節點
當前提交
0df0c14235
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/connection/connection_manager.py

+ 1 - 1
modules/connection/connection_manager.py

@@ -450,7 +450,7 @@ def home(timeout=15):
             idle_reached = check_idle()
 
             if idle_reached:
-                state.current_theta = state.current_rho = 0
+                state.current_rho = 0
                 homing_success = True
                 logger.info("Homing completed and device is idle")
             else: