jaxsim 0.8.3.dev20__tar.gz → 0.8.3.dev35__tar.gz

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.
Files changed (142) hide show
  1. jaxsim-0.8.3.dev35/.github/CODEOWNERS +1 -0
  2. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.github/workflows/ci_cd.yml +1 -8
  3. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.github/workflows/gpu_benchmark.yml +3 -7
  4. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.github/workflows/pixi.yml +1 -1
  5. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.gitignore +1 -1
  6. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.pre-commit-config.yaml +5 -5
  7. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/CONTRIBUTING.md +7 -2
  8. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/PKG-INFO +39 -32
  9. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/README.md +2 -2
  10. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/environment.yml +0 -4
  11. jaxsim-0.8.3.dev35/pixi.lock +3 -0
  12. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/pyproject.toml +17 -21
  13. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/_version.py +3 -3
  14. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/frame.py +62 -109
  15. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/model.py +203 -204
  16. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/math/__init__.py +0 -1
  17. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/math/utils.py +1 -1
  18. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/utils.py +3 -1
  19. jaxsim-0.8.3.dev20/.github/CODEOWNERS +0 -1
  20. jaxsim-0.8.3.dev20/pixi.lock +0 -3
  21. jaxsim-0.8.3.dev20/setup.cfg +0 -4
  22. jaxsim-0.8.3.dev20/src/jaxsim.egg-info/PKG-INFO +0 -405
  23. jaxsim-0.8.3.dev20/src/jaxsim.egg-info/SOURCES.txt +0 -138
  24. jaxsim-0.8.3.dev20/src/jaxsim.egg-info/dependency_links.txt +0 -1
  25. jaxsim-0.8.3.dev20/src/jaxsim.egg-info/requires.txt +0 -37
  26. jaxsim-0.8.3.dev20/src/jaxsim.egg-info/top_level.txt +0 -1
  27. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.devcontainer/Dockerfile +0 -0
  28. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.devcontainer/devcontainer.json +0 -0
  29. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.gitattributes +0 -0
  30. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.github/dependabot.yml +0 -0
  31. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.github/release.yml +0 -0
  32. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.github/workflows/read_the_docs.yml +0 -0
  33. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/.readthedocs.yaml +0 -0
  34. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/CITATION.cff +0 -0
  35. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/LICENSE +0 -0
  36. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/Makefile +0 -0
  37. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/conf.py +0 -0
  38. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/examples.rst +0 -0
  39. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/guide/configuration.rst +0 -0
  40. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/guide/install.rst +0 -0
  41. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/index.rst +0 -0
  42. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/make.bat +0 -0
  43. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/modules/api.rst +0 -0
  44. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/modules/math.rst +0 -0
  45. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/modules/mujoco.rst +0 -0
  46. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/modules/parsers.rst +0 -0
  47. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/modules/rbda.rst +0 -0
  48. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/modules/typing.rst +0 -0
  49. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/docs/modules/utils.rst +0 -0
  50. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/examples/.gitattributes +0 -0
  51. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/examples/.gitignore +0 -0
  52. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/examples/README.md +0 -0
  53. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/examples/assets/build_cartpole_urdf.py +0 -0
  54. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/examples/assets/cartpole.urdf +0 -0
  55. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/examples/jaxsim_as_multibody_dynamics_library.ipynb +0 -0
  56. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/examples/jaxsim_as_physics_engine.ipynb +0 -0
  57. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/examples/jaxsim_as_physics_engine_advanced.ipynb +0 -0
  58. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/examples/jaxsim_for_robot_controllers.ipynb +0 -0
  59. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/__init__.py +0 -0
  60. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/__init__.py +0 -0
  61. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/actuation_model.py +0 -0
  62. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/com.py +0 -0
  63. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/common.py +0 -0
  64. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/contact.py +0 -0
  65. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/data.py +0 -0
  66. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/integrators.py +0 -0
  67. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/joint.py +0 -0
  68. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/kin_dyn_parameters.py +0 -0
  69. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/link.py +0 -0
  70. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/ode.py +0 -0
  71. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/api/references.py +0 -0
  72. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/exceptions.py +0 -0
  73. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/logging.py +0 -0
  74. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/math/adjoint.py +0 -0
  75. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/math/cross.py +0 -0
  76. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/math/inertia.py +0 -0
  77. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/math/joint_model.py +0 -0
  78. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/math/quaternion.py +0 -0
  79. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/math/rotation.py +0 -0
  80. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/math/skew.py +0 -0
  81. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/math/transform.py +0 -0
  82. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/mujoco/__init__.py +0 -0
  83. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/mujoco/__main__.py +0 -0
  84. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/mujoco/loaders.py +0 -0
  85. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/mujoco/model.py +0 -0
  86. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/mujoco/utils.py +0 -0
  87. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/mujoco/visualizer.py +0 -0
  88. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/__init__.py +0 -0
  89. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/descriptions/__init__.py +0 -0
  90. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/descriptions/collision.py +0 -0
  91. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/descriptions/joint.py +0 -0
  92. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/descriptions/link.py +0 -0
  93. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/descriptions/model.py +0 -0
  94. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/kinematic_graph.py +0 -0
  95. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/rod/__init__.py +0 -0
  96. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/rod/meshes.py +0 -0
  97. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/rod/parser.py +0 -0
  98. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/parsers/rod/utils.py +0 -0
  99. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/__init__.py +0 -0
  100. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/aba.py +0 -0
  101. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/actuation/__init__.py +0 -0
  102. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/actuation/common.py +0 -0
  103. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/collidable_points.py +0 -0
  104. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/contacts/__init__.py +0 -0
  105. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/contacts/common.py +0 -0
  106. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/contacts/relaxed_rigid.py +0 -0
  107. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/contacts/rigid.py +0 -0
  108. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/contacts/soft.py +0 -0
  109. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/crba.py +0 -0
  110. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/forward_kinematics.py +0 -0
  111. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/jacobian.py +0 -0
  112. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/kinematic_constraints.py +0 -0
  113. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/mass_inverse.py +0 -0
  114. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/rbda/rnea.py +0 -0
  115. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/terrain/__init__.py +0 -0
  116. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/terrain/terrain.py +0 -0
  117. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/typing.py +0 -0
  118. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/utils/__init__.py +0 -0
  119. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/utils/jaxsim_dataclass.py +0 -0
  120. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/utils/tracing.py +0 -0
  121. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/src/jaxsim/utils/wrappers.py +0 -0
  122. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/__init__.py +0 -0
  123. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/assets/4_bar_opened.urdf +0 -0
  124. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/assets/double_pendulum.sdf +0 -0
  125. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/conftest.py +0 -0
  126. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_actuation.py +0 -0
  127. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_api_com.py +0 -0
  128. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_api_contact.py +0 -0
  129. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_api_data.py +0 -0
  130. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_api_frame.py +0 -0
  131. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_api_joint.py +0 -0
  132. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_api_link.py +0 -0
  133. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_api_model.py +0 -0
  134. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_api_model_hw_parametrization.py +0 -0
  135. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_automatic_differentiation.py +0 -0
  136. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_benchmark.py +0 -0
  137. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_exceptions.py +0 -0
  138. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_meshes.py +0 -0
  139. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_pytree.py +0 -0
  140. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_simulations.py +0 -0
  141. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/test_visualizer.py +0 -0
  142. {jaxsim-0.8.3.dev20 → jaxsim-0.8.3.dev35}/tests/utils.py +0 -0
@@ -0,0 +1 @@
1
+ * @flferretti
@@ -103,7 +103,7 @@ jobs:
103
103
  with:
104
104
  lfs: true
105
105
 
106
- - uses: prefix-dev/setup-pixi@v0.9.4
106
+ - uses: prefix-dev/setup-pixi@v0.9.5
107
107
  if: contains(matrix.os, 'ubuntu')
108
108
  with:
109
109
  pixi-version: "latest"
@@ -111,13 +111,6 @@ jobs:
111
111
  cache: true
112
112
  cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
113
113
 
114
- - name: Ensure version file is written
115
- if: |
116
- contains(matrix.os, 'ubuntu') &&
117
- (github.event_name != 'pull_request')
118
- run: |
119
- pixi run --frozen python -m setuptools_scm --force-write-version-file
120
-
121
114
  - name: Run the Python tests
122
115
  if: |
123
116
  contains(matrix.os, 'ubuntu') &&
@@ -51,10 +51,6 @@ jobs:
51
51
  path: ./cache
52
52
  key: ${{ runner.os }}-benchmark
53
53
 
54
- - name: Ensure version file is written
55
- run: |
56
- pixi run --frozen --environment gpu python -m setuptools_scm --force-write-version-file
57
-
58
54
  - name: Run benchmark and store result
59
55
  run: |
60
56
  pixi run --frozen --environment gpu benchmark --batch-size 128 --benchmark-json output.json
@@ -62,7 +58,7 @@ jobs:
62
58
  PY_COLORS: "1"
63
59
 
64
60
  - name: Compare benchmark results with main branch
65
- uses: benchmark-action/github-action-benchmark@v1.20.7
61
+ uses: benchmark-action/github-action-benchmark@v1.22.0
66
62
  with:
67
63
  tool: 'pytest'
68
64
  output-file-path: output.json
@@ -75,7 +71,7 @@ jobs:
75
71
  github-token: ${{ secrets.GITHUB_TOKEN }}
76
72
 
77
73
  - name: Store benchmark result for main branch
78
- uses: benchmark-action/github-action-benchmark@v1.20.7
74
+ uses: benchmark-action/github-action-benchmark@v1.22.0
79
75
  if: ${{ github.ref_name == 'main' }}
80
76
  with:
81
77
  tool: 'pytest'
@@ -89,7 +85,7 @@ jobs:
89
85
  github-token: ${{ secrets.GITHUB_TOKEN }}
90
86
 
91
87
  - name: Publish Benchmark Results to GitHub Pages
92
- uses: benchmark-action/github-action-benchmark@v1.20.7
88
+ uses: benchmark-action/github-action-benchmark@v1.22.0
93
89
  if: ${{ github.ref_name == 'main' }}
94
90
  with:
95
91
  tool: 'pytest'
@@ -22,7 +22,7 @@ jobs:
22
22
  lfs: true
23
23
 
24
24
  - name: Set up pixi
25
- uses: prefix-dev/setup-pixi@v0.9.4
25
+ uses: prefix-dev/setup-pixi@v0.9.5
26
26
  with:
27
27
  run-install: false
28
28
 
@@ -139,7 +139,7 @@ dmypy.json
139
139
  # Pyre type checker
140
140
  .pyre/
141
141
 
142
- # setuptools_scm dynamic version
142
+ # dynamic version
143
143
  src/jaxsim/_version.py
144
144
 
145
145
  # ruff
@@ -20,13 +20,13 @@ repos:
20
20
  args: ["--maxkb=2000"]
21
21
 
22
22
  - repo: https://github.com/psf/black-pre-commit-mirror
23
- rev: 25.12.0
23
+ rev: 26.3.1
24
24
  hooks:
25
25
  - id: black
26
26
  args: ["--check", "--diff"]
27
27
 
28
28
  - repo: https://github.com/pycqa/isort
29
- rev: 7.0.0
29
+ rev: 8.0.1
30
30
  hooks:
31
31
  - id: isort
32
32
  args: ["--check", "--diff"]
@@ -39,17 +39,17 @@ repos:
39
39
  - id: rst-inline-touching-normal
40
40
 
41
41
  - repo: https://github.com/codespell-project/codespell
42
- rev: v2.4.1
42
+ rev: v2.4.2
43
43
  hooks:
44
44
  - id: codespell
45
45
  args: ["-S", "*.lock"]
46
46
 
47
47
  - repo: https://github.com/astral-sh/ruff-pre-commit
48
- rev: v0.14.10
48
+ rev: v0.15.9
49
49
  hooks:
50
50
  - id: ruff
51
51
 
52
52
  - repo: https://github.com/kynan/nbstripout
53
- rev: 0.8.2
53
+ rev: 0.9.1
54
54
  hooks:
55
55
  - id: nbstripout
@@ -17,9 +17,14 @@ This will help catch issues before they become a part of the project.
17
17
 
18
18
  `pre-commit` is a tool that manages pre-commit hooks for your project.
19
19
  It will run checks on your code before you commit it, ensuring that it meets the project's standards.
20
- You should have it already installed if you followed the installation instructions in the [README](./README.md).
21
20
 
22
- Run the following command to install the hooks:
21
+ First, install `pre-commit` if you haven't already:
22
+
23
+ ```bash
24
+ pip install pre-commit
25
+ ```
26
+
27
+ Then, run the following command to install the hooks:
23
28
 
24
29
  ```bash
25
30
  pre-commit install
@@ -1,67 +1,74 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jaxsim
3
- Version: 0.8.3.dev20
3
+ Version: 0.8.3.dev35
4
4
  Summary: A differentiable physics engine and multibody dynamics library for control and robot learning.
5
- Author-email: Diego Ferigo <dgferigo@gmail.com>, Filippo Luca Ferretti <filippoluca.ferretti@outlook.com>
6
- Maintainer-email: Filippo Luca Ferretti <filippo.ferretti@iit.it>, Alessandro Croci <alessandro.croci@iit.it>
7
- License-Expression: BSD-3-Clause
8
5
  Project-URL: Changelog, https://github.com/gbionics/jaxsim/releases
9
6
  Project-URL: Documentation, https://jaxsim.readthedocs.io
10
7
  Project-URL: Source, https://github.com/gbionics/jaxsim
11
8
  Project-URL: Tracker, https://github.com/gbionics/jaxsim/issues
12
- Keywords: physics,physics engine,jax,rigid body dynamics,featherstone,reinforcement learning,robot,robotics,sdf,urdf
9
+ Author-email: Diego Ferigo <dgferigo@gmail.com>, Filippo Luca Ferretti <filippoluca.ferretti@outlook.com>
10
+ Maintainer-email: Filippo Luca Ferretti <filippo.ferretti@iit.it>
11
+ License-Expression: BSD-3-Clause
12
+ License-File: LICENSE
13
+ Keywords: featherstone,jax,physics,physics engine,reinforcement learning,rigid body dynamics,robot,robotics,sdf,urdf
13
14
  Classifier: Development Status :: 4 - Beta
14
15
  Classifier: Framework :: Robot Framework
15
16
  Classifier: Intended Audience :: Developers
16
17
  Classifier: Intended Audience :: Science/Research
17
- Classifier: Operating System :: POSIX :: Linux
18
18
  Classifier: Operating System :: MacOS
19
19
  Classifier: Operating System :: Microsoft
20
+ Classifier: Operating System :: POSIX :: Linux
20
21
  Classifier: Programming Language :: Python :: 3 :: Only
21
22
  Classifier: Programming Language :: Python :: 3.10
22
23
  Classifier: Programming Language :: Python :: 3.11
23
24
  Classifier: Programming Language :: Python :: 3.12
24
25
  Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
25
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
26
28
  Classifier: Topic :: Games/Entertainment :: Simulation
27
29
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
28
30
  Classifier: Topic :: Scientific/Engineering :: Physics
29
31
  Classifier: Topic :: Software Development
30
32
  Requires-Python: >=3.10
31
- Description-Content-Type: text/markdown
32
- License-File: LICENSE
33
33
  Requires-Dist: coloredlogs
34
+ Requires-Dist: jax-dataclasses>=1.4.0
34
35
  Requires-Dist: jax>=0.4.34
35
36
  Requires-Dist: jaxlib>=0.4.34
36
37
  Requires-Dist: jaxlie>=1.3.0
37
- Requires-Dist: jax_dataclasses>=1.4.0
38
- Requires-Dist: pptree
39
38
  Requires-Dist: optax>=0.2.3
39
+ Requires-Dist: pptree
40
40
  Requires-Dist: qpax
41
41
  Requires-Dist: rod>=0.4.1
42
- Requires-Dist: typing_extensions; python_version < "3.12"
43
42
  Requires-Dist: trimesh
44
- Provides-Extra: style
45
- Requires-Dist: black[jupyter]; extra == "style"
46
- Requires-Dist: isort; extra == "style"
47
- Requires-Dist: pre-commit; extra == "style"
43
+ Requires-Dist: typing-extensions; python_version < '3.12'
44
+ Provides-Extra: all
45
+ Requires-Dist: chex>=0.1.91; extra == 'all'
46
+ Requires-Dist: icub-models; extra == 'all'
47
+ Requires-Dist: idyntree>=12.2.1; extra == 'all'
48
+ Requires-Dist: lxml; extra == 'all'
49
+ Requires-Dist: mediapy; extra == 'all'
50
+ Requires-Dist: mujoco>=3.0.0; extra == 'all'
51
+ Requires-Dist: pytest-benchmark; extra == 'all'
52
+ Requires-Dist: pytest-icdiff; extra == 'all'
53
+ Requires-Dist: pytest-xdist; extra == 'all'
54
+ Requires-Dist: pytest>=6.0; extra == 'all'
55
+ Requires-Dist: robot-descriptions>=1.16.0; extra == 'all'
56
+ Requires-Dist: scipy>=1.14.0; extra == 'all'
48
57
  Provides-Extra: testing
49
- Requires-Dist: chex>=0.1.91; extra == "testing"
50
- Requires-Dist: idyntree>=12.2.1; extra == "testing"
51
- Requires-Dist: pytest>=6.0; extra == "testing"
52
- Requires-Dist: pytest-benchmark; extra == "testing"
53
- Requires-Dist: pytest-icdiff; extra == "testing"
54
- Requires-Dist: pytest-xdist; extra == "testing"
55
- Requires-Dist: robot-descriptions>=1.16.0; extra == "testing"
56
- Requires-Dist: icub-models; extra == "testing"
58
+ Requires-Dist: chex>=0.1.91; extra == 'testing'
59
+ Requires-Dist: icub-models; extra == 'testing'
60
+ Requires-Dist: idyntree>=12.2.1; extra == 'testing'
61
+ Requires-Dist: pytest-benchmark; extra == 'testing'
62
+ Requires-Dist: pytest-icdiff; extra == 'testing'
63
+ Requires-Dist: pytest-xdist; extra == 'testing'
64
+ Requires-Dist: pytest>=6.0; extra == 'testing'
65
+ Requires-Dist: robot-descriptions>=1.16.0; extra == 'testing'
57
66
  Provides-Extra: viz
58
- Requires-Dist: lxml; extra == "viz"
59
- Requires-Dist: mediapy; extra == "viz"
60
- Requires-Dist: mujoco>=3.0.0; extra == "viz"
61
- Requires-Dist: scipy>=1.14.0; extra == "viz"
62
- Provides-Extra: all
63
- Requires-Dist: jaxsim[style,testing,viz]; extra == "all"
64
- Dynamic: license-file
67
+ Requires-Dist: lxml; extra == 'viz'
68
+ Requires-Dist: mediapy; extra == 'viz'
69
+ Requires-Dist: mujoco>=3.0.0; extra == 'viz'
70
+ Requires-Dist: scipy>=1.14.0; extra == 'viz'
71
+ Description-Content-Type: text/markdown
65
72
 
66
73
  # JaxSim
67
74
 
@@ -194,14 +201,14 @@ If you are on Linux and you want to use a `cuda`-powered version of `jax`, remem
194
201
 
195
202
  ~~~toml
196
203
  [system-requirements]
197
- cuda = "12"
204
+ cuda = "13"
198
205
  ~~~
199
206
 
200
207
  if you are using a `pixi.toml` file or
201
208
 
202
209
  ~~~toml
203
210
  [tool.pixi.system-requirements]
204
- cuda = "12"
211
+ cuda = "13"
205
212
  ~~~
206
213
 
207
214
  if you are using a `pyproject.toml` file.
@@ -129,14 +129,14 @@ If you are on Linux and you want to use a `cuda`-powered version of `jax`, remem
129
129
 
130
130
  ~~~toml
131
131
  [system-requirements]
132
- cuda = "12"
132
+ cuda = "13"
133
133
  ~~~
134
134
 
135
135
  if you are using a `pixi.toml` file or
136
136
 
137
137
  ~~~toml
138
138
  [tool.pixi.system-requirements]
139
- cuda = "12"
139
+ cuda = "13"
140
140
  ~~~
141
141
 
142
142
  if you are using a `pyproject.toml` file.
@@ -20,10 +20,6 @@ dependencies:
20
20
  # ====================================
21
21
  # Optional dependencies from setup.cfg
22
22
  # ====================================
23
- # [style]
24
- - black == 24.*
25
- - isort
26
- - pre-commit
27
23
  # [testing]
28
24
  - chex
29
25
  - idyntree >= 12.2.1
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:051a37a814a9bdf79465a75b312892cab5fe8201584eef1130788c0575c6ac7a
3
+ size 712059
@@ -9,7 +9,6 @@ authors = [
9
9
  ]
10
10
  maintainers = [
11
11
  { name = "Filippo Luca Ferretti", email = "filippo.ferretti@iit.it" },
12
- { name = "Alessandro Croci", email = "alessandro.croci@iit.it" },
13
12
  ]
14
13
  license = "BSD-3-Clause"
15
14
  license-files = ["LICENSE"]
@@ -38,6 +37,7 @@ classifiers = [
38
37
  "Programming Language :: Python :: 3.11",
39
38
  "Programming Language :: Python :: 3.12",
40
39
  "Programming Language :: Python :: 3.13",
40
+ "Programming Language :: Python :: 3.14",
41
41
  "Programming Language :: Python :: Implementation :: CPython",
42
42
  "Topic :: Games/Entertainment :: Simulation",
43
43
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
@@ -59,11 +59,6 @@ dependencies = [
59
59
  ]
60
60
 
61
61
  [project.optional-dependencies]
62
- style = [
63
- "black[jupyter]",
64
- "isort",
65
- "pre-commit",
66
- ]
67
62
  testing = [
68
63
  "chex >= 0.1.91",
69
64
  "idyntree >= 12.2.1",
@@ -81,7 +76,7 @@ viz = [
81
76
  "scipy >= 1.14.0",
82
77
  ]
83
78
  all = [
84
- "jaxsim[style,testing,viz]",
79
+ "jaxsim[testing,viz]",
85
80
  ]
86
81
 
87
82
  [project.readme]
@@ -99,19 +94,21 @@ Tracker = "https://github.com/gbionics/jaxsim/issues"
99
94
  # ===========
100
95
 
101
96
  [build-system]
102
- build-backend = "setuptools.build_meta"
97
+ build-backend = "hatchling.build"
103
98
  requires = [
104
- "setuptools>=77",
105
- "setuptools-scm[toml]>=8",
106
- "wheel",
99
+ "hatchling",
100
+ "hatch-vcs",
107
101
  ]
108
102
 
109
- [tool.setuptools]
110
- package-dir = { "" = "src" }
103
+ [tool.hatch.version]
104
+ source = "vcs"
105
+ raw-options = { local_scheme = "dirty-tag" }
106
+
107
+ [tool.hatch.build.targets.wheel]
108
+ packages = ["src/jaxsim"]
111
109
 
112
- [tool.setuptools_scm]
113
- local_scheme = "dirty-tag"
114
- version_file = "src/jaxsim/_version.py"
110
+ [tool.hatch.build.hooks.vcs]
111
+ version-file = "src/jaxsim/_version.py"
115
112
 
116
113
  # =================
117
114
  # Style and testing
@@ -187,7 +184,7 @@ ignore = [
187
184
  # Ignore `E402` (import violations) in all `__init__.py` files
188
185
  "**/{tests,docs,tools}/*" = ["E402"]
189
186
  "**/{tests,examples}/*" = ["B007", "D100", "D102", "D103"]
190
- "__init__.py" = ["F401"]
187
+ "__init__.py" = ["F401", "RUF067"]
191
188
  "docs/conf.py" = ["F401"]
192
189
  "src/jaxsim/exceptions.py" = ["D401"]
193
190
  "src/jaxsim/logging.py" = ["D101", "D103"]
@@ -238,6 +235,8 @@ scipy = "*"
238
235
  # Additional dependencies.
239
236
  #
240
237
  pip = "*"
238
+ hatchling = "*"
239
+ hatch-vcs = "*"
241
240
 
242
241
  # Dependencies from PyPI.
243
242
  [tool.pixi.pypi-dependencies]
@@ -253,7 +252,6 @@ no-build-isolation = ["jaxsim"]
253
252
  [tool.pixi.feature.test.tasks]
254
253
  pipcheck = "pip check"
255
254
  benchmark = { cmd = "pytest --benchmark-only --benchmark-warmup=ON", depends-on = ["pipcheck"] }
256
- lint = { cmd = "pre-commit run --all-files --hook-stage=manual" }
257
255
  test = { cmd = "pytest", depends-on = ["pipcheck"] }
258
256
 
259
257
  [tool.pixi.feature.test.dependencies]
@@ -267,7 +265,6 @@ pytest-benchmark = "*"
267
265
  pytest-icdiff = "*"
268
266
  pytest-xdist = "*"
269
267
  robot_descriptions = ">=1.16.0"
270
- setuptools_scm = ">=8.3.1,<9"
271
268
 
272
269
  # ----------------
273
270
  # feature.examples
@@ -286,10 +283,9 @@ robot_descriptions = ">=1.16.0"
286
283
 
287
284
  [tool.pixi.feature.gpu]
288
285
  platforms = ["linux-64"]
289
- system-requirements = { cuda = "12" }
286
+ system-requirements = { cuda = "13" }
290
287
 
291
288
  [tool.pixi.feature.gpu.dependencies]
292
- cuda-version = "12.*"
293
289
  jaxlib = { version = "*", build = "*cuda*" }
294
290
 
295
291
  [tool.pixi.feature.gpu.tasks]
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.8.3.dev20'
22
- __version_tuple__ = version_tuple = (0, 8, 3, 'dev20')
21
+ __version__ = version = '0.8.3.dev35'
22
+ __version_tuple__ = version_tuple = (0, 8, 3, 'dev35')
23
23
 
24
- __commit_id__ = commit_id = 'ge30726c1c'
24
+ __commit_id__ = commit_id = None
@@ -7,7 +7,7 @@ import jax.numpy as jnp
7
7
  import jaxsim.api as js
8
8
  import jaxsim.typing as jtp
9
9
  from jaxsim import exceptions
10
- from jaxsim.math import Adjoint, Cross, Transform
10
+ from jaxsim.math import Adjoint, Cross
11
11
 
12
12
  from .common import VelRepr
13
13
 
@@ -278,34 +278,44 @@ def jacobian(
278
278
  # Get the index of the parent link.
279
279
  L = idx_of_parent_link(model=model, frame_index=frame_index)
280
280
 
281
- # Compute the Jacobian of the parent link using body-fixed output representation.
281
+ # Compute only the parent-link body Jacobian.
282
282
  L_J_WL = js.link.jacobian(
283
- model=model, data=data, link_index=L, output_vel_repr=VelRepr.Body
283
+ model=model,
284
+ data=data,
285
+ link_index=L,
286
+ output_vel_repr=VelRepr.Body,
284
287
  )
288
+ W_H_L = data._link_transforms[L]
289
+ L_H_F = model.kin_dyn_parameters.frame_parameters.transform[
290
+ frame_index - model.number_of_links()
291
+ ]
292
+ L_p_F = L_H_F[0:3, 3]
285
293
 
286
294
  # Adjust the output representation.
287
295
  match output_vel_repr:
288
296
  case VelRepr.Inertial:
289
- W_H_L = js.link.transform(model=model, data=data, link_index=L)
290
- W_X_L = Adjoint.from_transform(transform=W_H_L)
297
+ W_X_L = Adjoint.from_rotation_and_translation(
298
+ rotation=W_H_L[0:3, 0:3],
299
+ translation=W_H_L[0:3, 3],
300
+ )
291
301
  W_J_WL = W_X_L @ L_J_WL
292
302
  O_J_WL_I = W_J_WL
293
303
 
294
304
  case VelRepr.Body:
295
- W_H_L = js.link.transform(model=model, data=data, link_index=L)
296
- W_H_F = transform(model=model, data=data, frame_index=frame_index)
297
- F_H_L = Transform.inverse(W_H_F) @ W_H_L
298
- F_X_L = Adjoint.from_transform(transform=F_H_L)
305
+ F_X_L = Adjoint.from_rotation_and_translation(
306
+ rotation=L_H_F[0:3, 0:3],
307
+ translation=L_p_F,
308
+ inverse=True,
309
+ )
299
310
  F_J_WL = F_X_L @ L_J_WL
300
311
  O_J_WL_I = F_J_WL
301
312
 
302
313
  case VelRepr.Mixed:
303
- W_H_L = js.link.transform(model=model, data=data, link_index=L)
304
- W_H_F = transform(model=model, data=data, frame_index=frame_index)
305
- F_H_L = Transform.inverse(W_H_F) @ W_H_L
306
- FW_H_F = W_H_F.at[0:3, 3].set(jnp.zeros(3))
307
- FW_H_L = FW_H_F @ F_H_L
308
- FW_X_L = Adjoint.from_transform(transform=FW_H_L)
314
+ W_R_L = W_H_L[0:3, 0:3]
315
+ FW_X_L = Adjoint.from_rotation_and_translation(
316
+ rotation=W_R_L,
317
+ translation=-W_R_L @ L_p_F,
318
+ )
309
319
  FW_J_WL = FW_X_L @ L_J_WL
310
320
  O_J_WL_I = FW_J_WL
311
321
 
@@ -357,115 +367,58 @@ def jacobian_derivative(
357
367
 
358
368
  # Get the index of the parent link.
359
369
  L = idx_of_parent_link(model=model, frame_index=frame_index)
370
+ W_J_WL_I = js.link.jacobian(
371
+ model=model,
372
+ data=data,
373
+ link_index=L,
374
+ output_vel_repr=VelRepr.Inertial,
375
+ )
376
+ W_J̇_WL_I = js.link.jacobian_derivative(
377
+ model=model,
378
+ data=data,
379
+ link_index=L,
380
+ output_vel_repr=VelRepr.Inertial,
381
+ )
360
382
 
361
- with data.switch_velocity_representation(VelRepr.Inertial):
362
- # Compute the Jacobian of the parent link in inertial representation.
363
- W_J_WL_W = js.link.jacobian(
364
- model=model,
365
- data=data,
366
- link_index=L,
367
- output_vel_repr=VelRepr.Inertial,
368
- )
369
-
370
- # Compute the Jacobian derivative of the parent link in inertial representation.
371
- W_J̇_WL_W = js.link.jacobian_derivative(
372
- model=model,
373
- data=data,
374
- link_index=L,
375
- output_vel_repr=VelRepr.Inertial,
376
- )
377
-
378
- # =====================================================
379
- # Compute quantities to adjust the input representation
380
- # =====================================================
381
-
382
- def compute_T(model: js.model.JaxSimModel, X: jtp.Matrix) -> jtp.Matrix:
383
- In = jnp.eye(model.dofs())
384
- T = jax.scipy.linalg.block_diag(X, In)
385
- return T
386
-
387
- def compute_Ṫ(model: js.model.JaxSimModel, Ẋ: jtp.Matrix) -> jtp.Matrix:
388
- On = jnp.zeros(shape=(model.dofs(), model.dofs()))
389
- Ṫ = jax.scipy.linalg.block_diag(Ẋ, On)
390
- return Ṫ
391
-
392
- # Compute the operator to change the representation of ν, and its
393
- # time derivative.
394
- match data.velocity_representation:
395
- case VelRepr.Inertial:
396
- W_H_W = jnp.eye(4)
397
- W_X_W = Adjoint.from_transform(transform=W_H_W)
398
- W_Ẋ_W = jnp.zeros((6, 6))
399
-
400
- T = compute_T(model=model, X=W_X_W)
401
- Ṫ = compute_Ṫ(model=model, Ẋ=W_Ẋ_W)
402
-
403
- case VelRepr.Body:
404
- W_H_B = data._base_transform
405
- W_X_B = Adjoint.from_transform(transform=W_H_B)
406
- B_v_WB = data.base_velocity
407
- B_vx_WB = Cross.vx(B_v_WB)
408
- W_Ẋ_B = W_X_B @ B_vx_WB
409
-
410
- T = compute_T(model=model, X=W_X_B)
411
- Ṫ = compute_Ṫ(model=model, Ẋ=W_Ẋ_B)
412
-
413
- case VelRepr.Mixed:
414
- W_H_B = data._base_transform
415
- W_H_BW = W_H_B.at[0:3, 0:3].set(jnp.eye(3))
416
- W_X_BW = Adjoint.from_transform(transform=W_H_BW)
417
- BW_v_WB = data.base_velocity
418
- BW_v_W_BW = BW_v_WB.at[3:6].set(jnp.zeros(3))
419
- BW_vx_W_BW = Cross.vx(BW_v_W_BW)
420
- W_Ẋ_BW = W_X_BW @ BW_vx_W_BW
421
-
422
- T = compute_T(model=model, X=W_X_BW)
423
- Ṫ = compute_Ṫ(model=model, Ẋ=W_Ẋ_BW)
424
-
425
- case _:
426
- raise ValueError(data.velocity_representation)
383
+ W_H_L = data._link_transforms[L]
384
+ L_H_F = model.kin_dyn_parameters.frame_parameters.transform[
385
+ frame_index - model.number_of_links()
386
+ ]
387
+ W_H_F = W_H_L @ L_H_F
427
388
 
428
389
  # =====================================================
429
390
  # Compute quantities to adjust the output representation
430
391
  # =====================================================
431
392
 
393
+ W_v_WF = W_J_WL_I @ data.generalized_velocity
394
+
432
395
  match output_vel_repr:
433
396
  case VelRepr.Inertial:
434
- O_X_W = W_X_W = Adjoint.from_transform(transform=jnp.eye(4))
435
- O_Ẋ_W = W_Ẋ_W = jnp.zeros((6, 6))
397
+ O_X_W = jnp.eye(6, dtype=W_H_F.dtype)
398
+ O_Ẋ_W = jnp.zeros((6, 6), dtype=W_H_F.dtype)
436
399
 
437
400
  case VelRepr.Body:
438
- W_H_F = transform(model=model, data=data, frame_index=frame_index)
439
- O_X_W = F_X_W = Adjoint.from_transform(transform=W_H_F, inverse=True)
440
- with data.switch_velocity_representation(VelRepr.Inertial):
441
- W_nu = data.generalized_velocity
442
- W_v_WF = W_J_WL_W @ W_nu
443
- W_vx_WF = Cross.vx(W_v_WF)
444
- O_Ẋ_W = F_Ẋ_W = -F_X_W @ W_vx_WF # noqa: F841
401
+ O_X_W = Adjoint.from_rotation_and_translation(
402
+ rotation=W_H_F[0:3, 0:3],
403
+ translation=W_H_F[0:3, 3],
404
+ inverse=True,
405
+ )
406
+ O_Ẋ_W = -O_X_W @ Cross.vx(W_v_WF)
445
407
 
446
408
  case VelRepr.Mixed:
447
- W_H_F = transform(model=model, data=data, frame_index=frame_index)
448
- W_H_FW = W_H_F.at[0:3, 0:3].set(jnp.eye(3))
449
- FW_H_W = Transform.inverse(W_H_FW)
450
- O_X_W = FW_X_W = Adjoint.from_transform(transform=FW_H_W)
451
- with data.switch_velocity_representation(VelRepr.Mixed):
452
- FW_J_WF_FW = jacobian(
453
- model=model,
454
- data=data,
455
- frame_index=frame_index,
456
- output_vel_repr=VelRepr.Mixed,
457
- )
458
- FW_v_WF = FW_J_WF_FW @ data.generalized_velocity
459
- W_v_W_FW = jnp.zeros(6).at[0:3].set(FW_v_WF[0:3])
460
- W_vx_W_FW = Cross.vx(W_v_W_FW)
461
- O_Ẋ_W = FW_Ẋ_W = -FW_X_W @ W_vx_W_FW # noqa: F841
409
+ O_X_W = Adjoint.from_rotation_and_translation(
410
+ rotation=jnp.eye(3, dtype=W_H_F.dtype),
411
+ translation=W_H_F[0:3, 3],
412
+ inverse=True,
413
+ )
414
+ FW_v_WF = O_X_W @ W_v_WF
415
+ W_v_W_FW = FW_v_WF.at[3:6].set(jnp.zeros_like(FW_v_WF[3:6]))
416
+ O_Ẋ_W = -O_X_W @ Cross.vx(W_v_W_FW)
462
417
 
463
418
  case _:
464
419
  raise ValueError(output_vel_repr)
465
420
 
466
- O_J̇_WF_I = jnp.zeros(shape=(6, 6 + model.dofs()))
467
- O_J̇_WF_I += O_Ẋ_W @ W_J_WL_W @ T
468
- O_J̇_WF_I += O_X_W @ W_J̇_WL_W @ T
469
- O_J̇_WF_I += O_X_W @ W_J_WL_W @ Ṫ
421
+ O_J̇_WF_I = O_Ẋ_W @ W_J_WL_I
422
+ O_J̇_WF_I += O_X_W @ W_J̇_WL_I
470
423
 
471
424
  return O_J̇_WF_I