Skip to content

Commit 3a3d748

Browse files
committed
update rby1 mjcf path
1 parent 12f1a36 commit 3a3d748

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

robot_descriptions/_repositories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class Repository:
312312
),
313313
"rby1_description": Repository(
314314
url="https://github.com/uynitsuj/rby1_description.git",
315-
commit="c84f9ed802f69306945b684aa7205599e4ede82a",
315+
commit="d8e8fe5f92604ef56e11db7f9798973cf94767cb",
316316
cache_path="rby1_description",
317317
),
318318
}

robot_descriptions/loaders/mujoco.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def load_robot_description(
4040

4141
def load_model_from_path(path):
4242
try:
43+
import pdb; pdb.set_trace()
44+
4345
return mujoco.MjModel.from_xml_path(path)
4446
except ValueError:
4547
print(f"{path} not found. Loading default robot model.")

robot_descriptions/rby1_description.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
1717
)
1818

19-
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "models/rby1a/urdf/meshes")
19+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "models/rby1a")
2020

21-
URDF_PATH: str = _path.join(REPOSITORY_PATH, "models/rby1a/urdf/model.urdf")
21+
URDF_PATH: str = _path.join(PACKAGE_PATH, "urdf/model.urdf")

robot_descriptions/rby1_mj_description.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
1717
)
1818

19-
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "models/rby1a/mujoco/assets")
19+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "models/rby1a")
2020

21-
MJCF_PATH: str = _path.join(REPOSITORY_PATH, "models/rby1a/mujoco/rby1.xml")
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "mujoco/model.xml")

0 commit comments

Comments
 (0)