Skip to content

Commit 7970ca4

Browse files
Add Cassie MJCF description
1 parent 313156f commit 7970ca4

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

robot_descriptions/_description_names.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"baxter_description",
3333
"bolt_description",
3434
"cassie_description",
35+
"cassie_mj_description",
3536
"cf2_description",
3637
"double_pendulum_description",
3738
"edo_description",

robot_descriptions/_repositories.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ class Repository:
7070
commit="96323f3d0cc2cb7101cb92d7fcf4650abdcb2e81",
7171
cache_path="UMich-BipedLab/cassie_description",
7272
),
73+
"cassie_mj_description": Repository(
74+
url="https://github.com/rohanpsingh/cassie_mj_description.git",
75+
commit="fcc3775453e4da6797cd4eacd3d8321d9906755a",
76+
cache_path="rohanpsingh/cassie_mj_description",
77+
),
7378
"drake": Repository(
7479
url="https://github.com/RobotLocomotion/drake.git",
7580
commit="v1.7.0",
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
#
4+
# Copyright 2022 Stéphane Caron
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
18+
"""
19+
Cassie MJCF description.
20+
"""
21+
22+
from os import path as _path
23+
24+
from ._cache import clone_to_cache as _clone_to_cache
25+
26+
REPOSITORY_PATH: str = _clone_to_cache("cassie_mj_description")
27+
28+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH)
29+
30+
MESHES_PATH: str = _path.join(PACKAGE_PATH, "meshes")
31+
32+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "xml", "cassie.xml")

0 commit comments

Comments
 (0)