jaxsim 0.4.3.dev28__py3-none-any.whl → 0.4.3.dev31__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 +2 -2
- jaxsim/parsers/rod/parser.py +18 -14
- {jaxsim-0.4.3.dev28.dist-info → jaxsim-0.4.3.dev31.dist-info}/METADATA +1 -1
- {jaxsim-0.4.3.dev28.dist-info → jaxsim-0.4.3.dev31.dist-info}/RECORD +7 -7
- {jaxsim-0.4.3.dev28.dist-info → jaxsim-0.4.3.dev31.dist-info}/LICENSE +0 -0
- {jaxsim-0.4.3.dev28.dist-info → jaxsim-0.4.3.dev31.dist-info}/WHEEL +0 -0
- {jaxsim-0.4.3.dev28.dist-info → jaxsim-0.4.3.dev31.dist-info}/top_level.txt +0 -0
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.4.3.
|
16
|
-
__version_tuple__ = version_tuple = (0, 4, 3, '
|
15
|
+
__version__ = version = '0.4.3.dev31'
|
16
|
+
__version_tuple__ = version_tuple = (0, 4, 3, 'dev31')
|
jaxsim/parsers/rod/parser.py
CHANGED
@@ -223,7 +223,7 @@ def extract_model_data(
|
|
223
223
|
child=links_dict[j.child],
|
224
224
|
jtype=utils.joint_to_joint_type(joint=j),
|
225
225
|
axis=(
|
226
|
-
np.array(j.axis.xyz.xyz)
|
226
|
+
np.array(j.axis.xyz.xyz, dtype=float)
|
227
227
|
if j.axis is not None
|
228
228
|
and j.axis.xyz is not None
|
229
229
|
and j.axis.xyz.xyz is not None
|
@@ -232,39 +232,43 @@ def extract_model_data(
|
|
232
232
|
pose=j.pose.transform() if j.pose is not None else np.eye(4),
|
233
233
|
initial_position=0.0,
|
234
234
|
position_limit=(
|
235
|
-
(
|
236
|
-
|
237
|
-
if j.axis is not None
|
238
|
-
|
235
|
+
float(
|
236
|
+
j.axis.limit.lower
|
237
|
+
if j.axis is not None
|
238
|
+
and j.axis.limit is not None
|
239
|
+
and j.axis.limit.lower is not None
|
240
|
+
else jnp.finfo(float).min
|
239
241
|
),
|
240
|
-
(
|
241
|
-
|
242
|
-
if j.axis is not None
|
243
|
-
|
242
|
+
float(
|
243
|
+
j.axis.limit.upper
|
244
|
+
if j.axis is not None
|
245
|
+
and j.axis.limit is not None
|
246
|
+
and j.axis.limit.upper is not None
|
247
|
+
else jnp.finfo(float).max
|
244
248
|
),
|
245
249
|
),
|
246
|
-
friction_static=(
|
250
|
+
friction_static=float(
|
247
251
|
j.axis.dynamics.friction
|
248
252
|
if j.axis is not None
|
249
253
|
and j.axis.dynamics is not None
|
250
254
|
and j.axis.dynamics.friction is not None
|
251
255
|
else 0.0
|
252
256
|
),
|
253
|
-
friction_viscous=(
|
257
|
+
friction_viscous=float(
|
254
258
|
j.axis.dynamics.damping
|
255
259
|
if j.axis is not None
|
256
260
|
and j.axis.dynamics is not None
|
257
261
|
and j.axis.dynamics.damping is not None
|
258
262
|
else 0.0
|
259
263
|
),
|
260
|
-
position_limit_damper=(
|
264
|
+
position_limit_damper=float(
|
261
265
|
j.axis.limit.dissipation
|
262
266
|
if j.axis is not None
|
263
267
|
and j.axis.limit is not None
|
264
268
|
and j.axis.limit.dissipation is not None
|
265
269
|
else 0.0
|
266
270
|
),
|
267
|
-
position_limit_spring=(
|
271
|
+
position_limit_spring=float(
|
268
272
|
j.axis.limit.stiffness
|
269
273
|
if j.axis is not None
|
270
274
|
and j.axis.limit is not None
|
@@ -273,7 +277,7 @@ def extract_model_data(
|
|
273
277
|
),
|
274
278
|
)
|
275
279
|
for j in sdf_model.joints()
|
276
|
-
if j.type in {"revolute", "prismatic", "fixed"}
|
280
|
+
if j.type in {"revolute", "continuous", "prismatic", "fixed"}
|
277
281
|
and j.parent != "world"
|
278
282
|
and j.child in links_dict.keys()
|
279
283
|
]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: jaxsim
|
3
|
-
Version: 0.4.3.
|
3
|
+
Version: 0.4.3.dev31
|
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>
|
6
6
|
Maintainer-email: Diego Ferigo <dgferigo@gmail.com>, Filippo Luca Ferretti <filippo.ferretti@iit.it>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
jaxsim/__init__.py,sha256=bSbpggIz5aG6QuGZLa0V2EfHjAOeucMxi-vIYxzLmN8,2788
|
2
|
-
jaxsim/_version.py,sha256=
|
2
|
+
jaxsim/_version.py,sha256=J3LwBUFVVgKt400akbPS_UHFGRkurLsRFlpfwhbZGfc,426
|
3
3
|
jaxsim/exceptions.py,sha256=8_h8iqL8DgNR754dR8SZiQ7361GR5V1sUk3ZuZCHw1Q,2069
|
4
4
|
jaxsim/logging.py,sha256=STI-D_upXZYX-ZezLrlJJ0UlD5YspST0vZ_DcIwkzO4,1553
|
5
5
|
jaxsim/typing.py,sha256=IbFx3UkEXi-cm7UBqMPi58rJAFV_HbZ9E_K4JwfNvVM,753
|
@@ -42,7 +42,7 @@ jaxsim/parsers/descriptions/joint.py,sha256=VSb6C0FBBKMqwrHBKfc-Bbn4rl_J0RzUxMQl
|
|
42
42
|
jaxsim/parsers/descriptions/link.py,sha256=Eh0W5qL7_Uw0GV-BkNKXhm9Q2dRTfIWCX5D-87zQkxA,3711
|
43
43
|
jaxsim/parsers/descriptions/model.py,sha256=I2Vsbv8Josl4Le7b5rIvhqA2k9Bbv5JxMqwytayxds0,9833
|
44
44
|
jaxsim/parsers/rod/__init__.py,sha256=G2vqlLajBLUc4gyzXwsEI2Wsi4TMOIF9bLDFeT6KrGU,92
|
45
|
-
jaxsim/parsers/rod/parser.py,sha256=
|
45
|
+
jaxsim/parsers/rod/parser.py,sha256=9EigYv2oGn4bfIY1q0Cd_55yVKfN2rXP_MuZSZqGxYM,13681
|
46
46
|
jaxsim/parsers/rod/utils.py,sha256=5DsF3OeePZGidOJ5GiFSZx-51uIdnFvMW9EK6SgOW6Q,5698
|
47
47
|
jaxsim/rbda/__init__.py,sha256=H7DhXpxkPOi9lpUvg31IMHFfRafke1UoJLc5GQIdyhA,387
|
48
48
|
jaxsim/rbda/aba.py,sha256=w7ciyxB0IsmueatT0C7PcBQEl9dyiH9oqJgIi3xeTUE,8983
|
@@ -62,8 +62,8 @@ jaxsim/utils/__init__.py,sha256=Y5zyoRevl3EMVQadhZ4EtSwTEkDt2vcnFoRhPJjKTZ0,215
|
|
62
62
|
jaxsim/utils/jaxsim_dataclass.py,sha256=5xJbY0G8d7C0OTNIW9T4vQxiDak6TGZT9gpNOvRykFI,11373
|
63
63
|
jaxsim/utils/tracing.py,sha256=KDMoyVPlu2NJvFkhtZwq5AkqMMgajt3munvJom-vEjQ,650
|
64
64
|
jaxsim/utils/wrappers.py,sha256=JhLUh1g8iU-lhjbuZRfkscPZhYlLCOorVM2Xl3ulRBI,4054
|
65
|
-
jaxsim-0.4.3.
|
66
|
-
jaxsim-0.4.3.
|
67
|
-
jaxsim-0.4.3.
|
68
|
-
jaxsim-0.4.3.
|
69
|
-
jaxsim-0.4.3.
|
65
|
+
jaxsim-0.4.3.dev31.dist-info/LICENSE,sha256=eaYdFmdeMbiIoIiPzEK0MjP1S9wtFXjXNR5er49uLR0,1546
|
66
|
+
jaxsim-0.4.3.dev31.dist-info/METADATA,sha256=6dwVfUvgQY8Mgd7wghQuOITOPPqAviKo7rkiB7kq3IE,17247
|
67
|
+
jaxsim-0.4.3.dev31.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
68
|
+
jaxsim-0.4.3.dev31.dist-info/top_level.txt,sha256=LxGMA8FLtXjQ6oI7N5gd_R_oSUHxpXxUEOfT1xS_ni0,7
|
69
|
+
jaxsim-0.4.3.dev31.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|