add keyframe kick behavior, but still need to be improved

This commit is contained in:
徐学颢
2026-04-18 18:42:06 +08:00
parent 9e77e4d6e0
commit 2568fc1a9a
8 changed files with 1081 additions and 14 deletions

View File

@@ -1,4 +1,5 @@
from behaviors.custom.keyframe.get_up.get_up import GetUp
from behaviors.custom.keyframe.kick.kick import Kick
from behaviors.custom.keyframe.keyframe import KeyframeSkill
from behaviors.custom.keyframe.poses.neutral.neutral import Neutral
from behaviors.behavior import Behavior
@@ -22,7 +23,7 @@ class BehaviorManager:
Each skill is indexed by its class name.
"""
classes: list[type[Behavior]] = [Walk, Neutral, GetUp]
classes: list[type[Behavior]] = [Walk, Neutral, GetUp, Kick]
# instantiate each Skill and store in the skills dictionary
self.skills = {cls.__name__: cls(agent=self.agent) for cls in classes}