StopState implementation

Prevent hard Servo movements to Idle Position
This commit is contained in:
2026-10-24 22:15:34 +02:00
parent 7e2c6d86ac
commit 8f93f90fb8
5 changed files with 64 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ if TYPE_CHECKING:
class IdleState(State):
def enter(self, robot: "Robot") -> None:
robot.reset_to_init()
pass
def execute(self, robot: "Robot") -> Optional[str]:
# Check transition conditions based on vector_dirmov or command flags