jaxsim 0.5.1.dev160__py3-none-any.whl → 0.5.1.dev162__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
jaxsim/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.5.1.dev160'
16
- __version_tuple__ = version_tuple = (0, 5, 1, 'dev160')
15
+ __version__ = version = '0.5.1.dev162'
16
+ __version_tuple__ = version_tuple = (0, 5, 1, 'dev162')
@@ -184,21 +184,16 @@ def extract_model_data(
184
184
  msg = "Found more/less than one joint connecting a fixed-base model to the world"
185
185
  raise ValueError(msg + f": {[j.name for j in joints_with_world_parent]}")
186
186
 
187
+ base_link_name = joints_with_world_parent[0].child.name
188
+
187
189
  msg = "Combining the pose of base link '{}' with the pose of joint '{}'"
188
- logging.info(
189
- msg.format(
190
- joints_with_world_parent[0].child.name, joints_with_world_parent[0].name
191
- )
192
- )
190
+ logging.info(msg.format(base_link_name, joints_with_world_parent[0].name))
193
191
 
194
192
  # Combine the pose of the base link (child of the found fixed joint)
195
193
  # with the pose of the fixed joint connecting with the world.
196
194
  # Note: we assume it's a fixed joint and ignore any joint angle.
197
- links_dict[joints_with_world_parent[0].child.name].mutable(
198
- validate=False
199
- ).pose = (
200
- joints_with_world_parent[0].pose
201
- @ links_dict[joints_with_world_parent[0].child.name].pose
195
+ links_dict[base_link_name].mutable(validate=False).pose = (
196
+ joints_with_world_parent[0].pose @ links_dict[base_link_name].pose
202
197
  )
203
198
 
204
199
  # ============
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: jaxsim
3
- Version: 0.5.1.dev160
3
+ Version: 0.5.1.dev162
4
4
  Summary: A differentiable physics engine and multibody dynamics library for control and robot learning.
5
5
  Author-email: Diego Ferigo <dgferigo@gmail.com>, Filippo Luca Ferretti <filippoluca.ferretti@outlook.com>
6
6
  Maintainer-email: Filippo Luca Ferretti <filippo.ferretti@iit.it>, Alessandro Croci <alessandro.croci@iit.it>
@@ -1,5 +1,5 @@
1
1
  jaxsim/__init__.py,sha256=_8rbKOf3bwx-2ChEbspZxs_rZY0RqUcmWAftnEw1bfM,3401
2
- jaxsim/_version.py,sha256=LFzsk7IuMCWjONW-0TMiOLJ2B9UR9fM3LGiij2F17N4,428
2
+ jaxsim/_version.py,sha256=8QuGLnqz-kXxxCP-wBdBXg6CoA7Wuusf_61wf2qVq2s,428
3
3
  jaxsim/exceptions.py,sha256=qjfTjE9lXvD3-JCPQcxxiX2XSS8QegawzQ6ZuC2tc0Y,2638
4
4
  jaxsim/logging.py,sha256=STI-D_upXZYX-ZezLrlJJ0UlD5YspST0vZ_DcIwkzO4,1553
5
5
  jaxsim/typing.py,sha256=7msl8t5Jt09RNYfKdPJtpjLfWurldcycDappb045Eso,761
@@ -45,7 +45,7 @@ jaxsim/parsers/descriptions/link.py,sha256=Eh0W5qL7_Uw0GV-BkNKXhm9Q2dRTfIWCX5D-8
45
45
  jaxsim/parsers/descriptions/model.py,sha256=G7nYy4CTppj2NM7hTXP6xGJ2h5dwT41N1fsy0EYSIBk,9860
46
46
  jaxsim/parsers/rod/__init__.py,sha256=G2vqlLajBLUc4gyzXwsEI2Wsi4TMOIF9bLDFeT6KrGU,92
47
47
  jaxsim/parsers/rod/meshes.py,sha256=yAXefG73_zqbVKRUdlcz9yFmypjDIpiP9cO96PeAozE,2842
48
- jaxsim/parsers/rod/parser.py,sha256=9s2wImok8X-s6F8nPFq2vVZ2Ph_o6Q0q9c-HrZ0Z6LU,14498
48
+ jaxsim/parsers/rod/parser.py,sha256=2AxRimQeYHHrdWLJrzXxPX9TUMOhuv10lqptfvG6wMQ,14405
49
49
  jaxsim/parsers/rod/utils.py,sha256=Wb1TsZ2v0VgmswYqI5hHRtGQx4ttWK8luWO9cvllTEk,8117
50
50
  jaxsim/rbda/__init__.py,sha256=kmy4G9aMkrqPNGdLSaSV3k15dpF52vBEUQXDFDuKIxU,337
51
51
  jaxsim/rbda/aba.py,sha256=w7ciyxB0IsmueatT0C7PcBQEl9dyiH9oqJgIi3xeTUE,8983
@@ -67,8 +67,8 @@ jaxsim/utils/__init__.py,sha256=Y5zyoRevl3EMVQadhZ4EtSwTEkDt2vcnFoRhPJjKTZ0,215
67
67
  jaxsim/utils/jaxsim_dataclass.py,sha256=Fxa555u14VUsVlKU1rBQFurrVzBp7BNsIaVoNko0lrI,11261
68
68
  jaxsim/utils/tracing.py,sha256=Btwxdfhb7fJLk3r5PlQkGYj60Y2KbFT1gANGIA697FU,530
69
69
  jaxsim/utils/wrappers.py,sha256=3IMwydqFgmSPqeuUQ3PRmdhDc1IoT6XC23jPC_LjWXs,4175
70
- jaxsim-0.5.1.dev160.dist-info/LICENSE,sha256=eaYdFmdeMbiIoIiPzEK0MjP1S9wtFXjXNR5er49uLR0,1546
71
- jaxsim-0.5.1.dev160.dist-info/METADATA,sha256=zujfy9xVKXUkRBBa-5weqc0q8Xy-dEEgIqjyZzidR9A,20201
72
- jaxsim-0.5.1.dev160.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
73
- jaxsim-0.5.1.dev160.dist-info/top_level.txt,sha256=LxGMA8FLtXjQ6oI7N5gd_R_oSUHxpXxUEOfT1xS_ni0,7
74
- jaxsim-0.5.1.dev160.dist-info/RECORD,,
70
+ jaxsim-0.5.1.dev162.dist-info/LICENSE,sha256=eaYdFmdeMbiIoIiPzEK0MjP1S9wtFXjXNR5er49uLR0,1546
71
+ jaxsim-0.5.1.dev162.dist-info/METADATA,sha256=wTvjnAVIQsrTkLMobZelHHT00X4EEGn85JfeLx9MTi0,20201
72
+ jaxsim-0.5.1.dev162.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
73
+ jaxsim-0.5.1.dev162.dist-info/top_level.txt,sha256=LxGMA8FLtXjQ6oI7N5gd_R_oSUHxpXxUEOfT1xS_ni0,7
74
+ jaxsim-0.5.1.dev162.dist-info/RECORD,,