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