Download GR00T-WholeBodyControl/decoupled_wbc/control/base/env.py from Timsty/groot_deployment: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/Timsty/groot_deployment/resolve/main/GR00T-WholeBodyControl/decoupled_wbc/control/base/env.py
- Command line
-
hf download hf://Timsty/groot_deployment/GR00T-WholeBodyControl/decoupled_wbc/control/base/env.py
-
curl -L -o env.py https://huggingface.co/Timsty/groot_deployment/resolve/main/GR00T-WholeBodyControl/decoupled_wbc/control/base/env.py
1.03 kB
| import gymnasium as gym | |
| class Env: | |
| """Base interface for all environments in the Gr00t framework""" | |
| def observe(self) -> dict[str, any]: | |
| """Read the current state of this environment | |
| Returns: | |
| dict: A dictionary of observations | |
| """ | |
| pass | |
| def queue_action(self, action: dict[str, any]): | |
| """Queue an action to be executed | |
| Args: | |
| action: A dictionary of action parameters | |
| """ | |
| pass | |
| def reset(self, **kwargs): | |
| """Reset this environment to initial state""" | |
| pass | |
| def observation_space(self) -> gym.Space: | |
| """Get the observation space of this environment | |
| Returns: | |
| gym.Space: The observation space | |
| """ | |
| pass | |
| def action_space(self) -> gym.Space: | |
| """Get the action space of this environment | |
| Returns: | |
| gym.Space: The action space | |
| """ | |
| pass | |
| def close(self): | |
| """Close and clean up this environment""" | |
| pass | |