nguyenhuu263's picture
Create code.py
16eae24 verified
Raw History Blame Contribute Delete
212 Bytes
class CommandHumanoid:
def act(self, command):
if "walk" in command:
return [0.5, 0.0, 0.0]
if "turn" in command:
return [0.0, 0.5, 0.0]
return [0.0, 0.0, 0.0]