Just in test.
Task Name | Terrain | Randomization | Self Collision | Mirror |
---|---|---|---|---|
bhr8_fc2_noarm_flat_nsc |
flat | off | off | off |
bhr8_fc2_noarm_flat |
flat | off | on | off |
bhr8_fc2_noarm_flat_random |
flat | on | on | off |
bhr8_fc2_noarm_rough_random |
rough | on | on | off |
bhr8_fc2_noarm_flat_nsc_mirror |
flat | off | off | on |
bhr8_fc2_noarm_flat_mirror |
flat | off | on | on |
bhr8_fc2_noarm_flat_random_mirror |
flat | on | on | on |
bhr8_fc2_noarm_rough_random_mirror |
rough | on | on | on |
First training:
python scripts/rsl_rl/train.py --task=bhr8_fc2_noarm_flat_nsc_mirror --headless --num_envs=10240 --max_iterations=3000
Second training:
python scripts/rsl_rl/train.py --task=bhr8_fc2_noarm_flat_mirror --headless --num_envs=10240 --max_iterations=3000 --resume
Third training:
python scripts/rsl_rl/train.py --task=bhr8_fc2_noarm_flat_random_mirror --headless --num_envs=10240 --max_iterations=3000 --resume
Fourth training:
python scripts/rsl_rl/train.py --task=bhr8_fc2_noarm_rough_random_mirror --headless --num_envs=4096 --max_iterations=6000 --resume
ctrl + shift + p
tasks: run task
setup_python_env
To create a lightweight version of BHR Lab with essential files only:
python scripts/create_lite_lab.py --path /absolute/path/to/target --name project_name
This script will:
- Create necessary directories (.vscode, scripts/rsl_rl, envs)
- Copy VSCode settings
- Copy task initialization files
- Copy and modify training scripts with correct import paths
- Issue: After updating to the latest version of Isaac Lab, the system prompts missing numba package
- Solution: Install numba using pip
pip install numba
- Issue: IsaacLab API breaking change -
quat_rotate_inverse
deprecated (Issue #2129) - Problem:
- IsaacLab #2129 changed
quat_rotate_inverse
toquat_apply_inverse
- This causes dimension errors in
lateral_distance
reward function - Old code produces warnings and potential calculation errors
- IsaacLab #2129 changed
- Root Cause: API function name and signature changes in latest IsaacLab versions
- Solution:
- Update IsaacLab to the latest version
- Replace
quat_rotate_inverse
withquat_apply_inverse
in reward functions - Verify dimension compatibility in affected reward calculations
- Files Affected:
- Reward functions using quaternion rotations
- Specifically
lateral_distance
reward computation
- Note: Older IsaacLab versions may not have
quat_apply_inverse
function, update is required