Complete Restructered Robot Code

Robot into its own Class instead of lose Global Variables that cause circular imports

StateClass usage instead of the old RobotState.py

New Input Class for Controller and randome intputs
This commit is contained in:
2026-07-30 21:14:50 +02:00
parent 5448335b11
commit b537677277
19 changed files with 955 additions and 916 deletions
+13
View File
@@ -0,0 +1,13 @@
"""
states/__init__.py - State Machine Initialization
"""
from states.State import State, STATE_REGISTRY
from states.IdleState import IdleState
from states.WalkingState import WalkingState, WalkingFourState
# Register available state instances
STATE_REGISTRY["idle"] = IdleState()
STATE_REGISTRY["walking"] = WalkingState()
STATE_REGISTRY["walking_four"] = WalkingFourState()
__all__ = ["State", "STATE_REGISTRY", "IdleState", "WalkingState", "WalkingFourState"]