Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
nguyenhuu263
/
command_conditioned_humanoid
Like
0
License:
mit
Model card
Files
Files and versions
xet
Community
Copy to bucket
new
nguyenhuu263
commited on
Dec 27, 2025
Commit
16eae24
·
verified
·
1 Parent(s):
a5e32cd
Create code.py
Browse files
Files changed (1)
hide
show
code.py
+7
-0
code.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
class CommandHumanoid:
2
+
def act(self, command):
3
+
if "walk" in command:
4
+
return [0.5, 0.0, 0.0]
5
+
if "turn" in command:
6
+
return [0.0, 0.5, 0.0]
7
+
return [0.0, 0.0, 0.0]