Download simulation/setup/00_init_modules.sh from hk239/v2d: direct link, hf CLI and curl.
- Browser
- Download file 605 Bytes
-
https://huggingface.co/datasets/hk239/v2d/resolve/main/simulation/setup/00_init_modules.sh
- Command line
-
hf download hf://datasets/hk239/v2d/simulation/setup/00_init_modules.sh
-
curl -L -o 00_init_modules.sh https://huggingface.co/datasets/hk239/v2d/resolve/main/simulation/setup/00_init_modules.sh
605 Bytes
| # Place Isaac Lab under simulation/modules (not imported from Dream). | |
| set -eo pipefail | |
| ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | |
| mkdir -p "$ROOT/modules" | |
| cd "$ROOT/modules" | |
| clone() { | |
| local url="$1" dest="$2" branch="${3:-}" | |
| if [ -d "$dest/.git" ]; then | |
| echo "exists: $dest" | |
| return | |
| fi | |
| rm -rf "$dest" | |
| if [ -n "$branch" ]; then | |
| git clone --depth 1 --branch "$branch" "$url" "$dest" | |
| else | |
| git clone --depth 1 "$url" "$dest" | |
| fi | |
| } | |
| clone https://github.com/isaac-sim/IsaacLab.git IsaacLab release/3.0.0-beta2 | |
| echo "[00] modules ready under $ROOT/modules" | |