Explorar o código

persist theta after reset

tuanchris hai 1 ano
pai
achega
0df0c14235
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()
             idle_reached = check_idle()
 
 
             if idle_reached:
             if idle_reached:
-                state.current_theta = state.current_rho = 0
+                state.current_rho = 0
                 homing_success = True
                 homing_success = True
                 logger.info("Homing completed and device is idle")
                 logger.info("Homing completed and device is idle")
             else:
             else: