dexi-rs 0.1.1__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 (91) hide show
  1. dexi_rs-0.1.1/Cargo.lock +505 -0
  2. dexi_rs-0.1.1/Cargo.toml +13 -0
  3. dexi_rs-0.1.1/LICENSE +21 -0
  4. dexi_rs-0.1.1/PKG-INFO +76 -0
  5. dexi_rs-0.1.1/README.md +55 -0
  6. dexi_rs-0.1.1/THIRD_PARTY_NOTICES.md +22 -0
  7. dexi_rs-0.1.1/crates/dexi/Cargo.toml +33 -0
  8. dexi_rs-0.1.1/crates/dexi/src/constants.rs +52 -0
  9. dexi_rs-0.1.1/crates/dexi/src/filter.rs +37 -0
  10. dexi_rs-0.1.1/crates/dexi/src/kinematics_adaptor.rs +74 -0
  11. dexi_rs-0.1.1/crates/dexi/src/lib.rs +22 -0
  12. dexi_rs-0.1.1/crates/dexi/src/optimizer.rs +1041 -0
  13. dexi_rs-0.1.1/crates/dexi/src/retargeting_config.rs +564 -0
  14. dexi_rs-0.1.1/crates/dexi/src/robot_wrapper.rs +444 -0
  15. dexi_rs-0.1.1/crates/dexi/src/seq_retarget.rs +114 -0
  16. dexi_rs-0.1.1/crates/dexi/src/urdf.rs +340 -0
  17. dexi_rs-0.1.1/crates/dexi/tests/test_config_parsing.rs +175 -0
  18. dexi_rs-0.1.1/crates/dexi/tests/test_optimizer.rs +563 -0
  19. dexi_rs-0.1.1/crates/dexi/tests/test_python_comparison.rs +17 -0
  20. dexi_rs-0.1.1/crates/dexi-py/Cargo.toml +19 -0
  21. dexi_rs-0.1.1/crates/dexi-py/LICENSE +21 -0
  22. dexi_rs-0.1.1/crates/dexi-py/README.md +55 -0
  23. dexi_rs-0.1.1/crates/dexi-py/THIRD_PARTY_NOTICES.md +22 -0
  24. dexi_rs-0.1.1/crates/dexi-py/src/lib.rs +169 -0
  25. dexi_rs-0.1.1/pyproject.toml +39 -0
  26. dexi_rs-0.1.1/python/dexi_py/__init__.py +106 -0
  27. dexi_rs-0.1.1/python/dexi_py/resources/__init__.py +1 -0
  28. dexi_rs-0.1.1/python/dexi_py/resources/assets/__init__.py +1 -0
  29. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/__init__.py +1 -0
  30. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/__init__.py +1 -0
  31. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/ability_hand/LICENSE.txt +6 -0
  32. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/ability_hand/ability_hand_left.urdf +475 -0
  33. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/ability_hand/ability_hand_right.urdf +475 -0
  34. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/allegro_hand/LICENSE +15 -0
  35. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/allegro_hand/allegro_hand_left.urdf +543 -0
  36. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/allegro_hand/allegro_hand_right.urdf +542 -0
  37. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/inspire_hand/LICENSE.txt +6 -0
  38. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/inspire_hand/inspire_hand_left.urdf +420 -0
  39. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/inspire_hand/inspire_hand_right.urdf +419 -0
  40. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/leap_hand/LICENSE.txt +14 -0
  41. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/leap_hand/leap_hand_left.urdf +812 -0
  42. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/leap_hand/leap_hand_right.urdf +812 -0
  43. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/panda_gripper/panda_gripper_glb.urdf +125 -0
  44. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/schunk_hand/LICENSE +677 -0
  45. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/schunk_hand/schunk_svh_hand_left.urdf +574 -0
  46. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/schunk_hand/schunk_svh_hand_right.urdf +574 -0
  47. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/shadow_hand/LICENSE +205 -0
  48. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/shadow_hand/shadow_hand_left.urdf +896 -0
  49. dexi_rs-0.1.1/python/dexi_py/resources/assets/robots/hands/shadow_hand/shadow_hand_right.urdf +894 -0
  50. dexi_rs-0.1.1/python/dexi_py/resources/configs/__init__.py +1 -0
  51. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/__init__.py +1 -0
  52. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/ability_hand_left.yml +16 -0
  53. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/ability_hand_right.yml +16 -0
  54. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/allegro_hand_left.yml +14 -0
  55. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/allegro_hand_right.yml +14 -0
  56. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/inspire_hand_left.yml +17 -0
  57. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/inspire_hand_right.yml +17 -0
  58. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/leap_hand_left.yml +13 -0
  59. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/leap_hand_right.yml +13 -0
  60. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/panda_gripper.yml +16 -0
  61. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/schunk_svh_hand_left.yml +16 -0
  62. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/schunk_svh_hand_right.yml +16 -0
  63. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/shadow_hand_left.yml +14 -0
  64. dexi_rs-0.1.1/python/dexi_py/resources/configs/offline/shadow_hand_right.yml +14 -0
  65. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/__init__.py +1 -0
  66. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/ability_hand_left.yml +16 -0
  67. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/ability_hand_left_dexpilot.yml +12 -0
  68. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/ability_hand_right.yml +16 -0
  69. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/ability_hand_right_dexpilot.yml +12 -0
  70. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/allegro_hand_left.yml +15 -0
  71. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/allegro_hand_left_dexpilot.yml +11 -0
  72. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/allegro_hand_right.yml +15 -0
  73. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/allegro_hand_right_dexpilot.yml +11 -0
  74. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/inspire_hand_left.yml +17 -0
  75. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/inspire_hand_left_dexpilot.yml +13 -0
  76. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/inspire_hand_right.yml +17 -0
  77. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/inspire_hand_right_dexpilot.yml +13 -0
  78. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/leap_hand_left.yml +15 -0
  79. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/leap_hand_left_dexpilot.yml +11 -0
  80. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/leap_hand_right.yml +15 -0
  81. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/leap_hand_right_dexpilot.yml +11 -0
  82. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/panda_gripper.yml +16 -0
  83. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/panda_gripper_dexpilot.yml +12 -0
  84. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/schunk_svh_hand_left.yml +19 -0
  85. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/schunk_svh_hand_left_dexpilot.yml +14 -0
  86. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/schunk_svh_hand_right.yml +19 -0
  87. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/schunk_svh_hand_right_dexpilot.yml +14 -0
  88. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/shadow_hand_left.yml +15 -0
  89. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/shadow_hand_left_dexpilot.yml +11 -0
  90. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/shadow_hand_right.yml +15 -0
  91. dexi_rs-0.1.1/python/dexi_py/resources/configs/teleop/shadow_hand_right_dexpilot.yml +11 -0
@@ -0,0 +1,505 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "approx"
7
+ version = "0.5.1"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
10
+ dependencies = [
11
+ "num-traits",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "autocfg"
16
+ version = "1.5.0"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
19
+
20
+ [[package]]
21
+ name = "bytemuck"
22
+ version = "1.25.0"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec"
25
+
26
+ [[package]]
27
+ name = "cfg-if"
28
+ version = "1.0.4"
29
+ source = "registry+https://github.com/rust-lang/crates.io-index"
30
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
31
+
32
+ [[package]]
33
+ name = "dexi"
34
+ version = "0.1.1"
35
+ dependencies = [
36
+ "approx",
37
+ "nalgebra",
38
+ "rand",
39
+ "roxmltree",
40
+ "serde",
41
+ "serde_yaml",
42
+ "slsqp",
43
+ "thiserror",
44
+ ]
45
+
46
+ [[package]]
47
+ name = "dexi-py"
48
+ version = "0.1.1"
49
+ dependencies = [
50
+ "dexi",
51
+ "nalgebra",
52
+ "pyo3",
53
+ ]
54
+
55
+ [[package]]
56
+ name = "equivalent"
57
+ version = "1.0.2"
58
+ source = "registry+https://github.com/rust-lang/crates.io-index"
59
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
60
+
61
+ [[package]]
62
+ name = "getrandom"
63
+ version = "0.2.17"
64
+ source = "registry+https://github.com/rust-lang/crates.io-index"
65
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
66
+ dependencies = [
67
+ "cfg-if",
68
+ "libc",
69
+ "wasi",
70
+ ]
71
+
72
+ [[package]]
73
+ name = "hashbrown"
74
+ version = "0.17.1"
75
+ source = "registry+https://github.com/rust-lang/crates.io-index"
76
+ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
77
+
78
+ [[package]]
79
+ name = "heck"
80
+ version = "0.5.0"
81
+ source = "registry+https://github.com/rust-lang/crates.io-index"
82
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
83
+
84
+ [[package]]
85
+ name = "indexmap"
86
+ version = "2.14.0"
87
+ source = "registry+https://github.com/rust-lang/crates.io-index"
88
+ checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
89
+ dependencies = [
90
+ "equivalent",
91
+ "hashbrown",
92
+ ]
93
+
94
+ [[package]]
95
+ name = "itoa"
96
+ version = "1.0.18"
97
+ source = "registry+https://github.com/rust-lang/crates.io-index"
98
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
99
+
100
+ [[package]]
101
+ name = "libc"
102
+ version = "0.2.186"
103
+ source = "registry+https://github.com/rust-lang/crates.io-index"
104
+ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
105
+
106
+ [[package]]
107
+ name = "matrixmultiply"
108
+ version = "0.3.10"
109
+ source = "registry+https://github.com/rust-lang/crates.io-index"
110
+ checksum = "a06de3016e9fae57a36fd14dba131fccf49f74b40b7fbdb472f96e361ec71a08"
111
+ dependencies = [
112
+ "autocfg",
113
+ "rawpointer",
114
+ ]
115
+
116
+ [[package]]
117
+ name = "nalgebra"
118
+ version = "0.33.3"
119
+ source = "registry+https://github.com/rust-lang/crates.io-index"
120
+ checksum = "9d43ddcacf343185dfd6de2ee786d9e8b1c2301622afab66b6c73baf9882abfd"
121
+ dependencies = [
122
+ "approx",
123
+ "matrixmultiply",
124
+ "nalgebra-macros",
125
+ "num-complex",
126
+ "num-rational",
127
+ "num-traits",
128
+ "simba",
129
+ "typenum",
130
+ ]
131
+
132
+ [[package]]
133
+ name = "nalgebra-macros"
134
+ version = "0.2.2"
135
+ source = "registry+https://github.com/rust-lang/crates.io-index"
136
+ checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc"
137
+ dependencies = [
138
+ "proc-macro2",
139
+ "quote",
140
+ "syn",
141
+ ]
142
+
143
+ [[package]]
144
+ name = "num-bigint"
145
+ version = "0.4.6"
146
+ source = "registry+https://github.com/rust-lang/crates.io-index"
147
+ checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
148
+ dependencies = [
149
+ "num-integer",
150
+ "num-traits",
151
+ ]
152
+
153
+ [[package]]
154
+ name = "num-complex"
155
+ version = "0.4.6"
156
+ source = "registry+https://github.com/rust-lang/crates.io-index"
157
+ checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
158
+ dependencies = [
159
+ "num-traits",
160
+ ]
161
+
162
+ [[package]]
163
+ name = "num-integer"
164
+ version = "0.1.46"
165
+ source = "registry+https://github.com/rust-lang/crates.io-index"
166
+ checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
167
+ dependencies = [
168
+ "num-traits",
169
+ ]
170
+
171
+ [[package]]
172
+ name = "num-rational"
173
+ version = "0.4.2"
174
+ source = "registry+https://github.com/rust-lang/crates.io-index"
175
+ checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
176
+ dependencies = [
177
+ "num-bigint",
178
+ "num-integer",
179
+ "num-traits",
180
+ ]
181
+
182
+ [[package]]
183
+ name = "num-traits"
184
+ version = "0.2.19"
185
+ source = "registry+https://github.com/rust-lang/crates.io-index"
186
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
187
+ dependencies = [
188
+ "autocfg",
189
+ ]
190
+
191
+ [[package]]
192
+ name = "once_cell"
193
+ version = "1.21.4"
194
+ source = "registry+https://github.com/rust-lang/crates.io-index"
195
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
196
+
197
+ [[package]]
198
+ name = "paste"
199
+ version = "1.0.15"
200
+ source = "registry+https://github.com/rust-lang/crates.io-index"
201
+ checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
202
+
203
+ [[package]]
204
+ name = "portable-atomic"
205
+ version = "1.13.1"
206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
207
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
208
+
209
+ [[package]]
210
+ name = "ppv-lite86"
211
+ version = "0.2.21"
212
+ source = "registry+https://github.com/rust-lang/crates.io-index"
213
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
214
+ dependencies = [
215
+ "zerocopy",
216
+ ]
217
+
218
+ [[package]]
219
+ name = "proc-macro2"
220
+ version = "1.0.106"
221
+ source = "registry+https://github.com/rust-lang/crates.io-index"
222
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
223
+ dependencies = [
224
+ "unicode-ident",
225
+ ]
226
+
227
+ [[package]]
228
+ name = "pyo3"
229
+ version = "0.28.3"
230
+ source = "registry+https://github.com/rust-lang/crates.io-index"
231
+ checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
232
+ dependencies = [
233
+ "libc",
234
+ "once_cell",
235
+ "portable-atomic",
236
+ "pyo3-build-config",
237
+ "pyo3-ffi",
238
+ "pyo3-macros",
239
+ ]
240
+
241
+ [[package]]
242
+ name = "pyo3-build-config"
243
+ version = "0.28.3"
244
+ source = "registry+https://github.com/rust-lang/crates.io-index"
245
+ checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
246
+ dependencies = [
247
+ "target-lexicon",
248
+ ]
249
+
250
+ [[package]]
251
+ name = "pyo3-ffi"
252
+ version = "0.28.3"
253
+ source = "registry+https://github.com/rust-lang/crates.io-index"
254
+ checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
255
+ dependencies = [
256
+ "libc",
257
+ "pyo3-build-config",
258
+ ]
259
+
260
+ [[package]]
261
+ name = "pyo3-macros"
262
+ version = "0.28.3"
263
+ source = "registry+https://github.com/rust-lang/crates.io-index"
264
+ checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
265
+ dependencies = [
266
+ "proc-macro2",
267
+ "pyo3-macros-backend",
268
+ "quote",
269
+ "syn",
270
+ ]
271
+
272
+ [[package]]
273
+ name = "pyo3-macros-backend"
274
+ version = "0.28.3"
275
+ source = "registry+https://github.com/rust-lang/crates.io-index"
276
+ checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
277
+ dependencies = [
278
+ "heck",
279
+ "proc-macro2",
280
+ "pyo3-build-config",
281
+ "quote",
282
+ "syn",
283
+ ]
284
+
285
+ [[package]]
286
+ name = "quote"
287
+ version = "1.0.45"
288
+ source = "registry+https://github.com/rust-lang/crates.io-index"
289
+ checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
290
+ dependencies = [
291
+ "proc-macro2",
292
+ ]
293
+
294
+ [[package]]
295
+ name = "rand"
296
+ version = "0.8.6"
297
+ source = "registry+https://github.com/rust-lang/crates.io-index"
298
+ checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a"
299
+ dependencies = [
300
+ "libc",
301
+ "rand_chacha",
302
+ "rand_core",
303
+ ]
304
+
305
+ [[package]]
306
+ name = "rand_chacha"
307
+ version = "0.3.1"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
310
+ dependencies = [
311
+ "ppv-lite86",
312
+ "rand_core",
313
+ ]
314
+
315
+ [[package]]
316
+ name = "rand_core"
317
+ version = "0.6.4"
318
+ source = "registry+https://github.com/rust-lang/crates.io-index"
319
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
320
+ dependencies = [
321
+ "getrandom",
322
+ ]
323
+
324
+ [[package]]
325
+ name = "rawpointer"
326
+ version = "0.2.1"
327
+ source = "registry+https://github.com/rust-lang/crates.io-index"
328
+ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
329
+
330
+ [[package]]
331
+ name = "roxmltree"
332
+ version = "0.20.0"
333
+ source = "registry+https://github.com/rust-lang/crates.io-index"
334
+ checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97"
335
+
336
+ [[package]]
337
+ name = "ryu"
338
+ version = "1.0.23"
339
+ source = "registry+https://github.com/rust-lang/crates.io-index"
340
+ checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
341
+
342
+ [[package]]
343
+ name = "safe_arch"
344
+ version = "0.7.4"
345
+ source = "registry+https://github.com/rust-lang/crates.io-index"
346
+ checksum = "96b02de82ddbe1b636e6170c21be622223aea188ef2e139be0a5b219ec215323"
347
+ dependencies = [
348
+ "bytemuck",
349
+ ]
350
+
351
+ [[package]]
352
+ name = "serde"
353
+ version = "1.0.228"
354
+ source = "registry+https://github.com/rust-lang/crates.io-index"
355
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
356
+ dependencies = [
357
+ "serde_core",
358
+ "serde_derive",
359
+ ]
360
+
361
+ [[package]]
362
+ name = "serde_core"
363
+ version = "1.0.228"
364
+ source = "registry+https://github.com/rust-lang/crates.io-index"
365
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
366
+ dependencies = [
367
+ "serde_derive",
368
+ ]
369
+
370
+ [[package]]
371
+ name = "serde_derive"
372
+ version = "1.0.228"
373
+ source = "registry+https://github.com/rust-lang/crates.io-index"
374
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
375
+ dependencies = [
376
+ "proc-macro2",
377
+ "quote",
378
+ "syn",
379
+ ]
380
+
381
+ [[package]]
382
+ name = "serde_yaml"
383
+ version = "0.9.34+deprecated"
384
+ source = "registry+https://github.com/rust-lang/crates.io-index"
385
+ checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
386
+ dependencies = [
387
+ "indexmap",
388
+ "itoa",
389
+ "ryu",
390
+ "serde",
391
+ "unsafe-libyaml",
392
+ ]
393
+
394
+ [[package]]
395
+ name = "simba"
396
+ version = "0.9.1"
397
+ source = "registry+https://github.com/rust-lang/crates.io-index"
398
+ checksum = "c99284beb21666094ba2b75bbceda012e610f5479dfcc2d6e2426f53197ffd95"
399
+ dependencies = [
400
+ "approx",
401
+ "num-complex",
402
+ "num-traits",
403
+ "paste",
404
+ "wide",
405
+ ]
406
+
407
+ [[package]]
408
+ name = "slsqp"
409
+ version = "1.0.0"
410
+ source = "registry+https://github.com/rust-lang/crates.io-index"
411
+ checksum = "dd273530124c09a4cec5e5d047811a96742b9956a7ff7be11dc5392ef0d6c8aa"
412
+ dependencies = [
413
+ "libc",
414
+ ]
415
+
416
+ [[package]]
417
+ name = "syn"
418
+ version = "2.0.117"
419
+ source = "registry+https://github.com/rust-lang/crates.io-index"
420
+ checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
421
+ dependencies = [
422
+ "proc-macro2",
423
+ "quote",
424
+ "unicode-ident",
425
+ ]
426
+
427
+ [[package]]
428
+ name = "target-lexicon"
429
+ version = "0.13.5"
430
+ source = "registry+https://github.com/rust-lang/crates.io-index"
431
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
432
+
433
+ [[package]]
434
+ name = "thiserror"
435
+ version = "2.0.18"
436
+ source = "registry+https://github.com/rust-lang/crates.io-index"
437
+ checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
438
+ dependencies = [
439
+ "thiserror-impl",
440
+ ]
441
+
442
+ [[package]]
443
+ name = "thiserror-impl"
444
+ version = "2.0.18"
445
+ source = "registry+https://github.com/rust-lang/crates.io-index"
446
+ checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
447
+ dependencies = [
448
+ "proc-macro2",
449
+ "quote",
450
+ "syn",
451
+ ]
452
+
453
+ [[package]]
454
+ name = "typenum"
455
+ version = "1.20.0"
456
+ source = "registry+https://github.com/rust-lang/crates.io-index"
457
+ checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de"
458
+
459
+ [[package]]
460
+ name = "unicode-ident"
461
+ version = "1.0.24"
462
+ source = "registry+https://github.com/rust-lang/crates.io-index"
463
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
464
+
465
+ [[package]]
466
+ name = "unsafe-libyaml"
467
+ version = "0.2.11"
468
+ source = "registry+https://github.com/rust-lang/crates.io-index"
469
+ checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
470
+
471
+ [[package]]
472
+ name = "wasi"
473
+ version = "0.11.1+wasi-snapshot-preview1"
474
+ source = "registry+https://github.com/rust-lang/crates.io-index"
475
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
476
+
477
+ [[package]]
478
+ name = "wide"
479
+ version = "0.7.33"
480
+ source = "registry+https://github.com/rust-lang/crates.io-index"
481
+ checksum = "0ce5da8ecb62bcd8ec8b7ea19f69a51275e91299be594ea5cc6ef7819e16cd03"
482
+ dependencies = [
483
+ "bytemuck",
484
+ "safe_arch",
485
+ ]
486
+
487
+ [[package]]
488
+ name = "zerocopy"
489
+ version = "0.8.48"
490
+ source = "registry+https://github.com/rust-lang/crates.io-index"
491
+ checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9"
492
+ dependencies = [
493
+ "zerocopy-derive",
494
+ ]
495
+
496
+ [[package]]
497
+ name = "zerocopy-derive"
498
+ version = "0.8.48"
499
+ source = "registry+https://github.com/rust-lang/crates.io-index"
500
+ checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4"
501
+ dependencies = [
502
+ "proc-macro2",
503
+ "quote",
504
+ "syn",
505
+ ]
@@ -0,0 +1,13 @@
1
+ [workspace]
2
+ resolver = "2"
3
+ members = ["crates/dexi", "crates/dexi-py"]
4
+
5
+ [workspace.dependencies]
6
+ nalgebra = "0.33"
7
+ roxmltree = "0.20"
8
+ serde = { version = "1", features = ["derive"] }
9
+ serde_yaml = "0.9"
10
+ thiserror = "2"
11
+ rand = "0.8"
12
+ approx = "0.5"
13
+ slsqp = "1.0"
dexi_rs-0.1.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Dexi contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
dexi_rs-0.1.1/PKG-INFO ADDED
@@ -0,0 +1,76 @@
1
+ Metadata-Version: 2.4
2
+ Name: dexi-rs
3
+ Version: 0.1.1
4
+ Classifier: Development Status :: 3 - Alpha
5
+ Classifier: Intended Audience :: Developers
6
+ Classifier: Intended Audience :: Science/Research
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Rust
10
+ Classifier: Topic :: Scientific/Engineering
11
+ License-File: LICENSE
12
+ Summary: Fast Rust hand retargeting with Python bindings
13
+ Keywords: robotics,retargeting,hand,rust,pyo3
14
+ Home-Page: https://github.com/yuxiang-gao/dexi
15
+ Author: Dexi contributors
16
+ License-Expression: MIT
17
+ Requires-Python: >=3.9
18
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
19
+ Project-URL: Homepage, https://pypi.org/project/dexi-rs/
20
+
21
+ # dexi-rs
22
+
23
+ `dexi-rs` is a fast hand-retargeting package backed by a Rust engine. It loads
24
+ bundled robot-hand YAML configs and URDFs, then maps 3D human-hand targets to
25
+ robot-hand joint positions.
26
+
27
+ Install distribution `dexi-rs`; import module `dexi_py`.
28
+
29
+ ```bash
30
+ uv pip install dexi-rs
31
+ ```
32
+
33
+ ## Quickstart
34
+
35
+ ```python
36
+ import dexi_py
37
+
38
+ cfg = dexi_py.load_config("teleop/allegro_hand_right.yml")
39
+ retargeting = cfg.build()
40
+
41
+ # Four wrist-to-fingertip vectors for this Allegro vector config.
42
+ target = [
43
+ 0.03, -0.02, 0.08,
44
+ 0.04, 0.00, 0.09,
45
+ 0.03, 0.02, 0.085,
46
+ 0.02, 0.04, 0.07,
47
+ ]
48
+ qpos = retargeting.retarget(target)
49
+ print(dict(zip(retargeting.joint_names, qpos)))
50
+ ```
51
+
52
+ ## Resource helpers
53
+
54
+ ```python
55
+ import dexi_py
56
+
57
+ print(dexi_py.available_configs())
58
+ config_path = dexi_py.config_path("teleop/allegro_hand_right.yml")
59
+ asset_root = dexi_py.asset_path("robots/hands")
60
+ ```
61
+
62
+ ## Retargeting API
63
+
64
+ - `RetargetingConfig.from_file(path)` loads an external YAML config.
65
+ - `dexi_py.load_config(name)` loads a bundled config.
66
+ - `config.build()` creates a stateful `SeqRetargeting` instance.
67
+ - `retargeting.retarget(ref_value, fixed_qpos=None)` returns full robot qpos in
68
+ `retargeting.joint_names` order.
69
+ - `retargeting.reset()`, `set_qpos()`, and `get_qpos()` control sequence state.
70
+ - `retargeting.link_positions(qpos, link_names)` returns world-frame 3D points
71
+ for visualization.
72
+
73
+ Bundled config families cover Allegro, Shadow, Schunk SVH, LEAP, Ability,
74
+ Inspire, and Panda gripper hands for position, vector, and DexPilot-style
75
+ retargeting where available.
76
+
@@ -0,0 +1,55 @@
1
+ # dexi-rs
2
+
3
+ `dexi-rs` is a fast hand-retargeting package backed by a Rust engine. It loads
4
+ bundled robot-hand YAML configs and URDFs, then maps 3D human-hand targets to
5
+ robot-hand joint positions.
6
+
7
+ Install distribution `dexi-rs`; import module `dexi_py`.
8
+
9
+ ```bash
10
+ uv pip install dexi-rs
11
+ ```
12
+
13
+ ## Quickstart
14
+
15
+ ```python
16
+ import dexi_py
17
+
18
+ cfg = dexi_py.load_config("teleop/allegro_hand_right.yml")
19
+ retargeting = cfg.build()
20
+
21
+ # Four wrist-to-fingertip vectors for this Allegro vector config.
22
+ target = [
23
+ 0.03, -0.02, 0.08,
24
+ 0.04, 0.00, 0.09,
25
+ 0.03, 0.02, 0.085,
26
+ 0.02, 0.04, 0.07,
27
+ ]
28
+ qpos = retargeting.retarget(target)
29
+ print(dict(zip(retargeting.joint_names, qpos)))
30
+ ```
31
+
32
+ ## Resource helpers
33
+
34
+ ```python
35
+ import dexi_py
36
+
37
+ print(dexi_py.available_configs())
38
+ config_path = dexi_py.config_path("teleop/allegro_hand_right.yml")
39
+ asset_root = dexi_py.asset_path("robots/hands")
40
+ ```
41
+
42
+ ## Retargeting API
43
+
44
+ - `RetargetingConfig.from_file(path)` loads an external YAML config.
45
+ - `dexi_py.load_config(name)` loads a bundled config.
46
+ - `config.build()` creates a stateful `SeqRetargeting` instance.
47
+ - `retargeting.retarget(ref_value, fixed_qpos=None)` returns full robot qpos in
48
+ `retargeting.joint_names` order.
49
+ - `retargeting.reset()`, `set_qpos()`, and `get_qpos()` control sequence state.
50
+ - `retargeting.link_positions(qpos, link_names)` returns world-frame 3D points
51
+ for visualization.
52
+
53
+ Bundled config families cover Allegro, Shadow, Schunk SVH, LEAP, Ability,
54
+ Inspire, and Panda gripper hands for position, vector, and DexPilot-style
55
+ retargeting where available.
@@ -0,0 +1,22 @@
1
+ # Third-party notices
2
+
3
+ Dexi bundles robot-hand YAML configs and URDF files so examples and installed
4
+ wheels work without extra downloads.
5
+
6
+ The bundled assets are derived from upstream open-source hand-retargeting robot
7
+ descriptions and per-hand license files are preserved next to the copied URDFs
8
+ where available:
9
+
10
+ - `assets/robots/hands/ability_hand/LICENSE.txt`
11
+ - `assets/robots/hands/allegro_hand/LICENSE`
12
+ - `assets/robots/hands/inspire_hand/LICENSE.txt`
13
+ - `assets/robots/hands/leap_hand/LICENSE.txt`
14
+ - `assets/robots/hands/schunk_hand/LICENSE`
15
+ - `assets/robots/hands/shadow_hand/LICENSE`
16
+ - The Panda gripper URDF is included from the same upstream asset set; no
17
+ separate adjacent Panda license file was present in that asset tree.
18
+
19
+ Only the YAML configs and URDF files needed by the shipped examples/configs are
20
+ included. Mesh directories are intentionally not packaged because the Rust core
21
+ parses kinematics, limits, and mimic tags from URDFs and the user-facing
22
+ visualization examples render 3D point clouds rather than robot meshes.