Skip to content

Commit 102606c

Browse files
rwiltzkellyguo11
authored andcommitted
Suppresses dex_retargeting::yourdfpy warnings for G1 (isaac-sim#3798)
Suppress yourdfpy warnings when trying to load meshes from hand urdfs in dex_retargeting. These mesh files are not used by dex_retargeting, but the parser is incorrectly configured by dex_retargeting to load them anyway which results in warning spam. Fixes # (issue) ## Type of change - Bug fix (non-breaking change which fixes an issue) ## 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` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] 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 <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> --------- Signed-off-by: Kelly Guo <[email protected]> Co-authored-by: Kelly Guo <[email protected]>
1 parent 62f59d9 commit 102606c

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

source/isaaclab/config/extension.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
# Note: Semantic Versioning is used: https://semver.org/
4-
version = "0.47.0"
4+
version = "0.47.1"
55

66
# Description
77
title = "Isaac Lab framework for Robot Learning"

source/isaaclab/docs/CHANGELOG.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
Changelog
22
---------
33

4+
0.47.1 (2025-10-22)
5+
~~~~~~~~~~~~~~~~~~~
6+
7+
Fixed
8+
^^^^^
9+
10+
* Suppressed yourdfpy warnings when trying to load meshes from hand urdfs in dex_retargeting. These mesh files are not
11+
used by dex_retargeting, but the parser is incorrectly configured by dex_retargeting to load them anyway which results
12+
in warning spam.
13+
14+
415
0.47.0 (2025-10-14)
516
~~~~~~~~~~~~~~~~~~~
617

source/isaaclab/isaaclab/devices/openxr/retargeters/humanoid/unitree/trihand/g1_dex_retargeting_utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44
# SPDX-License-Identifier: BSD-3-Clause
55

6+
import logging
67
import numpy as np
78
import os
89
import torch
@@ -14,6 +15,10 @@
1415

1516
from isaaclab.utils.assets import ISAACLAB_NUCLEUS_DIR, retrieve_file_path
1617

18+
# yourdfpy loads visual/collision meshes with the hand URDFs; these aren't needed for
19+
# retargeting and clutter the logs, so we suppress them.
20+
logging.getLogger("dex_retargeting.yourdfpy").setLevel(logging.ERROR)
21+
1722
# The index to map the OpenXR hand joints to the hand joints used
1823
# in Dex-retargeting.
1924
_HAND_JOINTS_INDEX = [1, 2, 3, 4, 5, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 24, 25]

0 commit comments

Comments
 (0)