Skip to content

Commit 972b3e6

Browse files
Add Atlas v4 description
1 parent 7e37b59 commit 972b3e6

File tree

6 files changed

+62
-6
lines changed

6 files changed

+62
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66

77
### Added
88

9+
- Description: Atlas v4
910
- Description: ANYmal B MJCF
1011
- Description: ANYmal C MJCF
1112
- Description: Fetch
@@ -22,6 +23,7 @@ All notable changes to this project will be documented in this file.
2223
### Changed
2324

2425
- Merge MJCF and URDF descriptions for Aliengo
26+
- Renamed former "Atlas" description to "Atlas DRC"
2527
- Switch to a dual MJCF/URDF descriptions for A1
2628

2729
## [0.2.0] - 2022/09/07

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,16 @@ Available robot descriptions ([gallery](https://github.com/robot-descriptions/aw
9191
| A1 | UNITREE Robotics | MJCF, URDF | `a1_description` |
9292
| Aliengo | UNITREE Robotics | MJCF, URDF | `aliengo_description` |
9393
| Allegro Hand | Wonik Robotics | URDF | `allegro_hand_description` |
94-
| ANYmal B | ANYbotics | URDF | `anymal_b_description` |
9594
| ANYmal B | ANYbotics | MJCF | `anymal_b_mj_description` |
96-
| ANYmal C | ANYbotics | URDF | `anymal_c_description` |
95+
| ANYmal B | ANYbotics | URDF | `anymal_b_description` |
9796
| ANYmal C | ANYbotics | MJCF | `anymal_c_mj_description` |
98-
| Atlas | Boston Dynamics | URDF | `atlas_description` |
97+
| ANYmal C | ANYbotics | URDF | `anymal_c_description` |
98+
| Atlas DRC (v3) | Boston Dynamics | URDF | `atlas_drc_description` |
99+
| Atlas v4 | Boston Dynamics | URDF | `atlas_v4_description` |
99100
| Baxter | Rethink Robotics | URDF | `baxter_description` |
100101
| Bolt | ODRI | URDF | `bolt_description` |
101-
| Cassie | Agility Robotics | URDF | `cassie_description` |
102102
| Cassie | Agility Robotics | MJCF | `cassie_mj_description` |
103+
| Cassie | Agility Robotics | URDF | `cassie_description` |
103104
| Crazyflie 2.0 | Bitcraze | URDF | `cf2_description` |
104105
| Double Pendulum | N/A | URDF | `double_pendulum_description` |
105106
| e.DO | Comau | URDF | `edo_description` |

robot_descriptions/_description_names.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"anymal_b_mj_description",
3030
"anymal_c_description",
3131
"anymal_c_mj_description",
32-
"atlas_description",
32+
"atlas_drc_description",
33+
"atlas_v4_description",
3334
"baxter_description",
3435
"bolt_description",
3536
"cassie_description",

robot_descriptions/_repositories.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ class Repository:
125125
commit="12f1a3c89c9975194551afaed0dfae1e09fdb27c",
126126
cache_path="ankurhanda/robot-assets",
127127
),
128+
"roboschool": Repository(
129+
url="https://github.com/openai/roboschool.git",
130+
commit="1.0.49",
131+
cache_path="openai/roboschool",
132+
),
128133
"robotiq_arg85_description": Repository(
129134
url="https://github.com/a-price/robotiq_arg85_description.git",
130135
commit="a65190bdbb0666609fe7e8c3bb17341e09e81625",

robot_descriptions/atlas_description.py renamed to robot_descriptions/atlas_drc_description.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# limitations under the License.
1717

1818
"""
19-
Atlas description.
19+
Atlas DRC (v3) description.
2020
"""
2121

2222
from os import path as _path
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
Atlas v4 description.
20+
"""
21+
22+
from os import path as _path
23+
from typing import List
24+
25+
from ._cache import clone_to_cache as _clone_to_cache
26+
27+
REPOSITORY_PATH: str = _clone_to_cache("roboschool")
28+
29+
PACKAGE_PATH: str = _path.join(
30+
REPOSITORY_PATH, "roboschool", "models_robot", "atlas_description"
31+
)
32+
33+
MESH_PATHS: List[str] = [
34+
_path.join(PACKAGE_PATH, "meshes_v3"),
35+
_path.join(PACKAGE_PATH, "meshes_unplugged"),
36+
_path.join(
37+
REPOSITORY_PATH,
38+
"roboschool",
39+
"models_robot",
40+
"multisense_sl_description",
41+
"meshes",
42+
),
43+
]
44+
45+
URDF_PATH: str = _path.join(
46+
PACKAGE_PATH, "urdf", "atlas_v4_with_multisense.urdf"
47+
)

0 commit comments

Comments
 (0)