jaxsim 0.8.2.dev35__py3-none-any.whl → 0.8.3.dev20__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 +8 -18
- jaxsim/api/integrators.py +4 -4
- jaxsim/api/kin_dyn_parameters.py +9 -8
- jaxsim/api/model.py +29 -25
- jaxsim/mujoco/__main__.py +2 -15
- jaxsim/mujoco/loaders.py +4 -5
- jaxsim/mujoco/model.py +1 -1
- jaxsim/mujoco/utils.py +1 -1
- jaxsim/parsers/descriptions/model.py +6 -6
- jaxsim/parsers/kinematic_graph.py +3 -3
- jaxsim/rbda/contacts/rigid.py +1 -1
- jaxsim/rbda/contacts/soft.py +1 -1
- jaxsim/rbda/kinematic_constraints.py +1 -1
- jaxsim/utils/jaxsim_dataclass.py +8 -8
- {jaxsim-0.8.2.dev35.dist-info → jaxsim-0.8.3.dev20.dist-info}/METADATA +11 -10
- {jaxsim-0.8.2.dev35.dist-info → jaxsim-0.8.3.dev20.dist-info}/RECORD +19 -19
- {jaxsim-0.8.2.dev35.dist-info → jaxsim-0.8.3.dev20.dist-info}/WHEEL +1 -1
- {jaxsim-0.8.2.dev35.dist-info → jaxsim-0.8.3.dev20.dist-info}/licenses/LICENSE +0 -0
- {jaxsim-0.8.2.dev35.dist-info → jaxsim-0.8.3.dev20.dist-info}/top_level.txt +0 -0
jaxsim/_version.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
# file generated by
|
|
1
|
+
# file generated by vcs-versioning
|
|
2
2
|
# don't change, don't track in version control
|
|
3
|
+
from __future__ import annotations
|
|
3
4
|
|
|
4
5
|
__all__ = [
|
|
5
6
|
"__version__",
|
|
@@ -10,25 +11,14 @@ __all__ = [
|
|
|
10
11
|
"commit_id",
|
|
11
12
|
]
|
|
12
13
|
|
|
13
|
-
TYPE_CHECKING = False
|
|
14
|
-
if TYPE_CHECKING:
|
|
15
|
-
from typing import Tuple
|
|
16
|
-
from typing import Union
|
|
17
|
-
|
|
18
|
-
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
19
|
-
COMMIT_ID = Union[str, None]
|
|
20
|
-
else:
|
|
21
|
-
VERSION_TUPLE = object
|
|
22
|
-
COMMIT_ID = object
|
|
23
|
-
|
|
24
14
|
version: str
|
|
25
15
|
__version__: str
|
|
26
|
-
__version_tuple__:
|
|
27
|
-
version_tuple:
|
|
28
|
-
commit_id:
|
|
29
|
-
__commit_id__:
|
|
16
|
+
__version_tuple__: tuple[int | str, ...]
|
|
17
|
+
version_tuple: tuple[int | str, ...]
|
|
18
|
+
commit_id: str | None
|
|
19
|
+
__commit_id__: str | None
|
|
30
20
|
|
|
31
|
-
__version__ = version = '0.8.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 8,
|
|
21
|
+
__version__ = version = '0.8.3.dev20'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 8, 3, 'dev20')
|
|
33
23
|
|
|
34
24
|
__commit_id__ = commit_id = None
|
jaxsim/api/integrators.py
CHANGED
|
@@ -137,10 +137,10 @@ def rk4_integration(
|
|
|
137
137
|
# Average the slopes and compute the RK4 state derivative.
|
|
138
138
|
average = lambda k1, k2, k3, k4: (k1 + 2 * k2 + 2 * k3 + k4) / 6
|
|
139
139
|
|
|
140
|
-
dxdt = jax.
|
|
140
|
+
dxdt = jax.tree.map(average, k1, k2, k3, k4)
|
|
141
141
|
|
|
142
142
|
# Integrate the dynamics
|
|
143
|
-
x_tf = jax.
|
|
143
|
+
x_tf = jax.tree.map(euler_fin, x_t0, dxdt)
|
|
144
144
|
|
|
145
145
|
data_tf = dataclasses.replace(
|
|
146
146
|
data,
|
|
@@ -244,10 +244,10 @@ def rk4fast_integration(
|
|
|
244
244
|
# Average the slopes and compute the RK4 state derivative.
|
|
245
245
|
average = lambda k1, k2, k3, k4: (k1 + 2 * k2 + 2 * k3 + k4) / 6
|
|
246
246
|
|
|
247
|
-
dxdt = jax.
|
|
247
|
+
dxdt = jax.tree.map(average, k1, k2, k3, k4)
|
|
248
248
|
|
|
249
249
|
# Integrate the dynamics
|
|
250
|
-
x_tf = jax.
|
|
250
|
+
x_tf = jax.tree.map(euler_fin, x_t0, dxdt)
|
|
251
251
|
|
|
252
252
|
data_tf = dataclasses.replace(
|
|
253
253
|
data,
|
jaxsim/api/kin_dyn_parameters.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import dataclasses
|
|
4
|
+
from itertools import starmap
|
|
4
5
|
from typing import ClassVar
|
|
5
6
|
|
|
6
7
|
import jax.lax
|
|
@@ -143,7 +144,7 @@ class KinDynParameters(JaxsimDataclass):
|
|
|
143
144
|
# Create a vectorized object of joint parameters.
|
|
144
145
|
joint_parameters = (
|
|
145
146
|
jax.tree.map(lambda *l: jnp.stack(l), *joint_parameters_list)
|
|
146
|
-
if
|
|
147
|
+
if ordered_joints
|
|
147
148
|
else JointParameters(
|
|
148
149
|
index=jnp.array([], dtype=int),
|
|
149
150
|
friction_static=jnp.array([], dtype=float),
|
|
@@ -245,14 +246,14 @@ class KinDynParameters(JaxsimDataclass):
|
|
|
245
246
|
|
|
246
247
|
return S[joint_type]
|
|
247
248
|
|
|
248
|
-
S_J = (
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
motion_subspace
|
|
252
|
-
|
|
249
|
+
S_J = jnp.array(
|
|
250
|
+
list(
|
|
251
|
+
starmap(
|
|
252
|
+
motion_subspace,
|
|
253
|
+
zip(
|
|
253
254
|
joint_model.joint_types[1:], joint_model.joint_axis, strict=True
|
|
254
|
-
)
|
|
255
|
-
|
|
255
|
+
),
|
|
256
|
+
)
|
|
256
257
|
)
|
|
257
258
|
if len(joint_model.joint_axis) != 0
|
|
258
259
|
else jnp.empty((0, 6, 1))
|
jaxsim/api/model.py
CHANGED
|
@@ -415,7 +415,7 @@ class JaxSimModel(JaxsimDataclass):
|
|
|
415
415
|
if not jnp.allclose(
|
|
416
416
|
self.kin_dyn_parameters.joint_model.suc_H_i[link_index],
|
|
417
417
|
jnp.eye(4),
|
|
418
|
-
**(dict(atol=1e-6) if not jax.config.jax_enable_x64 else
|
|
418
|
+
**(dict(atol=1e-6) if not jax.config.jax_enable_x64 else {}),
|
|
419
419
|
):
|
|
420
420
|
logging.debug(
|
|
421
421
|
f"Skipping link '{link_name}' for hardware parametrization due to unsupported suc_H_link."
|
|
@@ -578,38 +578,42 @@ class JaxSimModel(JaxsimDataclass):
|
|
|
578
578
|
inertia_tensor=inertia_tensor, validate=True
|
|
579
579
|
)
|
|
580
580
|
|
|
581
|
-
# Update
|
|
581
|
+
# Update visuals and collisions
|
|
582
582
|
dims = hw_metadata.geometry[link_index]
|
|
583
|
-
if shape == LinkParametrizableShape.Box:
|
|
584
|
-
links_dict[link_name].visual.geometry.box.size = dims.tolist()
|
|
585
|
-
links_dict[link_name].collision.geometry.box.size = dims.tolist()
|
|
586
|
-
elif shape == LinkParametrizableShape.Sphere:
|
|
587
|
-
links_dict[link_name].visual.geometry.sphere.radius = float(dims[0])
|
|
588
|
-
links_dict[link_name].collision.geometry.sphere.radius = float(dims[0])
|
|
589
|
-
elif shape == LinkParametrizableShape.Cylinder:
|
|
590
|
-
links_dict[link_name].visual.geometry.cylinder.radius = float(dims[0])
|
|
591
|
-
links_dict[link_name].visual.geometry.cylinder.length = float(dims[1])
|
|
592
|
-
links_dict[link_name].collision.geometry.cylinder.radius = float(
|
|
593
|
-
dims[0]
|
|
594
|
-
)
|
|
595
|
-
links_dict[link_name].collision.geometry.cylinder.length = float(
|
|
596
|
-
dims[1]
|
|
597
|
-
)
|
|
598
|
-
else:
|
|
599
|
-
logging.debug(f"Skipping unsupported shape for link '{link_name}'")
|
|
600
|
-
continue
|
|
601
583
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
relative_to=link_name,
|
|
584
|
+
elements_to_update = (
|
|
585
|
+
links_dict[link_name].visual,
|
|
586
|
+
links_dict[link_name].collision,
|
|
606
587
|
)
|
|
607
588
|
|
|
608
|
-
|
|
589
|
+
element_pose = rod.Pose.from_transform(
|
|
609
590
|
transform=np.array(hw_metadata.L_H_vis[link_index]),
|
|
610
591
|
relative_to=link_name,
|
|
611
592
|
)
|
|
612
593
|
|
|
594
|
+
for element in elements_to_update:
|
|
595
|
+
if element is None:
|
|
596
|
+
continue
|
|
597
|
+
|
|
598
|
+
# Update geometry
|
|
599
|
+
if shape == LinkParametrizableShape.Box:
|
|
600
|
+
element.geometry.box.size = dims.tolist()
|
|
601
|
+
elif shape == LinkParametrizableShape.Sphere:
|
|
602
|
+
element.geometry.sphere.radius = float(dims[0])
|
|
603
|
+
elif shape == LinkParametrizableShape.Cylinder:
|
|
604
|
+
element.geometry.cylinder.radius = float(dims[0])
|
|
605
|
+
element.geometry.cylinder.length = float(dims[1])
|
|
606
|
+
else:
|
|
607
|
+
# This branch should be unreachable. Unsupported shapes should be
|
|
608
|
+
# filtered out above.
|
|
609
|
+
raise RuntimeError(
|
|
610
|
+
f"Unexpected shape {shape} for link '{link_name}'. "
|
|
611
|
+
"This should never be hit."
|
|
612
|
+
)
|
|
613
|
+
|
|
614
|
+
# Update pose
|
|
615
|
+
element.pose = element_pose
|
|
616
|
+
|
|
613
617
|
# Update joint poses
|
|
614
618
|
for joint_index in range(self.number_of_joints()):
|
|
615
619
|
if hw_metadata.L_H_pre_mask[link_index, joint_index]:
|
jaxsim/mujoco/__main__.py
CHANGED
|
@@ -5,7 +5,7 @@ import time
|
|
|
5
5
|
|
|
6
6
|
import numpy as np
|
|
7
7
|
|
|
8
|
-
from . import MujocoModelHelper, MujocoVisualizer
|
|
8
|
+
from . import ModelToMjcf, MujocoModelHelper, MujocoVisualizer
|
|
9
9
|
|
|
10
10
|
if __name__ == "__main__":
|
|
11
11
|
|
|
@@ -129,20 +129,7 @@ if __name__ == "__main__":
|
|
|
129
129
|
# Load the URDF/SDF file and produce a MJCF string
|
|
130
130
|
# ================================================
|
|
131
131
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
case "urdf":
|
|
135
|
-
mjcf_string, assets = UrdfToMjcf().convert(urdf=args.description)
|
|
136
|
-
|
|
137
|
-
case "sdf":
|
|
138
|
-
mjcf_string, assets = SdfToMjcf().convert(
|
|
139
|
-
sdf=args.description, model_name=args.model_name
|
|
140
|
-
)
|
|
141
|
-
|
|
142
|
-
case _:
|
|
143
|
-
msg = f"The file extension '{args.description.suffix}' is not supported."
|
|
144
|
-
parser.error(msg)
|
|
145
|
-
sys.exit(1)
|
|
132
|
+
mjcf_string, assets = ModelToMjcf.convert(args.description)
|
|
146
133
|
|
|
147
134
|
if args.print:
|
|
148
135
|
print(mjcf_string, flush=True)
|
jaxsim/mujoco/loaders.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import os
|
|
2
1
|
import pathlib
|
|
3
2
|
import tempfile
|
|
4
3
|
import warnings
|
|
@@ -257,7 +256,7 @@ class RodModelToMjcf:
|
|
|
257
256
|
|
|
258
257
|
# If considered joints are passed, make sure that they are all part of the model.
|
|
259
258
|
if considered_joints - {j.name for j in rod_model.joints()}:
|
|
260
|
-
extra_joints =
|
|
259
|
+
extra_joints = considered_joints - {j.name for j in rod_model.joints()}
|
|
261
260
|
|
|
262
261
|
msg = f"Couldn't find the following joints in the model: '{extra_joints}'"
|
|
263
262
|
raise ValueError(msg)
|
|
@@ -374,7 +373,7 @@ class RodModelToMjcf:
|
|
|
374
373
|
tree = ET.parse(source=temp_filename, parser=parser)
|
|
375
374
|
|
|
376
375
|
finally:
|
|
377
|
-
|
|
376
|
+
pathlib.Path(temp_filename).unlink()
|
|
378
377
|
|
|
379
378
|
# Get the root element.
|
|
380
379
|
root: ET._Element = tree.getroot()
|
|
@@ -502,8 +501,8 @@ class RodModelToMjcf:
|
|
|
502
501
|
asset_element,
|
|
503
502
|
"hfield",
|
|
504
503
|
name="terrain",
|
|
505
|
-
nrow=
|
|
506
|
-
ncol=
|
|
504
|
+
nrow=str(int(heightmap_samples_xy[0])),
|
|
505
|
+
ncol=str(int(heightmap_samples_xy[1])),
|
|
507
506
|
# The following 'size' is a placeholder, it is updated dynamically
|
|
508
507
|
# when a hfield/heightmap is stored into MjData.
|
|
509
508
|
size="1 1 1 1",
|
jaxsim/mujoco/model.py
CHANGED
jaxsim/mujoco/utils.py
CHANGED
|
@@ -218,7 +218,7 @@ class MujocoCamera:
|
|
|
218
218
|
return MujocoCamera.build(
|
|
219
219
|
name=camera_name,
|
|
220
220
|
mode=mode,
|
|
221
|
-
fovy=
|
|
221
|
+
fovy=str(fovy if degrees else np.rad2deg(fovy)),
|
|
222
222
|
pos=" ".join(p.astype(str).tolist()),
|
|
223
223
|
quat=" ".join(Q.astype(str).tolist()),
|
|
224
224
|
**kwargs,
|
|
@@ -87,11 +87,11 @@ class ModelDescription(KinematicGraph):
|
|
|
87
87
|
# lumped link that replace the combination of the removed link and its parent.
|
|
88
88
|
for collision_shape in collisions:
|
|
89
89
|
|
|
90
|
-
# Get all the collidable points of the shape
|
|
91
|
-
coll_points = tuple(collision_shape.collidable_points)
|
|
92
|
-
|
|
93
90
|
# Assume they have an unique parent link
|
|
94
|
-
if
|
|
91
|
+
if (
|
|
92
|
+
len({cp.parent_link.name for cp in collision_shape.collidable_points})
|
|
93
|
+
!= 1
|
|
94
|
+
):
|
|
95
95
|
msg = "Collision shape not currently supported (multiple parent links)"
|
|
96
96
|
raise RuntimeError(msg)
|
|
97
97
|
|
|
@@ -171,7 +171,7 @@ class ModelDescription(KinematicGraph):
|
|
|
171
171
|
"order of the joints, or use the `joint_names()` method to inspect the internal joint ordering."
|
|
172
172
|
)
|
|
173
173
|
|
|
174
|
-
if
|
|
174
|
+
if set(considered_joints) - set(self.joint_names()):
|
|
175
175
|
extra_joints = set(considered_joints) - set(self.joint_names())
|
|
176
176
|
msg = f"Found joints not part of the model: {extra_joints}"
|
|
177
177
|
raise ValueError(msg)
|
|
@@ -181,7 +181,7 @@ class ModelDescription(KinematicGraph):
|
|
|
181
181
|
links=list(self.links_dict.values()),
|
|
182
182
|
joints=self.joints,
|
|
183
183
|
frames=self.frames,
|
|
184
|
-
collisions=
|
|
184
|
+
collisions=self.collision_shapes,
|
|
185
185
|
fixed_base=self.fixed_base,
|
|
186
186
|
base_link_name=next(iter(self)).name,
|
|
187
187
|
model_pose=self.root_pose,
|
|
@@ -153,7 +153,7 @@ class KinematicGraph(Sequence[LinkDescription]):
|
|
|
153
153
|
# have last_link_idx + 1.
|
|
154
154
|
for index, frame in enumerate(self.frames):
|
|
155
155
|
with frame.mutable_context(mutability=Mutability.MUTABLE_NO_VALIDATION):
|
|
156
|
-
frame.index =
|
|
156
|
+
frame.index = index + len(self.link_names())
|
|
157
157
|
|
|
158
158
|
# Number joints so that their index matches their child link index.
|
|
159
159
|
# Therefore, the first joint has index 1.
|
|
@@ -406,7 +406,7 @@ class KinematicGraph(Sequence[LinkDescription]):
|
|
|
406
406
|
return copy.deepcopy(self)
|
|
407
407
|
|
|
408
408
|
# Check if all considered joints are part of the full kinematic graph
|
|
409
|
-
if
|
|
409
|
+
if set(considered_joints) - {j.name for j in full_graph.joints}:
|
|
410
410
|
extra_j = set(considered_joints) - {j.name for j in full_graph.joints}
|
|
411
411
|
msg = f"Not all joints to consider are part of the graph ({{{extra_j}}})"
|
|
412
412
|
raise ValueError(msg)
|
|
@@ -691,7 +691,7 @@ class KinematicGraph(Sequence[LinkDescription]):
|
|
|
691
691
|
|
|
692
692
|
yield root
|
|
693
693
|
|
|
694
|
-
while
|
|
694
|
+
while queue:
|
|
695
695
|
|
|
696
696
|
# Extract the first element of the queue.
|
|
697
697
|
l = queue.pop(0)
|
jaxsim/rbda/contacts/rigid.py
CHANGED
jaxsim/rbda/contacts/soft.py
CHANGED
|
@@ -13,7 +13,7 @@ from jaxsim.math.transform import Transform
|
|
|
13
13
|
|
|
14
14
|
# Utility functions used for constraints computation. These functions duplicate part of the jaxsim.api.frame module for computational efficiency.
|
|
15
15
|
# TODO: remove these functions when jaxsim.api.frame is optimized for batched computations.
|
|
16
|
-
# See: https://github.com/
|
|
16
|
+
# See: https://github.com/gbionics/jaxsim/issues/451
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
def _compute_constraint_transforms_batched(
|
jaxsim/utils/jaxsim_dataclass.py
CHANGED
|
@@ -80,7 +80,7 @@ class JaxsimDataclass(abc.ABC):
|
|
|
80
80
|
original_dtypes = JaxsimDataclass.get_leaf_dtypes(tree=self)
|
|
81
81
|
original_shapes = JaxsimDataclass.get_leaf_shapes(tree=self)
|
|
82
82
|
original_weak_types = JaxsimDataclass.get_leaf_weak_types(tree=self)
|
|
83
|
-
original_structure = jax.
|
|
83
|
+
original_structure = jax.tree.structure(tree=self)
|
|
84
84
|
|
|
85
85
|
def restore_self() -> None:
|
|
86
86
|
self.set_mutability(mutability=Mutability.MUTABLE_NO_VALIDATION)
|
|
@@ -92,7 +92,7 @@ class JaxsimDataclass(abc.ABC):
|
|
|
92
92
|
yield self
|
|
93
93
|
|
|
94
94
|
if mutability is not Mutability.MUTABLE_NO_VALIDATION:
|
|
95
|
-
new_structure = jax.
|
|
95
|
+
new_structure = jax.tree.structure(tree=self)
|
|
96
96
|
if original_structure != new_structure:
|
|
97
97
|
msg = "Pytree structure has changed from {} to {}"
|
|
98
98
|
raise ValueError(msg.format(original_structure, new_structure))
|
|
@@ -137,7 +137,7 @@ class JaxsimDataclass(abc.ABC):
|
|
|
137
137
|
return tuple(
|
|
138
138
|
map(
|
|
139
139
|
lambda leaf: getattr(leaf, "shape", None),
|
|
140
|
-
jax.
|
|
140
|
+
jax.tree.leaves(tree),
|
|
141
141
|
)
|
|
142
142
|
)
|
|
143
143
|
|
|
@@ -157,7 +157,7 @@ class JaxsimDataclass(abc.ABC):
|
|
|
157
157
|
return tuple(
|
|
158
158
|
map(
|
|
159
159
|
lambda leaf: getattr(leaf, "dtype", None),
|
|
160
|
-
jax.
|
|
160
|
+
jax.tree.leaves(tree),
|
|
161
161
|
)
|
|
162
162
|
)
|
|
163
163
|
|
|
@@ -176,7 +176,7 @@ class JaxsimDataclass(abc.ABC):
|
|
|
176
176
|
return tuple(
|
|
177
177
|
map(
|
|
178
178
|
lambda leaf: getattr(leaf, "weak_type", None),
|
|
179
|
-
jax.
|
|
179
|
+
jax.tree.leaves(tree),
|
|
180
180
|
)
|
|
181
181
|
)
|
|
182
182
|
|
|
@@ -192,11 +192,11 @@ class JaxsimDataclass(abc.ABC):
|
|
|
192
192
|
ValueError: If the PyTrees have incompatible structures, shapes, or dtypes.
|
|
193
193
|
"""
|
|
194
194
|
|
|
195
|
-
target_structure = jax.
|
|
195
|
+
target_structure = jax.tree.structure(trees[0])
|
|
196
196
|
|
|
197
197
|
compatible_structure = functools.reduce(
|
|
198
198
|
lambda compatible, tree: compatible
|
|
199
|
-
and jax.
|
|
199
|
+
and jax.tree.structure(tree) == target_structure,
|
|
200
200
|
trees[1:],
|
|
201
201
|
True,
|
|
202
202
|
)
|
|
@@ -204,7 +204,7 @@ class JaxsimDataclass(abc.ABC):
|
|
|
204
204
|
if not compatible_structure:
|
|
205
205
|
raise ValueError(
|
|
206
206
|
f"Pytrees have incompatible structures.\n"
|
|
207
|
-
f"Original: {', '.join(map(str, [jax.
|
|
207
|
+
f"Original: {', '.join(map(str, [jax.tree.structure(tree) for tree in trees[1:]]))}\n"
|
|
208
208
|
f"Target: {target_structure}"
|
|
209
209
|
)
|
|
210
210
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jaxsim
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.3.dev20
|
|
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>
|
|
7
7
|
License-Expression: BSD-3-Clause
|
|
8
|
-
Project-URL: Changelog, https://github.com/
|
|
8
|
+
Project-URL: Changelog, https://github.com/gbionics/jaxsim/releases
|
|
9
9
|
Project-URL: Documentation, https://jaxsim.readthedocs.io
|
|
10
|
-
Project-URL: Source, https://github.com/
|
|
11
|
-
Project-URL: Tracker, https://github.com/
|
|
10
|
+
Project-URL: Source, https://github.com/gbionics/jaxsim
|
|
11
|
+
Project-URL: Tracker, https://github.com/gbionics/jaxsim/issues
|
|
12
12
|
Keywords: physics,physics engine,jax,rigid body dynamics,featherstone,reinforcement learning,robot,robotics,sdf,urdf
|
|
13
13
|
Classifier: Development Status :: 4 - Beta
|
|
14
14
|
Classifier: Framework :: Robot Framework
|
|
@@ -378,14 +378,15 @@ Please read the [contributing guide](./CONTRIBUTING.md) to get started.
|
|
|
378
378
|
|
|
379
379
|
## Citing
|
|
380
380
|
|
|
381
|
-
If you use JaxSim in your work, please cite
|
|
381
|
+
If you use JaxSim in your work, please cite the following paper:
|
|
382
382
|
|
|
383
383
|
```bibtex
|
|
384
|
-
@
|
|
385
|
-
author = {Filippo Luca Ferretti and Diego Ferigo and
|
|
386
|
-
title = {
|
|
387
|
-
|
|
388
|
-
|
|
384
|
+
@article{ferretti_contact_aware_2026,
|
|
385
|
+
author = {Filippo Luca Ferretti and Diego Ferigo and Alessandro Croci and Carlotta Sartore and Omar G. Younis and Silvio Traversaro and Daniele Pucci},
|
|
386
|
+
title = {Contact-Aware Morphology Optimization via Physically Consistent Differentiable Simulation},
|
|
387
|
+
journal = {IEEE Robotics and Automation Letters},
|
|
388
|
+
year = {2026},
|
|
389
|
+
doi = {10.1109/LRA.2026.3678125}
|
|
389
390
|
}
|
|
390
391
|
```
|
|
391
392
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
jaxsim/__init__.py,sha256=EKeysKN-7UswwJLCl7n6qIBKQIVUtYsCMYu_tCoFn7g,3628
|
|
2
|
-
jaxsim/_version.py,sha256=
|
|
2
|
+
jaxsim/_version.py,sha256=O1frcSLNXn4FGUuUaSawdEYfspJArPWlg1GMdOgJbpM,535
|
|
3
3
|
jaxsim/exceptions.py,sha256=MQ3LRMfVMX2-g3qYj7mUVNV9OLlIA48TANJegbcQyXI,2641
|
|
4
4
|
jaxsim/logging.py,sha256=iLZ_zNvZfz5IvQEjxcCi8QUwPsZD5_9dcD0zotpxT78,2573
|
|
5
5
|
jaxsim/typing.py,sha256=7msl8t5Jt09RNYfKdPJtpjLfWurldcycDappb045Eso,761
|
|
@@ -10,11 +10,11 @@ jaxsim/api/common.py,sha256=yTaRXDYkXmISBOhZ93f9TssR0p4wq7qj7B6OsvYzRME,6942
|
|
|
10
10
|
jaxsim/api/contact.py,sha256=fiWQYh1y5zD7z4FBvcahMSPNZfRaWrqu5lZIV9KEIE8,20628
|
|
11
11
|
jaxsim/api/data.py,sha256=9pxug2gFIZPwqi9kNYXhEziA5IQBB9KNNwIfPfc_kAU,23249
|
|
12
12
|
jaxsim/api/frame.py,sha256=4wg6GsyBQgYhSvc-ry_31JsaL66sZt3TtgwjB7NrHmk,14583
|
|
13
|
-
jaxsim/api/integrators.py,sha256=
|
|
13
|
+
jaxsim/api/integrators.py,sha256=qfe5mnR_PXMifhw063a50V9DUBQ35n20BPpqGC621hI,8971
|
|
14
14
|
jaxsim/api/joint.py,sha256=AnqlNWmBOay-gsoo0y4AbfFQ2OCJm-8T1E0IMhZeLoY,7457
|
|
15
|
-
jaxsim/api/kin_dyn_parameters.py,sha256=
|
|
15
|
+
jaxsim/api/kin_dyn_parameters.py,sha256=DcCth7d4Mx8i4uyJYMOmdWMRqvcovFl5mPm6ZEsHWHc,45504
|
|
16
16
|
jaxsim/api/link.py,sha256=bSZOYJDY9HJMgY25VzevTTsdFZTJc6yRRpslc5FhGHE,12782
|
|
17
|
-
jaxsim/api/model.py,sha256=
|
|
17
|
+
jaxsim/api/model.py,sha256=J6-drxNgyC2936dOz_k7oTp_F5ywPesuwrg2GQWDbak,93123
|
|
18
18
|
jaxsim/api/ode.py,sha256=RRCgHxFAonZQJoevY9PVjoO4jP6KQ-rX4JIqF7Ftt6g,7688
|
|
19
19
|
jaxsim/api/references.py,sha256=6x2OnWS3eKUvxVRvSZhKla59Fqku2T0SBB33THGbQ28,20267
|
|
20
20
|
jaxsim/math/__init__.py,sha256=dNozvtm8WsB7nxw4uK29yQQKPcDUEczr2zcHoZfMItc,383
|
|
@@ -28,18 +28,18 @@ jaxsim/math/skew.py,sha256=z_9YN-NDHL3n4KXWNbzTSMkFDZ0SDpz4RUcwwYFOaao,1402
|
|
|
28
28
|
jaxsim/math/transform.py,sha256=d0_m_obmUOmnI8Bte0ktvibR9Hv9M9qpg8tVuLON2g0,3192
|
|
29
29
|
jaxsim/math/utils.py,sha256=JgJrBPeuCvi0969VqoNsyk3CflQiLzopngKDjl6RfiE,1898
|
|
30
30
|
jaxsim/mujoco/__init__.py,sha256=JuXA9H72xZoIawM90dsNEmFp4DRXYfA0-lnVk0uhiXE,228
|
|
31
|
-
jaxsim/mujoco/__main__.py,sha256=
|
|
32
|
-
jaxsim/mujoco/loaders.py,sha256=
|
|
33
|
-
jaxsim/mujoco/model.py,sha256=
|
|
34
|
-
jaxsim/mujoco/utils.py,sha256=
|
|
31
|
+
jaxsim/mujoco/__main__.py,sha256=uUWc3Yt13j8QOyOEtrfaqXg3UdoVOMe1Yuet6uQotOw,4886
|
|
32
|
+
jaxsim/mujoco/loaders.py,sha256=_syc15Pf7pDhemRRCCNSz0l3DWUrnr-W8DKilD4bZsY,24214
|
|
33
|
+
jaxsim/mujoco/model.py,sha256=v7k3CFo3ERHQdLunFK0RPIn_w_t1DNa7AX7_xDd78OE,16484
|
|
34
|
+
jaxsim/mujoco/utils.py,sha256=vsFZOpwkINekm0kuSZlQb242EWKQ2yySPbqVGfaqmQ0,8823
|
|
35
35
|
jaxsim/mujoco/visualizer.py,sha256=m4-oESt3hHkPiDcgaQeb97U3FGpZFpJHXiK49Zq5Y2I,12168
|
|
36
36
|
jaxsim/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
|
-
jaxsim/parsers/kinematic_graph.py,sha256=
|
|
37
|
+
jaxsim/parsers/kinematic_graph.py,sha256=ZoLztTK93SMVQ0PXDivnW4ENzW12gygvYxX90hib9JA,35734
|
|
38
38
|
jaxsim/parsers/descriptions/__init__.py,sha256=N_hp8cGI5FyEFiuNx9a-CAGCr0F0QpYEpdMHvwB7_1g,261
|
|
39
39
|
jaxsim/parsers/descriptions/collision.py,sha256=C6SekAPL2tNG62Y-lTqj1m9BblhoTZDj2F2vgspKNbI,4577
|
|
40
40
|
jaxsim/parsers/descriptions/joint.py,sha256=MurLIHHmu-y_bwUcR_J1NZ-FjfRZRk166zKsn6VzIwE,4232
|
|
41
41
|
jaxsim/parsers/descriptions/link.py,sha256=au5XP_7O_UG7WG07RZ6y5VXkLqjgx9aBmlrPCMxgzbo,3495
|
|
42
|
-
jaxsim/parsers/descriptions/model.py,sha256=
|
|
42
|
+
jaxsim/parsers/descriptions/model.py,sha256=9WSVjTp8CD1hpt70yRwfjnVg2DzSyVfp6WxviNQLnUw,10152
|
|
43
43
|
jaxsim/parsers/rod/__init__.py,sha256=G2vqlLajBLUc4gyzXwsEI2Wsi4TMOIF9bLDFeT6KrGU,92
|
|
44
44
|
jaxsim/parsers/rod/meshes.py,sha256=yAXefG73_zqbVKRUdlcz9yFmypjDIpiP9cO96PeAozE,2842
|
|
45
45
|
jaxsim/parsers/rod/parser.py,sha256=Qty8QR1ZGunNI0gC3upYECUSVHHlamdbDcAaVZyHVJk,15043
|
|
@@ -50,7 +50,7 @@ jaxsim/rbda/collidable_points.py,sha256=XyeV1I43GL22j03rkNVocaIPOGYirt3PiDHrFMnd
|
|
|
50
50
|
jaxsim/rbda/crba.py,sha256=DC9kBXMG1qXaoAdo8K7OCnVHT_YUaL_t6Li56sRf8ro,5093
|
|
51
51
|
jaxsim/rbda/forward_kinematics.py,sha256=qem7Yp-B2oNVOsU3Q2CWV2tbfZKJOCAdDozFgaPB8tg,3838
|
|
52
52
|
jaxsim/rbda/jacobian.py,sha256=EaMvf073UnLWJGXm4UZIlYd4erulFAGgj_pp89k6xic,11113
|
|
53
|
-
jaxsim/rbda/kinematic_constraints.py,sha256=
|
|
53
|
+
jaxsim/rbda/kinematic_constraints.py,sha256=lpc2xbpjOjTXdaWHyOK7mT8QQSWdWjYoOqQVx3aWfFE,12139
|
|
54
54
|
jaxsim/rbda/mass_inverse.py,sha256=AF3ik9K8kDQmZf-QJ4tV4ed-Zh36xFwvELJOH9UwrW8,6311
|
|
55
55
|
jaxsim/rbda/rnea.py,sha256=lMU7xxdPqGGzk0QwteB-IYjL4auHOpd78C1YqAXlp9s,7588
|
|
56
56
|
jaxsim/rbda/utils.py,sha256=6JwEDQqLMsBX7CUmPYEhdPEscXmGbWVYg6xEriPOgvE,5587
|
|
@@ -59,16 +59,16 @@ jaxsim/rbda/actuation/common.py,sha256=DhOAdppQlubWGMA40A6UmDkXE8pkexuyQcOE9ALAN
|
|
|
59
59
|
jaxsim/rbda/contacts/__init__.py,sha256=resrBkTdOA-1YMdcdUH2RATEhAf_Ye6MQNtjG3ClMYQ,371
|
|
60
60
|
jaxsim/rbda/contacts/common.py,sha256=e-NDoC1N9PK5B0e1fQkYtxS495GSpRCGZRzB6-53WS4,9207
|
|
61
61
|
jaxsim/rbda/contacts/relaxed_rigid.py,sha256=JbDhiKG7zJlk1ii71fr950-4UAtsNQcicC0WO5__54c,21819
|
|
62
|
-
jaxsim/rbda/contacts/rigid.py,sha256=
|
|
63
|
-
jaxsim/rbda/contacts/soft.py,sha256=
|
|
62
|
+
jaxsim/rbda/contacts/rigid.py,sha256=p0MwXsi_MjT-t7nfkpKLHi8gbC0Kltc_IKeVSbwk37s,17606
|
|
63
|
+
jaxsim/rbda/contacts/soft.py,sha256=O2VvEn5tinorGRJIDB01nKC-LOO7tMS2FMBPss3x5sw,15064
|
|
64
64
|
jaxsim/terrain/__init__.py,sha256=f7lVX-iNpH_wkkjef9Qpjh19TTAUOQw76EiLYJDVizc,78
|
|
65
65
|
jaxsim/terrain/terrain.py,sha256=so8kqVsUlPXqOKQ_UaYW6HE4XS8nTZRdFdXQyhB2tG4,6725
|
|
66
66
|
jaxsim/utils/__init__.py,sha256=Y5zyoRevl3EMVQadhZ4EtSwTEkDt2vcnFoRhPJjKTZ0,215
|
|
67
|
-
jaxsim/utils/jaxsim_dataclass.py,sha256=
|
|
67
|
+
jaxsim/utils/jaxsim_dataclass.py,sha256=GsoGQVJBbu9kgEXsZOF6Cv5So3386R9zudrRtnvXJAo,11373
|
|
68
68
|
jaxsim/utils/tracing.py,sha256=Btwxdfhb7fJLk3r5PlQkGYj60Y2KbFT1gANGIA697FU,530
|
|
69
69
|
jaxsim/utils/wrappers.py,sha256=3IMwydqFgmSPqeuUQ3PRmdhDc1IoT6XC23jPC_LjWXs,4175
|
|
70
|
-
jaxsim-0.8.
|
|
71
|
-
jaxsim-0.8.
|
|
72
|
-
jaxsim-0.8.
|
|
73
|
-
jaxsim-0.8.
|
|
74
|
-
jaxsim-0.8.
|
|
70
|
+
jaxsim-0.8.3.dev20.dist-info/licenses/LICENSE,sha256=eaYdFmdeMbiIoIiPzEK0MjP1S9wtFXjXNR5er49uLR0,1546
|
|
71
|
+
jaxsim-0.8.3.dev20.dist-info/METADATA,sha256=r39Exovm50L47H0rIsiab08oWbuTpSFMC8vcRRchMzc,14331
|
|
72
|
+
jaxsim-0.8.3.dev20.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
73
|
+
jaxsim-0.8.3.dev20.dist-info/top_level.txt,sha256=LxGMA8FLtXjQ6oI7N5gd_R_oSUHxpXxUEOfT1xS_ni0,7
|
|
74
|
+
jaxsim-0.8.3.dev20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|