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
+3 -1
View File
@@ -4,10 +4,12 @@ states/__init__.py - State Machine Initialization
from states.State import State, STATE_REGISTRY
from states.IdleState import IdleState
from states.WalkingState import WalkingState, WalkingFourState
from states.StopState import StopState
# Register available state instances
STATE_REGISTRY["idle"] = IdleState()
STATE_REGISTRY["stopping"] = StopState()
STATE_REGISTRY["walking"] = WalkingState()
STATE_REGISTRY["walking_four"] = WalkingFourState()
__all__ = ["State", "STATE_REGISTRY", "IdleState", "WalkingState", "WalkingFourState"]
__all__ = ["State", "STATE_REGISTRY", "IdleState", "StopState", "WalkingState", "WalkingFourState"]