Selaa lähdekoodia

persist theta after reset

tuanchris 3 kuukautta sitten
vanhempi
sitoutus
0df0c14235
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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: