Skip to content

Commit 972cd8d

Browse files
authored
Updates Agile policy checkpoint path to Nucleus (#3661)
# Description Updating Agile policy checkpoint path to point to the copy hosted in public server that is now available with the license approvals. ## Type of change - New feature (non-breaking change which adds functionality) ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
1 parent e102d6a commit 972cd8d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/isaaclab/test/controllers/test_controller_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import pytest
2222

2323
from isaaclab.controllers.utils import change_revolute_to_fixed, change_revolute_to_fixed_regex
24-
from isaaclab.utils.assets import retrieve_file_path
24+
from isaaclab.utils.assets import ISAACLAB_NUCLEUS_DIR, retrieve_file_path
2525
from isaaclab.utils.io.torchscript import load_torchscript_model
2626

2727

@@ -503,7 +503,7 @@ def test_regex_special_characters(test_urdf_file, mock_urdf_content):
503503
@pytest.fixture
504504
def policy_model_path():
505505
"""Path to the test TorchScript model."""
506-
_policy_path = "omniverse://isaac-dev.ov.nvidia.com/Projects/agile/policy_checkpoints/agile_locomotion.pt"
506+
_policy_path = f"{ISAACLAB_NUCLEUS_DIR}/Policies/Agile/agile_locomotion.pt"
507507
return retrieve_file_path(_policy_path)
508508

509509

source/isaaclab_tasks/isaaclab_tasks/manager_based/locomanipulation/pick_place/locomanipulation_g1_env_cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class ActionsCfg:
100100
],
101101
policy_output_scale=0.25,
102102
obs_group_name="lower_body_policy", # need to be the same name as the on in ObservationCfg
103-
policy_path="omniverse://isaac-dev.ov.nvidia.com/Projects/agile/policy_checkpoints/agile_locomotion.pt",
103+
policy_path=f"{ISAACLAB_NUCLEUS_DIR}/Policies/Agile/agile_locomotion.pt",
104104
)
105105

106106

0 commit comments

Comments
 (0)