Download simulation/modules/IsaacLab/tools/template/common.py from hk239/v2d: direct link, hf CLI and curl.
- Browser
- Download file 554 Bytes
-
https://huggingface.co/datasets/hk239/v2d/resolve/main/simulation/modules/IsaacLab/tools/template/common.py
- Command line
-
hf download hf://datasets/hk239/v2d/simulation/modules/IsaacLab/tools/template/common.py
-
curl -L -o common.py https://huggingface.co/datasets/hk239/v2d/resolve/main/simulation/modules/IsaacLab/tools/template/common.py
554 Bytes
| # Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md). | |
| # All rights reserved. | |
| # | |
| # SPDX-License-Identifier: BSD-3-Clause | |
| import os | |
| # paths | |
| ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) | |
| TASKS_DIR = os.path.join(ROOT_DIR, "source", "isaaclab_tasks", "isaaclab_tasks") | |
| TEMPLATE_DIR = os.path.join(ROOT_DIR, "tools", "template", "templates") | |
| # RL algorithms | |
| SINGLE_AGENT_ALGORITHMS = ["AMP", "PPO"] | |
| MULTI_AGENT_ALGORITHMS = ["IPPO", "MAPPO"] | |