File size: 212 Bytes
16eae24 | 1 2 3 4 5 6 7 8 | 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]
|