Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Junnyfirst34
/
environment_adaptive_humanoid
like
0
License:
mit
Model card
Files
Files and versions
xet
Community
Junnyfirst34
commited on
Dec 27, 2025
Commit
b0390c3
·
verified
·
1 Parent(s):
8571b41
Create adapt.py
Browse files
Files changed (1)
hide
show
adapt.py
+7
-0
adapt.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
class EnvAdaptiveHumanoid:
2
+
def adapt(self, friction, slope):
3
+
if slope > 10:
4
+
return "slow_walk"
5
+
if friction < 0.5:
6
+
return "wide_step"
7
+
return "normal_walk"