com.shinolab.autd3-sdk.core 0.4.0 → 0.6.0
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.
- package/AssemblyInfo.cs +1 -2
- package/Command.cs +0 -2
- package/Config.cs +3 -0
- package/Geometry.cs +11 -7
- package/Native.cs +90 -0
- package/Plugins/linux-x64/libautd3_core.so +0 -0
- package/Plugins/osx-arm64/libautd3_core.dylib +0 -0
- package/Plugins/win-x64/autd3_core.dll +0 -0
- package/README.md +1 -33
- package/SamplingConfig.cs +0 -3
- package/THIRD-PARTY-LICENSES.md +283 -5
- package/Types.cs +0 -1
- package/package.json +1 -1
package/AssemblyInfo.cs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
using System.Runtime.CompilerServices;
|
|
2
2
|
|
|
3
|
-
// Declared in source (not as csproj <InternalsVisibleTo> items) so that Unity, which
|
|
4
|
-
// compiles these sources via an .asmdef and never sees the csproj, grants the same access.
|
|
5
3
|
[assembly: InternalsVisibleTo("AUTD3")]
|
|
6
4
|
[assembly: InternalsVisibleTo("AUTD3.Pattern")]
|
|
7
5
|
[assembly: InternalsVisibleTo("AUTD3.Pattern.Holo")]
|
|
8
6
|
[assembly: InternalsVisibleTo("AUTD3.Modulation")]
|
|
7
|
+
[assembly: InternalsVisibleTo("AUTD3.Link.Echocat")]
|
|
9
8
|
[assembly: InternalsVisibleTo("AUTD3.Link.Ethercrab")]
|
|
10
9
|
[assembly: InternalsVisibleTo("AUTD3.Link.Soem")]
|
|
11
10
|
[assembly: InternalsVisibleTo("AUTD3.Link.Remote")]
|
package/Command.cs
CHANGED
package/Config.cs
CHANGED
|
@@ -63,6 +63,8 @@ namespace AUTD3
|
|
|
63
63
|
|
|
64
64
|
public static TransitionMode Ext => new TransitionMode(0xF0, 0);
|
|
65
65
|
|
|
66
|
+
public static TransitionMode Later => new TransitionMode(0xFE, 0);
|
|
67
|
+
|
|
66
68
|
public static TransitionMode Immediate => new TransitionMode(0xFF, 0);
|
|
67
69
|
}
|
|
68
70
|
|
|
@@ -74,5 +76,6 @@ namespace AUTD3
|
|
|
74
76
|
DispatchError = 0x03,
|
|
75
77
|
Processed = 0x04,
|
|
76
78
|
Failsafe = 0x05,
|
|
79
|
+
SyncResync = 0x06,
|
|
77
80
|
}
|
|
78
81
|
}
|
package/Geometry.cs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
using System;
|
|
2
|
+
using System.Threading;
|
|
2
3
|
using System.Collections;
|
|
3
4
|
using System.Collections.Generic;
|
|
4
5
|
using System.Numerics;
|
|
@@ -7,7 +8,9 @@ namespace AUTD3
|
|
|
7
8
|
{
|
|
8
9
|
public sealed class Geometry : IDisposable, IEnumerable<Device>
|
|
9
10
|
{
|
|
10
|
-
|
|
11
|
+
private IntPtr _handle;
|
|
12
|
+
|
|
13
|
+
internal IntPtr Handle => _handle;
|
|
11
14
|
|
|
12
15
|
public Geometry(IReadOnlyList<Autd3> devices)
|
|
13
16
|
{
|
|
@@ -21,7 +24,7 @@ namespace AUTD3
|
|
|
21
24
|
{
|
|
22
25
|
throw new Autd3Exception("failed to create geometry");
|
|
23
26
|
}
|
|
24
|
-
|
|
27
|
+
_handle = handle;
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
public int NumDevices => (int)NativeCore.autd3_core_geometry_num_devices(Handle);
|
|
@@ -55,19 +58,20 @@ namespace AUTD3
|
|
|
55
58
|
|
|
56
59
|
public void Dispose()
|
|
57
60
|
{
|
|
58
|
-
|
|
61
|
+
var handle = Interlocked.Exchange(ref _handle, IntPtr.Zero);
|
|
62
|
+
if (handle != IntPtr.Zero)
|
|
59
63
|
{
|
|
60
|
-
NativeCore.autd3_core_geometry_free(
|
|
61
|
-
Handle = IntPtr.Zero;
|
|
64
|
+
NativeCore.autd3_core_geometry_free(handle);
|
|
62
65
|
}
|
|
63
66
|
GC.SuppressFinalize(this);
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
~Geometry()
|
|
67
70
|
{
|
|
68
|
-
|
|
71
|
+
var handle = Interlocked.Exchange(ref _handle, IntPtr.Zero);
|
|
72
|
+
if (handle != IntPtr.Zero)
|
|
69
73
|
{
|
|
70
|
-
NativeCore.autd3_core_geometry_free(
|
|
74
|
+
NativeCore.autd3_core_geometry_free(handle);
|
|
71
75
|
}
|
|
72
76
|
}
|
|
73
77
|
}
|
package/Native.cs
CHANGED
|
@@ -8,6 +8,11 @@ namespace AUTD3
|
|
|
8
8
|
{
|
|
9
9
|
private const string Lib = "autd3_core";
|
|
10
10
|
|
|
11
|
+
static NativeCore() => NativeAbi.Verify(Lib, autd3_abi_version());
|
|
12
|
+
|
|
13
|
+
[DllImport(Lib)]
|
|
14
|
+
private static extern uint autd3_abi_version();
|
|
15
|
+
|
|
11
16
|
[StructLayout(LayoutKind.Sequential)]
|
|
12
17
|
internal struct Autd3Device
|
|
13
18
|
{
|
|
@@ -88,6 +93,91 @@ namespace AUTD3
|
|
|
88
93
|
internal static extern void autd3_core_sampling_config_free(IntPtr config);
|
|
89
94
|
}
|
|
90
95
|
|
|
96
|
+
internal static class NativeAbi
|
|
97
|
+
{
|
|
98
|
+
internal const ushort Major = 1;
|
|
99
|
+
internal const ushort Minor = 0;
|
|
100
|
+
|
|
101
|
+
internal const int ErrorBufferLength = 1024;
|
|
102
|
+
|
|
103
|
+
internal static void Verify(string library, uint actual)
|
|
104
|
+
{
|
|
105
|
+
var expected = ((uint)Major << 16) | Minor;
|
|
106
|
+
if (actual == expected)
|
|
107
|
+
{
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
throw new Autd3Exception(
|
|
111
|
+
$"native library '{library}' reports C ABI version {actual >> 16}.{actual & 0xFFFF}, " +
|
|
112
|
+
$"but this binding requires {Major}.{Minor}. " +
|
|
113
|
+
"The managed package and the native library are from different releases.");
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
internal static class LinkOptionNative
|
|
118
|
+
{
|
|
119
|
+
internal delegate int SetDurationFn(IntPtr option, ulong ns);
|
|
120
|
+
|
|
121
|
+
internal delegate int GetDurationFn(IntPtr option, out ulong ns);
|
|
122
|
+
|
|
123
|
+
internal delegate int SetOptionalDurationFn(IntPtr option, [MarshalAs(UnmanagedType.I1)] bool hasValue, ulong ns);
|
|
124
|
+
|
|
125
|
+
internal delegate int GetOptionalDurationFn(IntPtr option, [MarshalAs(UnmanagedType.I1)] out bool hasValue, out ulong ns);
|
|
126
|
+
|
|
127
|
+
internal delegate IntPtr OpenFn(IntPtr option, byte[] outErr, UIntPtr outErrLen);
|
|
128
|
+
|
|
129
|
+
internal static void Apply(string field, int code)
|
|
130
|
+
{
|
|
131
|
+
if (code != 0)
|
|
132
|
+
{
|
|
133
|
+
throw new Autd3Exception($"`{field}` is out of the range the native library accepts");
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
internal static void SetDuration(IntPtr option, string field, TimeSpan? value, SetDurationFn set)
|
|
138
|
+
{
|
|
139
|
+
if (value is { } v)
|
|
140
|
+
{
|
|
141
|
+
Apply(field, set(option, ToNanos(v)));
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
internal static void SetOptionalDuration(IntPtr option, string field, TimeSpan? value, SetOptionalDurationFn set)
|
|
146
|
+
{
|
|
147
|
+
Apply(field, set(option, value.HasValue, value.HasValue ? ToNanos(value.Value) : 0UL));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
internal static TimeSpan GetDuration(IntPtr option, GetDurationFn get)
|
|
151
|
+
{
|
|
152
|
+
Apply("preset", get(option, out var ns));
|
|
153
|
+
return FromNanos(ns);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
internal static TimeSpan? GetOptionalDuration(IntPtr option, GetOptionalDurationFn get)
|
|
157
|
+
{
|
|
158
|
+
Apply("preset", get(option, out var hasValue, out var ns));
|
|
159
|
+
return hasValue ? FromNanos(ns) : (TimeSpan?)null;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
internal static IntPtr TakeOpener(string link, IntPtr option, OpenFn open)
|
|
163
|
+
{
|
|
164
|
+
var err = new byte[NativeAbi.ErrorBufferLength];
|
|
165
|
+
var opener = open(option, err, (UIntPtr)err.Length);
|
|
166
|
+
if (opener == IntPtr.Zero)
|
|
167
|
+
{
|
|
168
|
+
var reason = NativeUtil.Utf8(err);
|
|
169
|
+
throw new Autd3Exception(reason.Length == 0
|
|
170
|
+
? $"failed to create {link} link"
|
|
171
|
+
: $"failed to create {link} link: {reason}");
|
|
172
|
+
}
|
|
173
|
+
return opener;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
internal static ulong ToNanos(TimeSpan value) => (ulong)value.Ticks * 100UL;
|
|
177
|
+
|
|
178
|
+
internal static TimeSpan FromNanos(ulong ns) => TimeSpan.FromTicks((long)(ns / 100));
|
|
179
|
+
}
|
|
180
|
+
|
|
91
181
|
internal static class NativeUtil
|
|
92
182
|
{
|
|
93
183
|
internal static string Utf8(byte[] buffer)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/README.md
CHANGED
|
@@ -2,39 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Core types, geometry and units shared by every AUTD3 package.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Add the scoped registry and the package to `Packages/manifest.json`; sibling
|
|
8
|
-
AUTD3 packages are resolved from the registry automatically.
|
|
9
|
-
|
|
10
|
-
```json
|
|
11
|
-
{
|
|
12
|
-
"scopedRegistries": [
|
|
13
|
-
{ "name": "npmjs", "url": "https://registry.npmjs.org", "scopes": ["com.shinolab"] }
|
|
14
|
-
],
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"com.shinolab.autd3-sdk.core": "0.1.0"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Packages served from `registry.npmjs.org` do **not** appear in the Package Manager's
|
|
22
|
-
*My Registries* tab, because npmjs does not implement the legacy `/-/all` route that
|
|
23
|
-
Unity's package listing relies on. Resolution is unaffected: edit the manifest as above,
|
|
24
|
-
or use **+ → Add package by name**.
|
|
25
|
-
|
|
26
|
-
## Platforms
|
|
27
|
-
|
|
28
|
-
Editor and Standalone builds on Windows (`win-x64`), Linux (`linux-x64`) and Apple
|
|
29
|
-
Silicon macOS (`osx-arm64`). Intel macOS is not shipped.
|
|
30
|
-
|
|
31
|
-
## Notes
|
|
32
|
-
|
|
33
|
-
Minimum Unity version is 6 (6000.x). The API speaks Unity's left-handed, metre frame;
|
|
34
|
-
conversion to the AUTD3 canonical frame happens at the binding boundary.
|
|
35
|
-
|
|
36
|
-
See the [Unity binding README](https://github.com/shinolab/autd3-sdk/blob/main/bindings/unity/README.md) for the
|
|
37
|
-
coordinate system, the full package list and local development with `file:` references.
|
|
5
|
+
See the [Unity binding README](https://github.com/shinolab/autd3-sdk/blob/main/bindings/unity/README.md) for more details.
|
|
38
6
|
|
|
39
7
|
## License
|
|
40
8
|
|
package/SamplingConfig.cs
CHANGED
package/THIRD-PARTY-LICENSES.md
CHANGED
|
@@ -5,7 +5,7 @@ The following is a list of those components and the full text of their licenses.
|
|
|
5
5
|
|
|
6
6
|
## Overview
|
|
7
7
|
|
|
8
|
-
- MIT License (
|
|
8
|
+
- MIT License (49)
|
|
9
9
|
- Apache License 2.0 (3)
|
|
10
10
|
- Unicode License v3 (1)
|
|
11
11
|
|
|
@@ -437,6 +437,77 @@ Used by:
|
|
|
437
437
|
|
|
438
438
|
Used by:
|
|
439
439
|
|
|
440
|
+
- cfg-if 1.0.4 — https://github.com/rust-lang/cfg-if
|
|
441
|
+
|
|
442
|
+
```
|
|
443
|
+
Copyright (c) 2014 Alex Crichton
|
|
444
|
+
|
|
445
|
+
Permission is hereby granted, free of charge, to any
|
|
446
|
+
person obtaining a copy of this software and associated
|
|
447
|
+
documentation files (the "Software"), to deal in the
|
|
448
|
+
Software without restriction, including without
|
|
449
|
+
limitation the rights to use, copy, modify, merge,
|
|
450
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
451
|
+
the Software, and to permit persons to whom the Software
|
|
452
|
+
is furnished to do so, subject to the following
|
|
453
|
+
conditions:
|
|
454
|
+
|
|
455
|
+
The above copyright notice and this permission notice
|
|
456
|
+
shall be included in all copies or substantial portions
|
|
457
|
+
of the Software.
|
|
458
|
+
|
|
459
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
460
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
461
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
462
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
463
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
464
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
465
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
466
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
467
|
+
DEALINGS IN THE SOFTWARE.
|
|
468
|
+
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
## MIT License
|
|
472
|
+
|
|
473
|
+
Used by:
|
|
474
|
+
|
|
475
|
+
- core_affinity 0.8.3 — https://github.com/Elzair/core_affinity_rs
|
|
476
|
+
|
|
477
|
+
```
|
|
478
|
+
Copyright (c) 2014 The Rust Project Developers
|
|
479
|
+
|
|
480
|
+
Permission is hereby granted, free of charge, to any
|
|
481
|
+
person obtaining a copy of this software and associated
|
|
482
|
+
documentation files (the "Software"), to deal in the
|
|
483
|
+
Software without restriction, including without
|
|
484
|
+
limitation the rights to use, copy, modify, merge,
|
|
485
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
486
|
+
the Software, and to permit persons to whom the Software
|
|
487
|
+
is furnished to do so, subject to the following
|
|
488
|
+
conditions:
|
|
489
|
+
|
|
490
|
+
The above copyright notice and this permission notice
|
|
491
|
+
shall be included in all copies or substantial portions
|
|
492
|
+
of the Software.
|
|
493
|
+
|
|
494
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
495
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
496
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
497
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
498
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
499
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
500
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
501
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
502
|
+
DEALINGS IN THE SOFTWARE.
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
## MIT License
|
|
506
|
+
|
|
507
|
+
Used by:
|
|
508
|
+
|
|
509
|
+
- bitflags 2.13.0 — https://github.com/bitflags/bitflags
|
|
510
|
+
- log 0.4.33 — https://github.com/rust-lang/log
|
|
440
511
|
- num-complex 0.4.6 — https://github.com/rust-num/num-complex
|
|
441
512
|
- num-integer 0.1.46 — https://github.com/rust-num/num-integer
|
|
442
513
|
- num-rational 0.4.2 — https://github.com/rust-num/num-rational
|
|
@@ -504,6 +575,65 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
|
504
575
|
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
505
576
|
DEALINGS IN THE SOFTWARE.
|
|
506
577
|
|
|
578
|
+
```
|
|
579
|
+
|
|
580
|
+
## MIT License
|
|
581
|
+
|
|
582
|
+
Used by:
|
|
583
|
+
|
|
584
|
+
- winapi 0.3.9 — https://github.com/retep998/winapi-rs
|
|
585
|
+
|
|
586
|
+
```
|
|
587
|
+
Copyright (c) 2015-2018 The winapi-rs Developers
|
|
588
|
+
|
|
589
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
590
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
591
|
+
in the Software without restriction, including without limitation the rights
|
|
592
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
593
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
594
|
+
furnished to do so, subject to the following conditions:
|
|
595
|
+
|
|
596
|
+
The above copyright notice and this permission notice shall be included in all
|
|
597
|
+
copies or substantial portions of the Software.
|
|
598
|
+
|
|
599
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
600
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
601
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
602
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
603
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
604
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
605
|
+
SOFTWARE.
|
|
606
|
+
|
|
607
|
+
```
|
|
608
|
+
|
|
609
|
+
## MIT License
|
|
610
|
+
|
|
611
|
+
Used by:
|
|
612
|
+
|
|
613
|
+
- num_cpus 1.17.0 — https://github.com/seanmonstar/num_cpus
|
|
614
|
+
|
|
615
|
+
```
|
|
616
|
+
Copyright (c) 2015-2025 Sean McArthur
|
|
617
|
+
|
|
618
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
619
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
620
|
+
in the Software without restriction, including without limitation the rights
|
|
621
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
622
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
623
|
+
furnished to do so, subject to the following conditions:
|
|
624
|
+
|
|
625
|
+
The above copyright notice and this permission notice shall be included in
|
|
626
|
+
all copies or substantial portions of the Software.
|
|
627
|
+
|
|
628
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
629
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
630
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
631
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
632
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
633
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
634
|
+
THE SOFTWARE.
|
|
635
|
+
|
|
636
|
+
|
|
507
637
|
```
|
|
508
638
|
|
|
509
639
|
## MIT License
|
|
@@ -547,6 +677,77 @@ DEALINGS IN THE SOFTWARE.
|
|
|
547
677
|
|
|
548
678
|
Used by:
|
|
549
679
|
|
|
680
|
+
- tracing-core 0.1.36 — https://github.com/tokio-rs/tracing
|
|
681
|
+
- tracing 0.1.44 — https://github.com/tokio-rs/tracing
|
|
682
|
+
|
|
683
|
+
```
|
|
684
|
+
Copyright (c) 2019 Tokio Contributors
|
|
685
|
+
|
|
686
|
+
Permission is hereby granted, free of charge, to any
|
|
687
|
+
person obtaining a copy of this software and associated
|
|
688
|
+
documentation files (the "Software"), to deal in the
|
|
689
|
+
Software without restriction, including without
|
|
690
|
+
limitation the rights to use, copy, modify, merge,
|
|
691
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
692
|
+
the Software, and to permit persons to whom the Software
|
|
693
|
+
is furnished to do so, subject to the following
|
|
694
|
+
conditions:
|
|
695
|
+
|
|
696
|
+
The above copyright notice and this permission notice
|
|
697
|
+
shall be included in all copies or substantial portions
|
|
698
|
+
of the Software.
|
|
699
|
+
|
|
700
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
701
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
702
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
703
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
704
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
705
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
706
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
707
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
708
|
+
DEALINGS IN THE SOFTWARE.
|
|
709
|
+
|
|
710
|
+
```
|
|
711
|
+
|
|
712
|
+
## MIT License
|
|
713
|
+
|
|
714
|
+
Used by:
|
|
715
|
+
|
|
716
|
+
- libc 0.2.186 — https://github.com/rust-lang/libc
|
|
717
|
+
|
|
718
|
+
```
|
|
719
|
+
Copyright (c) The Rust Project Developers
|
|
720
|
+
|
|
721
|
+
Permission is hereby granted, free of charge, to any
|
|
722
|
+
person obtaining a copy of this software and associated
|
|
723
|
+
documentation files (the "Software"), to deal in the
|
|
724
|
+
Software without restriction, including without
|
|
725
|
+
limitation the rights to use, copy, modify, merge,
|
|
726
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
727
|
+
the Software, and to permit persons to whom the Software
|
|
728
|
+
is furnished to do so, subject to the following
|
|
729
|
+
conditions:
|
|
730
|
+
|
|
731
|
+
The above copyright notice and this permission notice
|
|
732
|
+
shall be included in all copies or substantial portions
|
|
733
|
+
of the Software.
|
|
734
|
+
|
|
735
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
736
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
737
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
738
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
739
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
740
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
741
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
742
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
743
|
+
DEALINGS IN THE SOFTWARE.
|
|
744
|
+
|
|
745
|
+
```
|
|
746
|
+
|
|
747
|
+
## MIT License
|
|
748
|
+
|
|
749
|
+
Used by:
|
|
750
|
+
|
|
550
751
|
- zerocopy-derive 0.8.52 — https://github.com/google/zerocopy
|
|
551
752
|
- zerocopy 0.8.52 — https://github.com/google/zerocopy
|
|
552
753
|
|
|
@@ -578,6 +779,37 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
578
779
|
DEALINGS IN THE SOFTWARE.
|
|
579
780
|
|
|
580
781
|
|
|
782
|
+
```
|
|
783
|
+
|
|
784
|
+
## MIT License
|
|
785
|
+
|
|
786
|
+
Used by:
|
|
787
|
+
|
|
788
|
+
- thread-priority 3.1.1 — https://github.com/iddm/thread-priority
|
|
789
|
+
|
|
790
|
+
```
|
|
791
|
+
MIT License
|
|
792
|
+
|
|
793
|
+
Copyright (c) 2017 Victor Polevoy
|
|
794
|
+
|
|
795
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
796
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
797
|
+
in the Software without restriction, including without limitation the rights
|
|
798
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
799
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
800
|
+
furnished to do so, subject to the following conditions:
|
|
801
|
+
|
|
802
|
+
The above copyright notice and this permission notice shall be included in all
|
|
803
|
+
copies or substantial portions of the Software.
|
|
804
|
+
|
|
805
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
806
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
807
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
808
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
809
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
810
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
811
|
+
SOFTWARE.
|
|
812
|
+
|
|
581
813
|
```
|
|
582
814
|
|
|
583
815
|
## MIT License
|
|
@@ -622,12 +854,55 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
622
854
|
|
|
623
855
|
Used by:
|
|
624
856
|
|
|
625
|
-
- autd3-
|
|
626
|
-
- autd3-
|
|
627
|
-
|
|
628
|
-
|
|
857
|
+
- autd3-rs-core 0.6.0 — https://github.com/shinolab/autd3-sdk
|
|
858
|
+
- autd3-cpu-wire 0.6.0 — https://github.com/shinolab/autd3-sdk
|
|
859
|
+
|
|
860
|
+
```
|
|
861
|
+
MIT License
|
|
862
|
+
|
|
863
|
+
Copyright (c) 2026 Shun Suzuki
|
|
864
|
+
|
|
865
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
866
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
867
|
+
in the Software without restriction, including without limitation the rights
|
|
868
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
869
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
870
|
+
furnished to do so, subject to the following conditions:
|
|
871
|
+
|
|
872
|
+
The above copyright notice and this permission notice shall be included in all
|
|
873
|
+
copies or substantial portions of the Software.
|
|
874
|
+
|
|
875
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
876
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
877
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
878
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
879
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
880
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
881
|
+
SOFTWARE.
|
|
882
|
+
|
|
883
|
+
```
|
|
884
|
+
|
|
885
|
+
## MIT License
|
|
886
|
+
|
|
887
|
+
Used by:
|
|
888
|
+
|
|
889
|
+
- autd3-ffi-abi 0.6.0 — https://github.com/shinolab/autd3-sdk
|
|
890
|
+
- autd3-ffi-core 0.6.0 — https://github.com/shinolab/autd3-sdk
|
|
629
891
|
- chrono 0.4.45 — https://github.com/chronotope/chrono
|
|
630
892
|
- wide 1.5.0 — https://github.com/Lokathor/wide
|
|
893
|
+
- winapi-i686-pc-windows-gnu 0.4.0 — https://github.com/retep998/winapi-rs
|
|
894
|
+
- winapi-x86_64-pc-windows-gnu 0.4.0 — https://github.com/retep998/winapi-rs
|
|
895
|
+
- windows-collections 0.3.2 — https://github.com/microsoft/windows-rs
|
|
896
|
+
- windows-core 0.62.2 — https://github.com/microsoft/windows-rs
|
|
897
|
+
- windows-future 0.3.2 — https://github.com/microsoft/windows-rs
|
|
898
|
+
- windows-implement 0.60.2 — https://github.com/microsoft/windows-rs
|
|
899
|
+
- windows-interface 0.59.3 — https://github.com/microsoft/windows-rs
|
|
900
|
+
- windows-link 0.2.1 — https://github.com/microsoft/windows-rs
|
|
901
|
+
- windows-numerics 0.3.1 — https://github.com/microsoft/windows-rs
|
|
902
|
+
- windows-result 0.4.1 — https://github.com/microsoft/windows-rs
|
|
903
|
+
- windows-strings 0.5.1 — https://github.com/microsoft/windows-rs
|
|
904
|
+
- windows-threading 0.2.1 — https://github.com/microsoft/windows-rs
|
|
905
|
+
- windows 0.62.2 — https://github.com/microsoft/windows-rs
|
|
631
906
|
|
|
632
907
|
```
|
|
633
908
|
MIT License
|
|
@@ -655,8 +930,11 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
655
930
|
|
|
656
931
|
Used by:
|
|
657
932
|
|
|
933
|
+
- hermit-abi 0.5.2 — https://github.com/hermit-os/hermit-rs
|
|
934
|
+
- pin-project-lite 0.2.17 — https://github.com/taiki-e/pin-project-lite
|
|
658
935
|
- proc-macro2 1.0.106 — https://github.com/dtolnay/proc-macro2
|
|
659
936
|
- quote 1.0.46 — https://github.com/dtolnay/quote
|
|
937
|
+
- rustversion 1.0.22 — https://github.com/dtolnay/rustversion
|
|
660
938
|
- syn 2.0.118 — https://github.com/dtolnay/syn
|
|
661
939
|
- thiserror-impl 2.0.18 — https://github.com/dtolnay/thiserror
|
|
662
940
|
- thiserror 2.0.18 — https://github.com/dtolnay/thiserror
|
package/Types.cs
CHANGED
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "git+https://github.com/shinolab/autd3-sdk.git",
|
|
6
6
|
"directory": "bindings/unity/com.shinolab.autd3-sdk.core"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.6.0",
|
|
9
9
|
"displayName": "AUTD3 Core",
|
|
10
10
|
"description": "AUTD3 core types, geometry and units (Unity binding).",
|
|
11
11
|
"unity": "6000.0",
|