File tree Expand file tree Collapse file tree 5 files changed +28
-1
lines changed Expand file tree Collapse file tree 5 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
55## [ Unreleased]
66
7+ ### Added
8+
9+ - Description: Unitree B2
10+
711## [ 1.12.0] - 2024-08-08
812
913### Added
Original file line number Diff line number Diff line change @@ -258,6 +258,7 @@ The DOF column denotes the number of actuated degrees of freedom.
258258| ` anymal_c_description ` | ANYmal C | ANYbotics | 12 | URDF |
259259| ` anymal_c_mj_description ` | ANYmal C | ANYbotics | 12 | MJCF |
260260| ` b1_description ` | B1 | UNITREE Robotics | 12 | URDF |
261+ | ` b2_description ` | B2 | UNITREE Robotics | 12 | URDF |
261262| ` spot_mj_description ` | Spot | Boston Dynamics | 12 | MJCF |
262263| ` go1_description ` | Go1 | UNITREE Robotics | 12 | URDF |
263264| ` go1_mj_description ` | Go1 | UNITREE Robotics | 12 | MJCF |
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ def has_urdf(self) -> bool:
6262 "atlas_drc_description" : Description (Format .URDF ),
6363 "atlas_v4_description" : Description (Format .URDF ),
6464 "b1_description" : Description (Format .URDF ),
65+ "b2_description" : Description (Format .URDF ),
6566 "barrett_hand_description" : Description (Format .URDF ),
6667 "baxter_description" : Description (Format .URDF ),
6768 "bolt_description" : Description (Format .URDF ),
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ class Repository:
252252 ),
253253 "unitree_ros" : Repository (
254254 url = "https://github.com/unitreerobotics/unitree_ros.git" ,
255- commit = "6a7a9609cebd853062f2182f97dcfbdb711cd61a " ,
255+ commit = "8bca7f8907bf6feceac80809ae67e4b379ab9cfc " ,
256256 cache_path = "unitree_ros" ,
257257 ),
258258 "upkie_description" : Repository (
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python3
2+ # -*- coding: utf-8 -*-
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ # Copyright 2024 Inria
6+
7+ """B2 description."""
8+
9+ from os import getenv as _getenv
10+ from os import path as _path
11+
12+ from ._cache import clone_to_cache as _clone_to_cache
13+
14+ REPOSITORY_PATH : str = _clone_to_cache (
15+ "unitree_ros" ,
16+ commit = _getenv ("ROBOT_DESCRIPTION_COMMIT" , None ),
17+ )
18+
19+ PACKAGE_PATH : str = _path .join (REPOSITORY_PATH , "robots" , "b2_description" )
20+
21+ URDF_PATH : str = _path .join (PACKAGE_PATH , "urdf" , "b2_description.urdf" )
You can’t perform that action at this time.
0 commit comments