neuromorphic-drivers 0.1.0__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.
- neuromorphic_drivers-0.1.0/Cargo.lock +455 -0
- neuromorphic_drivers-0.1.0/Cargo.toml +13 -0
- neuromorphic_drivers-0.1.0/LICENSE +21 -0
- neuromorphic_drivers-0.1.0/PKG-INFO +15 -0
- neuromorphic_drivers-0.1.0/README.md +1 -0
- neuromorphic_drivers-0.1.0/local_dependencies/neuromorphic-drivers/Cargo.toml +20 -0
- neuromorphic_drivers-0.1.0/local_dependencies/neuromorphic-drivers/src/devices/prophesee_evk4.rs +46 -0
- neuromorphic_drivers-0.1.0/local_dependencies/neuromorphic-drivers/src/devices.rs +1 -0
- neuromorphic_drivers-0.1.0/local_dependencies/neuromorphic-drivers/src/event.rs +0 -0
- neuromorphic_drivers-0.1.0/local_dependencies/neuromorphic-drivers/src/lib.rs +2 -0
- neuromorphic_drivers-0.1.0/local_dependencies/neuromorphic-drivers/src/properties.rs +7 -0
- neuromorphic_drivers-0.1.0/local_dependencies/neuromorphic-drivers/src/traits.rs +4 -0
- neuromorphic_drivers-0.1.0/pyproject.toml +21 -0
- neuromorphic_drivers-0.1.0/src/lib.rs +4 -0
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 3
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "autocfg"
|
|
7
|
+
version = "1.1.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "bitflags"
|
|
13
|
+
version = "1.3.2"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "cc"
|
|
19
|
+
version = "1.0.79"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "cfg-if"
|
|
25
|
+
version = "1.0.0"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "indoc"
|
|
31
|
+
version = "1.0.9"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306"
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "itoa"
|
|
37
|
+
version = "1.0.6"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"
|
|
40
|
+
|
|
41
|
+
[[package]]
|
|
42
|
+
name = "libc"
|
|
43
|
+
version = "0.2.143"
|
|
44
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
+
checksum = "edc207893e85c5d6be840e969b496b53d94cec8be2d501b214f50daa97fa8024"
|
|
46
|
+
|
|
47
|
+
[[package]]
|
|
48
|
+
name = "libusb1-sys"
|
|
49
|
+
version = "0.6.4"
|
|
50
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
51
|
+
checksum = "f9d0e2afce4245f2c9a418511e5af8718bcaf2fa408aefb259504d1a9cb25f27"
|
|
52
|
+
dependencies = [
|
|
53
|
+
"cc",
|
|
54
|
+
"libc",
|
|
55
|
+
"pkg-config",
|
|
56
|
+
"vcpkg",
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
[[package]]
|
|
60
|
+
name = "lock_api"
|
|
61
|
+
version = "0.4.9"
|
|
62
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
63
|
+
checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df"
|
|
64
|
+
dependencies = [
|
|
65
|
+
"autocfg",
|
|
66
|
+
"scopeguard",
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
[[package]]
|
|
70
|
+
name = "matrixmultiply"
|
|
71
|
+
version = "0.3.7"
|
|
72
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
73
|
+
checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77"
|
|
74
|
+
dependencies = [
|
|
75
|
+
"autocfg",
|
|
76
|
+
"rawpointer",
|
|
77
|
+
]
|
|
78
|
+
|
|
79
|
+
[[package]]
|
|
80
|
+
name = "memoffset"
|
|
81
|
+
version = "0.8.0"
|
|
82
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
83
|
+
checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
|
|
84
|
+
dependencies = [
|
|
85
|
+
"autocfg",
|
|
86
|
+
]
|
|
87
|
+
|
|
88
|
+
[[package]]
|
|
89
|
+
name = "ndarray"
|
|
90
|
+
version = "0.15.6"
|
|
91
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
92
|
+
checksum = "adb12d4e967ec485a5f71c6311fe28158e9d6f4bc4a447b474184d0f91a8fa32"
|
|
93
|
+
dependencies = [
|
|
94
|
+
"matrixmultiply",
|
|
95
|
+
"num-complex",
|
|
96
|
+
"num-integer",
|
|
97
|
+
"num-traits",
|
|
98
|
+
"rawpointer",
|
|
99
|
+
]
|
|
100
|
+
|
|
101
|
+
[[package]]
|
|
102
|
+
name = "neuromorphic-drivers"
|
|
103
|
+
version = "0.1.1"
|
|
104
|
+
dependencies = [
|
|
105
|
+
"neuromorphic-types 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
106
|
+
"rusb",
|
|
107
|
+
"serde",
|
|
108
|
+
"serde_json",
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
[[package]]
|
|
112
|
+
name = "neuromorphic-types"
|
|
113
|
+
version = "0.1.1"
|
|
114
|
+
|
|
115
|
+
[[package]]
|
|
116
|
+
name = "neuromorphic-types"
|
|
117
|
+
version = "0.1.1"
|
|
118
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
119
|
+
checksum = "3578673effd250cd8202be5fa025c879ce7868d9faea12881f351ea1e477ea5a"
|
|
120
|
+
|
|
121
|
+
[[package]]
|
|
122
|
+
name = "num-complex"
|
|
123
|
+
version = "0.4.3"
|
|
124
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
125
|
+
checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d"
|
|
126
|
+
dependencies = [
|
|
127
|
+
"num-traits",
|
|
128
|
+
]
|
|
129
|
+
|
|
130
|
+
[[package]]
|
|
131
|
+
name = "num-integer"
|
|
132
|
+
version = "0.1.45"
|
|
133
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
134
|
+
checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
|
|
135
|
+
dependencies = [
|
|
136
|
+
"autocfg",
|
|
137
|
+
"num-traits",
|
|
138
|
+
]
|
|
139
|
+
|
|
140
|
+
[[package]]
|
|
141
|
+
name = "num-traits"
|
|
142
|
+
version = "0.2.15"
|
|
143
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
144
|
+
checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
|
|
145
|
+
dependencies = [
|
|
146
|
+
"autocfg",
|
|
147
|
+
]
|
|
148
|
+
|
|
149
|
+
[[package]]
|
|
150
|
+
name = "once_cell"
|
|
151
|
+
version = "1.17.1"
|
|
152
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
153
|
+
checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
|
|
154
|
+
|
|
155
|
+
[[package]]
|
|
156
|
+
name = "parking_lot"
|
|
157
|
+
version = "0.12.1"
|
|
158
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
159
|
+
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
|
160
|
+
dependencies = [
|
|
161
|
+
"lock_api",
|
|
162
|
+
"parking_lot_core",
|
|
163
|
+
]
|
|
164
|
+
|
|
165
|
+
[[package]]
|
|
166
|
+
name = "parking_lot_core"
|
|
167
|
+
version = "0.9.7"
|
|
168
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
169
|
+
checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521"
|
|
170
|
+
dependencies = [
|
|
171
|
+
"cfg-if",
|
|
172
|
+
"libc",
|
|
173
|
+
"redox_syscall",
|
|
174
|
+
"smallvec",
|
|
175
|
+
"windows-sys",
|
|
176
|
+
]
|
|
177
|
+
|
|
178
|
+
[[package]]
|
|
179
|
+
name = "pkg-config"
|
|
180
|
+
version = "0.3.27"
|
|
181
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
182
|
+
checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
|
|
183
|
+
|
|
184
|
+
[[package]]
|
|
185
|
+
name = "proc-macro2"
|
|
186
|
+
version = "1.0.56"
|
|
187
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
188
|
+
checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435"
|
|
189
|
+
dependencies = [
|
|
190
|
+
"unicode-ident",
|
|
191
|
+
]
|
|
192
|
+
|
|
193
|
+
[[package]]
|
|
194
|
+
name = "pyo3"
|
|
195
|
+
version = "0.18.3"
|
|
196
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
197
|
+
checksum = "e3b1ac5b3731ba34fdaa9785f8d74d17448cd18f30cf19e0c7e7b1fdb5272109"
|
|
198
|
+
dependencies = [
|
|
199
|
+
"cfg-if",
|
|
200
|
+
"indoc",
|
|
201
|
+
"libc",
|
|
202
|
+
"memoffset",
|
|
203
|
+
"parking_lot",
|
|
204
|
+
"pyo3-build-config",
|
|
205
|
+
"pyo3-ffi",
|
|
206
|
+
"pyo3-macros",
|
|
207
|
+
"unindent",
|
|
208
|
+
]
|
|
209
|
+
|
|
210
|
+
[[package]]
|
|
211
|
+
name = "pyo3-build-config"
|
|
212
|
+
version = "0.18.3"
|
|
213
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
+
checksum = "9cb946f5ac61bb61a5014924910d936ebd2b23b705f7a4a3c40b05c720b079a3"
|
|
215
|
+
dependencies = [
|
|
216
|
+
"once_cell",
|
|
217
|
+
"target-lexicon",
|
|
218
|
+
]
|
|
219
|
+
|
|
220
|
+
[[package]]
|
|
221
|
+
name = "pyo3-ffi"
|
|
222
|
+
version = "0.18.3"
|
|
223
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
+
checksum = "fd4d7c5337821916ea2a1d21d1092e8443cf34879e53a0ac653fbb98f44ff65c"
|
|
225
|
+
dependencies = [
|
|
226
|
+
"libc",
|
|
227
|
+
"pyo3-build-config",
|
|
228
|
+
]
|
|
229
|
+
|
|
230
|
+
[[package]]
|
|
231
|
+
name = "pyo3-macros"
|
|
232
|
+
version = "0.18.3"
|
|
233
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
+
checksum = "a9d39c55dab3fc5a4b25bbd1ac10a2da452c4aca13bb450f22818a002e29648d"
|
|
235
|
+
dependencies = [
|
|
236
|
+
"proc-macro2",
|
|
237
|
+
"pyo3-macros-backend",
|
|
238
|
+
"quote",
|
|
239
|
+
"syn 1.0.109",
|
|
240
|
+
]
|
|
241
|
+
|
|
242
|
+
[[package]]
|
|
243
|
+
name = "pyo3-macros-backend"
|
|
244
|
+
version = "0.18.3"
|
|
245
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
+
checksum = "97daff08a4c48320587b5224cc98d609e3c27b6d437315bd40b605c98eeb5918"
|
|
247
|
+
dependencies = [
|
|
248
|
+
"proc-macro2",
|
|
249
|
+
"quote",
|
|
250
|
+
"syn 1.0.109",
|
|
251
|
+
]
|
|
252
|
+
|
|
253
|
+
[[package]]
|
|
254
|
+
name = "python"
|
|
255
|
+
version = "0.1.0"
|
|
256
|
+
dependencies = [
|
|
257
|
+
"ndarray",
|
|
258
|
+
"neuromorphic-drivers",
|
|
259
|
+
"pyo3",
|
|
260
|
+
]
|
|
261
|
+
|
|
262
|
+
[[package]]
|
|
263
|
+
name = "quote"
|
|
264
|
+
version = "1.0.26"
|
|
265
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
266
|
+
checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc"
|
|
267
|
+
dependencies = [
|
|
268
|
+
"proc-macro2",
|
|
269
|
+
]
|
|
270
|
+
|
|
271
|
+
[[package]]
|
|
272
|
+
name = "rawpointer"
|
|
273
|
+
version = "0.2.1"
|
|
274
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
+
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
276
|
+
|
|
277
|
+
[[package]]
|
|
278
|
+
name = "redox_syscall"
|
|
279
|
+
version = "0.2.16"
|
|
280
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
281
|
+
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
|
|
282
|
+
dependencies = [
|
|
283
|
+
"bitflags",
|
|
284
|
+
]
|
|
285
|
+
|
|
286
|
+
[[package]]
|
|
287
|
+
name = "rusb"
|
|
288
|
+
version = "0.9.2"
|
|
289
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
290
|
+
checksum = "44a8c36914f9b1a3be712c1dfa48c9b397131f9a75707e570a391735f785c5d1"
|
|
291
|
+
dependencies = [
|
|
292
|
+
"libc",
|
|
293
|
+
"libusb1-sys",
|
|
294
|
+
]
|
|
295
|
+
|
|
296
|
+
[[package]]
|
|
297
|
+
name = "ryu"
|
|
298
|
+
version = "1.0.13"
|
|
299
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
300
|
+
checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041"
|
|
301
|
+
|
|
302
|
+
[[package]]
|
|
303
|
+
name = "scopeguard"
|
|
304
|
+
version = "1.1.0"
|
|
305
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
306
|
+
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
|
307
|
+
|
|
308
|
+
[[package]]
|
|
309
|
+
name = "serde"
|
|
310
|
+
version = "1.0.162"
|
|
311
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
312
|
+
checksum = "71b2f6e1ab5c2b98c05f0f35b236b22e8df7ead6ffbf51d7808da7f8817e7ab6"
|
|
313
|
+
dependencies = [
|
|
314
|
+
"serde_derive",
|
|
315
|
+
]
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "serde_derive"
|
|
319
|
+
version = "1.0.162"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "a2a0814352fd64b58489904a44ea8d90cb1a91dcb6b4f5ebabc32c8318e93cb6"
|
|
322
|
+
dependencies = [
|
|
323
|
+
"proc-macro2",
|
|
324
|
+
"quote",
|
|
325
|
+
"syn 2.0.15",
|
|
326
|
+
]
|
|
327
|
+
|
|
328
|
+
[[package]]
|
|
329
|
+
name = "serde_json"
|
|
330
|
+
version = "1.0.96"
|
|
331
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
332
|
+
checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1"
|
|
333
|
+
dependencies = [
|
|
334
|
+
"itoa",
|
|
335
|
+
"ryu",
|
|
336
|
+
"serde",
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "smallvec"
|
|
341
|
+
version = "1.10.0"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
|
|
344
|
+
|
|
345
|
+
[[package]]
|
|
346
|
+
name = "syn"
|
|
347
|
+
version = "1.0.109"
|
|
348
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
349
|
+
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
|
350
|
+
dependencies = [
|
|
351
|
+
"proc-macro2",
|
|
352
|
+
"quote",
|
|
353
|
+
"unicode-ident",
|
|
354
|
+
]
|
|
355
|
+
|
|
356
|
+
[[package]]
|
|
357
|
+
name = "syn"
|
|
358
|
+
version = "2.0.15"
|
|
359
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
360
|
+
checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822"
|
|
361
|
+
dependencies = [
|
|
362
|
+
"proc-macro2",
|
|
363
|
+
"quote",
|
|
364
|
+
"unicode-ident",
|
|
365
|
+
]
|
|
366
|
+
|
|
367
|
+
[[package]]
|
|
368
|
+
name = "target-lexicon"
|
|
369
|
+
version = "0.12.7"
|
|
370
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
371
|
+
checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5"
|
|
372
|
+
|
|
373
|
+
[[package]]
|
|
374
|
+
name = "unicode-ident"
|
|
375
|
+
version = "1.0.8"
|
|
376
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
377
|
+
checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
|
|
378
|
+
|
|
379
|
+
[[package]]
|
|
380
|
+
name = "unindent"
|
|
381
|
+
version = "0.1.11"
|
|
382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
+
checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c"
|
|
384
|
+
|
|
385
|
+
[[package]]
|
|
386
|
+
name = "vcpkg"
|
|
387
|
+
version = "0.2.15"
|
|
388
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
389
|
+
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
|
390
|
+
|
|
391
|
+
[[package]]
|
|
392
|
+
name = "windows-sys"
|
|
393
|
+
version = "0.45.0"
|
|
394
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
395
|
+
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
|
|
396
|
+
dependencies = [
|
|
397
|
+
"windows-targets",
|
|
398
|
+
]
|
|
399
|
+
|
|
400
|
+
[[package]]
|
|
401
|
+
name = "windows-targets"
|
|
402
|
+
version = "0.42.2"
|
|
403
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
404
|
+
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
|
|
405
|
+
dependencies = [
|
|
406
|
+
"windows_aarch64_gnullvm",
|
|
407
|
+
"windows_aarch64_msvc",
|
|
408
|
+
"windows_i686_gnu",
|
|
409
|
+
"windows_i686_msvc",
|
|
410
|
+
"windows_x86_64_gnu",
|
|
411
|
+
"windows_x86_64_gnullvm",
|
|
412
|
+
"windows_x86_64_msvc",
|
|
413
|
+
]
|
|
414
|
+
|
|
415
|
+
[[package]]
|
|
416
|
+
name = "windows_aarch64_gnullvm"
|
|
417
|
+
version = "0.42.2"
|
|
418
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
419
|
+
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
|
|
420
|
+
|
|
421
|
+
[[package]]
|
|
422
|
+
name = "windows_aarch64_msvc"
|
|
423
|
+
version = "0.42.2"
|
|
424
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
425
|
+
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
|
|
426
|
+
|
|
427
|
+
[[package]]
|
|
428
|
+
name = "windows_i686_gnu"
|
|
429
|
+
version = "0.42.2"
|
|
430
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
431
|
+
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
|
|
432
|
+
|
|
433
|
+
[[package]]
|
|
434
|
+
name = "windows_i686_msvc"
|
|
435
|
+
version = "0.42.2"
|
|
436
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
437
|
+
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
|
|
438
|
+
|
|
439
|
+
[[package]]
|
|
440
|
+
name = "windows_x86_64_gnu"
|
|
441
|
+
version = "0.42.2"
|
|
442
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
443
|
+
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
|
|
444
|
+
|
|
445
|
+
[[package]]
|
|
446
|
+
name = "windows_x86_64_gnullvm"
|
|
447
|
+
version = "0.42.2"
|
|
448
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
449
|
+
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
|
|
450
|
+
|
|
451
|
+
[[package]]
|
|
452
|
+
name = "windows_x86_64_msvc"
|
|
453
|
+
version = "0.42.2"
|
|
454
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
+
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "python"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2021"
|
|
5
|
+
|
|
6
|
+
[lib]
|
|
7
|
+
name = "neuromorphic_drivers"
|
|
8
|
+
crate-type = ["cdylib"]
|
|
9
|
+
|
|
10
|
+
[dependencies]
|
|
11
|
+
neuromorphic-drivers = {path = "local_dependencies/neuromorphic-drivers" }
|
|
12
|
+
ndarray = "0.15.6"
|
|
13
|
+
pyo3 = {version = "0.18.3", features = ["extension-module"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 International Centre for Neuromorphic Systems
|
|
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.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: neuromorphic_drivers
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Requires-Dist: numpy>=1.24
|
|
5
|
+
License-File: LICENSE
|
|
6
|
+
Summary: Neuromorphic devices drivers
|
|
7
|
+
Author: International Centre for Neuromorphic Systems, Alexandre Marcireau
|
|
8
|
+
Requires-Python: >=3.8
|
|
9
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
10
|
+
Project-URL: repository, https://github.com/neuromorphicsystems/neuromorphic-rs/
|
|
11
|
+
Project-URL: documentation, https://github.com/neuromorphicsystems/neuromorphic-rs/
|
|
12
|
+
Project-URL: homepage, https://github.com/neuromorphicsystems/neuromorphic-rs/
|
|
13
|
+
|
|
14
|
+
# neuromorphic_drivers
|
|
15
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# neuromorphic_drivers
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "neuromorphic-drivers"
|
|
3
|
+
authors = [
|
|
4
|
+
"International Centre for Neuromorphic Systems",
|
|
5
|
+
"Alexandre Marcireau",
|
|
6
|
+
]
|
|
7
|
+
description = "Neuromorphic devices drivers"
|
|
8
|
+
version = "0.1.1"
|
|
9
|
+
edition = "2021"
|
|
10
|
+
license-file = "../LICENSE"
|
|
11
|
+
homepage = "https://github.com/neuromorphicsystems/neuromorphic-rs/"
|
|
12
|
+
repository = "https://github.com/neuromorphicsystems/neuromorphic-rs/"
|
|
13
|
+
documentation = "https://docs.rs/neuromorphic-drivers/"
|
|
14
|
+
readme = "../README.md"
|
|
15
|
+
|
|
16
|
+
[dependencies]
|
|
17
|
+
neuromorphic-types = "0.1"
|
|
18
|
+
rusb = "0.9"
|
|
19
|
+
serde = {version = "1.0", features = ["derive"]}
|
|
20
|
+
serde_json = "1.0"
|
neuromorphic_drivers-0.1.0/local_dependencies/neuromorphic-drivers/src/devices/prophesee_evk4.rs
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
use crate::properties;
|
|
2
|
+
|
|
3
|
+
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
|
4
|
+
pub struct Biases {
|
|
5
|
+
pub pr: u8,
|
|
6
|
+
pub fo: u8,
|
|
7
|
+
pub hpf: u8,
|
|
8
|
+
pub diff_on: u8,
|
|
9
|
+
pub diff: u8,
|
|
10
|
+
pub diff_off: u8,
|
|
11
|
+
pub inv: u8,
|
|
12
|
+
pub refr: u8,
|
|
13
|
+
pub reqpuy: u8,
|
|
14
|
+
pub reqpux: u8,
|
|
15
|
+
pub sendreqpdy: u8,
|
|
16
|
+
pub unknown_1: u8,
|
|
17
|
+
pub unknown_2: u8,
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
|
21
|
+
pub struct Configuration {
|
|
22
|
+
pub biases: Biases,
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
pub const PROPERTIES: properties::Camera<Configuration> = properties::Camera::<Configuration> {
|
|
26
|
+
name: "Prophesee EVK4",
|
|
27
|
+
width: 1280,
|
|
28
|
+
height: 720,
|
|
29
|
+
default_configuration: Configuration {
|
|
30
|
+
biases: Biases {
|
|
31
|
+
pr: 0x7C,
|
|
32
|
+
fo: 0x53,
|
|
33
|
+
hpf: 0x00,
|
|
34
|
+
diff_on: 0x66,
|
|
35
|
+
diff: 0x4D,
|
|
36
|
+
diff_off: 0x49,
|
|
37
|
+
inv: 0x5B,
|
|
38
|
+
refr: 0x14,
|
|
39
|
+
reqpuy: 0x8C,
|
|
40
|
+
reqpux: 0x7C,
|
|
41
|
+
sendreqpdy: 0x94,
|
|
42
|
+
unknown_1: 0x74,
|
|
43
|
+
unknown_2: 0x51,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pub mod prophesee_evk4;
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "neuromorphic_drivers"
|
|
3
|
+
description = "Neuromorphic devices drivers"
|
|
4
|
+
readme = "README.md"
|
|
5
|
+
license = {file = "LICENSE"}
|
|
6
|
+
authors = [
|
|
7
|
+
{name = "International Centre for Neuromorphic Systems"},
|
|
8
|
+
{name = "Alexandre Marcireau"},
|
|
9
|
+
]
|
|
10
|
+
version = "0.1.0"
|
|
11
|
+
requires-python = ">=3.8"
|
|
12
|
+
dependencies = ["numpy>=1.24"]
|
|
13
|
+
|
|
14
|
+
[project.urls]
|
|
15
|
+
homepage = "https://github.com/neuromorphicsystems/neuromorphic-rs/"
|
|
16
|
+
repository = "https://github.com/neuromorphicsystems/neuromorphic-rs/"
|
|
17
|
+
documentation = "https://github.com/neuromorphicsystems/neuromorphic-rs/"
|
|
18
|
+
|
|
19
|
+
[build-system]
|
|
20
|
+
requires = ["maturin>=0.12", "numpy"]
|
|
21
|
+
build-backend = "maturin"
|