Download GR00T-WholeBodyControl/gear_sonic/utils/motion_lib/motion_lib_robot.py from Timsty/groot_deployment: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/Timsty/groot_deployment/resolve/main/GR00T-WholeBodyControl/gear_sonic/utils/motion_lib/motion_lib_robot.py
- Command line
-
hf download hf://Timsty/groot_deployment/GR00T-WholeBodyControl/gear_sonic/utils/motion_lib/motion_lib_robot.py
-
curl -L -o motion_lib_robot.py https://huggingface.co/Timsty/groot_deployment/resolve/main/GR00T-WholeBodyControl/gear_sonic/utils/motion_lib/motion_lib_robot.py
407 Bytes
| from gear_sonic.utils.motion_lib.motion_lib_base import MotionLibBase | |
| from gear_sonic.utils.motion_lib.torch_humanoid_batch import Humanoid_Batch | |
| class MotionLibRobot(MotionLibBase): | |
| def __init__(self, motion_lib_cfg, num_envs, device): | |
| super().__init__(motion_lib_cfg=motion_lib_cfg, num_envs=num_envs, device=device) | |
| self.mesh_parsers = Humanoid_Batch(motion_lib_cfg) | |
| return | |