Junnyfirst34's picture
Create adapt.py
b0390c3 verified
class EnvAdaptiveHumanoid:
def adapt(self, friction, slope):
if slope > 10:
return "slow_walk"
if friction < 0.5:
return "wide_step"
return "normal_walk"