| class EnvAdaptiveHumanoid: | |
| def adapt(self, friction, slope): | |
| if slope > 10: | |
| return "slow_walk" | |
| if friction < 0.5: | |
| return "wide_step" | |
| return "normal_walk" | |
| class EnvAdaptiveHumanoid: | |
| def adapt(self, friction, slope): | |
| if slope > 10: | |
| return "slow_walk" | |
| if friction < 0.5: | |
| return "wide_step" | |
| return "normal_walk" | |