StopState implementation
Prevent hard Servo movements to Idle Position
This commit is contained in:
+3
-1
@@ -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"]
|
||||
Reference in New Issue
Block a user