Download src/experiments/real_world/utils/env_utils.py from kaifz/pgnd: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/spaces/kaifz/pgnd/resolve/main/src/experiments/real_world/utils/env_utils.py
- Command line
-
hf download hf://spaces/kaifz/pgnd/src/experiments/real_world/utils/env_utils.py
-
curl -L -o env_utils.py https://huggingface.co/spaces/kaifz/pgnd/resolve/main/src/experiments/real_world/utils/env_utils.py
285 Bytes
| import numpy as np | |
| def get_bounding_box_bimanual(): | |
| return np.array([[0.0, 0.6], [-0.35, 0.45 + 0.75], [-0.65, 0.05]]) # the world frame robot workspace | |
| def get_bounding_box(): | |
| return np.array([[0.0, 0.6], [-0.35, 0.45], [-0.65, 0.05]]) # the world frame robot workspace | |