jaxsim 0.3.1.dev56__py3-none-any.whl → 0.3.1.dev59__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/api/contact.py +9 -9
- {jaxsim-0.3.1.dev56.dist-info → jaxsim-0.3.1.dev59.dist-info}/METADATA +1 -1
- {jaxsim-0.3.1.dev56.dist-info → jaxsim-0.3.1.dev59.dist-info}/RECORD +7 -7
- {jaxsim-0.3.1.dev56.dist-info → jaxsim-0.3.1.dev59.dist-info}/LICENSE +0 -0
- {jaxsim-0.3.1.dev56.dist-info → jaxsim-0.3.1.dev59.dist-info}/WHEEL +0 -0
- {jaxsim-0.3.1.dev56.dist-info → jaxsim-0.3.1.dev59.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.3.1.
|
16
|
-
__version_tuple__ = version_tuple = (0, 3, 1, '
|
15
|
+
__version__ = version = '0.3.1.dev59'
|
16
|
+
__version_tuple__ = version_tuple = (0, 3, 1, 'dev59')
|
jaxsim/api/contact.py
CHANGED
@@ -351,17 +351,17 @@ def jacobian(
|
|
351
351
|
output_vel_repr if output_vel_repr is not None else data.velocity_representation
|
352
352
|
)
|
353
353
|
|
354
|
-
#
|
354
|
+
# Compute the Jacobians of all links.
|
355
|
+
W_J_WL = js.model.generalized_free_floating_jacobian(
|
356
|
+
model=model, data=data, output_vel_repr=VelRepr.Inertial
|
357
|
+
)
|
358
|
+
|
359
|
+
# Compute the contact Jacobian.
|
355
360
|
# In inertial-fixed output representation, the Jacobian of the parent link is also
|
356
361
|
# the Jacobian of the frame C implicitly associated with the collidable point.
|
357
|
-
W_J_WC =
|
358
|
-
|
359
|
-
|
360
|
-
data=data,
|
361
|
-
link_index=parent_link_idx,
|
362
|
-
output_vel_repr=VelRepr.Inertial,
|
363
|
-
)
|
364
|
-
)(jnp.array(model.kin_dyn_parameters.contact_parameters.body, dtype=int))
|
362
|
+
W_J_WC = jax.vmap(lambda parent_link_idx: W_J_WL[parent_link_idx])(
|
363
|
+
jnp.array(model.kin_dyn_parameters.contact_parameters.body, dtype=int)
|
364
|
+
)
|
365
365
|
|
366
366
|
# Adjust the output representation.
|
367
367
|
match output_vel_repr:
|
@@ -1,12 +1,12 @@
|
|
1
1
|
jaxsim/__init__.py,sha256=xzuTuZrgKdWLqqDzbvqzm2cJrEtAbepOeUqDu7ByVek,2621
|
2
|
-
jaxsim/_version.py,sha256=
|
2
|
+
jaxsim/_version.py,sha256=9RBh91xKzmW5SPGSy_GvsbJGkMtuxxAD0Agm7T9g5gI,426
|
3
3
|
jaxsim/exceptions.py,sha256=8_h8iqL8DgNR754dR8SZiQ7361GR5V1sUk3ZuZCHw1Q,2069
|
4
4
|
jaxsim/logging.py,sha256=c4zhwBKf9eAYAHVp62kTEllqdsZgh0K-kPKVy8L3elU,1584
|
5
5
|
jaxsim/typing.py,sha256=cl7HHQCeP3mHmtF6EuQZcCjGvDmc_AryMWntP_lRBGg,722
|
6
6
|
jaxsim/api/__init__.py,sha256=8eV22t2S3UwNyCg8karPetG1dmX1VDBXkyv28_FwNQA,210
|
7
7
|
jaxsim/api/com.py,sha256=Yof6otFi-mLWAs1rqjmeNJTOWIH9gn7BdU5EIjiL6Ts,13481
|
8
8
|
jaxsim/api/common.py,sha256=bqQ__pIQZbh-j8rkoHUkYHAgGiJnDzjHG-q4Ny0OOYQ,6646
|
9
|
-
jaxsim/api/contact.py,sha256=
|
9
|
+
jaxsim/api/contact.py,sha256=dQYmwsypUGlDaKr9yyFXgpu-mekA23Prg3t9UdJn9iM,13120
|
10
10
|
jaxsim/api/data.py,sha256=oAJ2suPeQLQZGpHZi98g6UZp1VcoDtuqT_aZBpynA30,27582
|
11
11
|
jaxsim/api/frame.py,sha256=m_waB9_0kgJq5miiZDXdRzIZii-BwQaN9bRt22JkJ1I,7212
|
12
12
|
jaxsim/api/joint.py,sha256=Pvg_It2iYA-jAQ2nOlFZxwmITiozO_f46G13BdQtHQ0,5106
|
@@ -61,8 +61,8 @@ jaxsim/utils/__init__.py,sha256=Y5zyoRevl3EMVQadhZ4EtSwTEkDt2vcnFoRhPJjKTZ0,215
|
|
61
61
|
jaxsim/utils/jaxsim_dataclass.py,sha256=h26timZ_XrBL_Q_oymv-DkQd-EcUiHn8QexAaZXBY9c,11396
|
62
62
|
jaxsim/utils/tracing.py,sha256=KDMoyVPlu2NJvFkhtZwq5AkqMMgajt3munvJom-vEjQ,650
|
63
63
|
jaxsim/utils/wrappers.py,sha256=QIJitSoljrKR_U4T3ewCJPT3DTh-tPZsRsg0t_MH93E,3896
|
64
|
-
jaxsim-0.3.1.
|
65
|
-
jaxsim-0.3.1.
|
66
|
-
jaxsim-0.3.1.
|
67
|
-
jaxsim-0.3.1.
|
68
|
-
jaxsim-0.3.1.
|
64
|
+
jaxsim-0.3.1.dev59.dist-info/LICENSE,sha256=eaYdFmdeMbiIoIiPzEK0MjP1S9wtFXjXNR5er49uLR0,1546
|
65
|
+
jaxsim-0.3.1.dev59.dist-info/METADATA,sha256=YMJqmKV3xDMW9oIxhK_QqsRy-LHPCet4vSqrDsP3ZF8,9739
|
66
|
+
jaxsim-0.3.1.dev59.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
|
67
|
+
jaxsim-0.3.1.dev59.dist-info/top_level.txt,sha256=LxGMA8FLtXjQ6oI7N5gd_R_oSUHxpXxUEOfT1xS_ni0,7
|
68
|
+
jaxsim-0.3.1.dev59.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|