Skip to content

Commit bf75643

Browse files
authored
Merge pull request #202 from hshi74/main
Add toddlerbot_2xc and toddlerbot_2xm
2 parents 927a809 + 3877bd1 commit bf75643

File tree

118 files changed

+4354
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+4354
-5
lines changed

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions

README.md

Lines changed: 8 additions & 4 deletions
62.1 KB

generate_gallery.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ class ModelType(int, enum.Enum):
9191
"kinova_gen3/gen3": "gen3",
9292
"booster_t1/t1": "t1",
9393
"agilex_piper/piper": "piper",
94+
"toddlerbot_2xc/toddlerbot_2xc": "toddlerbot",
9495
}
9596

9697
MODEL_MAP = {
@@ -134,6 +135,7 @@ class ModelType(int, enum.Enum):
134135
"kinova_gen3/gen3": ModelType.ARM,
135136
"booster_t1/t1": ModelType.HUMANOID,
136137
"agilex_piper/piper": ModelType.ARM,
138+
"toddlerbot_2xc/toddlerbot_2xc": ModelType.HUMANOID,
137139
}
138140

139141
DEFAULT_FOV = 40
@@ -332,6 +334,11 @@ class ModelType(int, enum.Enum):
332334
xyaxes="0.866 0.500 0.000 -0.171 0.296 0.940",
333335
fovy=50,
334336
),
337+
"toddlerbot_2xc/toddlerbot_2xc": dict(
338+
pos="0.75 -0.38 0.55",
339+
xyaxes="0.453 0.892 0.000 -0.295 0.150 0.944",
340+
fovy=DEFAULT_FOV,
341+
),
335342
}
336343

337344
# pylint: disable=line-too-long
@@ -369,7 +376,7 @@ def create_arena():
369376
return arena
370377

371378

372-
MODEL_XMLS = [pathlib.Path(f"../{k}.xml") for k in MODEL_MAP.keys()]
379+
MODEL_XMLS = [pathlib.Path(f"./{k}.xml") for k in MODEL_MAP.keys()]
373380

374381

375382
# Sort XML files.

toddlerbot_2xc/CHANGELOG.md

Lines changed: 7 additions & 0 deletions

toddlerbot_2xc/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Haochen Shi
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

toddlerbot_2xc/README.md

Lines changed: 25 additions & 0 deletions
3 MB
3 MB
2.82 KB

0 commit comments

Comments
 (0)