File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ class Repository:
178178 cache_path = "reachy_description" ,
179179 ),
180180 "rhea_description" : Repository (
181- url = "https://github.com/tasts-robots /rhea_description.git" ,
181+ url = "https://github.com/G-Levine /rhea_description.git" ,
182182 commit = "1dc0f1abcf51b5d8a8f7ff8a548399ff0df1414f" ,
183183 cache_path = "rhea_description" ,
184184 ),
Original file line number Diff line number Diff line change 2828def load_robot_description (
2929 description_name : str ,
3030 commit : Optional [str ] = None ,
31+ ** kwargs ,
3132) -> int :
3233 """Load a robot description in PyBullet.
3334
3435 Args:
3536 description_name: Name of the robot description.
3637 commit: If specified, check out that commit from the cloned robot
3738 description repository.
39+ kwargs: arguments passed to pybullet.loadURDF function, including:
40+ basePosition: 3D position of the base of the robot in world
41+ coordinates.
42+ baseOrientation: orientation in quaternion (xyzw) of the base of
43+ the robot in world coordinates.
44+ flags: int flags for the URDF loading in pybullet.
45+ useFixedBase: boolean indicating use a fix joint between world and
46+ robot base.
47+ physicsClientId: int indicating the pybullet client id.
3848
3949 Returns:
40- Identifier of the robot in PyBullet.
50+ Integer identifier of the robot in PyBullet.
4151 """
4252 if commit is not None :
4353 os .environ ["ROBOT_DESCRIPTION_COMMIT" ] = commit
@@ -46,5 +56,5 @@ def load_robot_description(
4656 raise ValueError (f"{ description_name } is not a URDF description" )
4757
4858 pybullet .setAdditionalSearchPath (module .PACKAGE_PATH )
49- robot = pybullet .loadURDF (module .URDF_PATH )
59+ robot = pybullet .loadURDF (module .URDF_PATH , ** kwargs )
5060 return robot
You can’t perform that action at this time.
0 commit comments