com.shinolab.autd3-sdk.pattern.holo 0.8.0 → 0.9.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/Holo.cs
CHANGED
|
@@ -102,20 +102,6 @@ namespace AUTD3.Holo
|
|
|
102
102
|
public float Multiply;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
public readonly struct TransducerMask
|
|
106
|
-
{
|
|
107
|
-
internal bool[][]? Mask { get; }
|
|
108
|
-
|
|
109
|
-
private TransducerMask(bool[][]? mask)
|
|
110
|
-
{
|
|
111
|
-
Mask = mask;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
public static TransducerMask AllEnabled => new TransducerMask(null);
|
|
115
|
-
|
|
116
|
-
public static TransducerMask Masked(bool[][] mask) => new TransducerMask(mask);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
105
|
public readonly struct NaiveOption
|
|
120
106
|
{
|
|
121
107
|
public EmissionConstraint Constraint { get; }
|
|
@@ -278,6 +264,10 @@ namespace AUTD3.Holo
|
|
|
278
264
|
{
|
|
279
265
|
return null;
|
|
280
266
|
}
|
|
267
|
+
if (mask.Length != numDevices)
|
|
268
|
+
{
|
|
269
|
+
throw new Autd3Exception($"the mask has {mask.Length} device slots but the buffer has {numDevices} devices");
|
|
270
|
+
}
|
|
281
271
|
var flat = new byte[numDevices * Autd3.NumTransducers];
|
|
282
272
|
for (var d = 0; d < numDevices; d++)
|
|
283
273
|
{
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/THIRD-PARTY-LICENSES.md
CHANGED
|
@@ -1068,9 +1068,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
1068
1068
|
|
|
1069
1069
|
Used by:
|
|
1070
1070
|
|
|
1071
|
-
- autd3-rs-core 0.
|
|
1072
|
-
- autd3-rs-pattern-holo 0.
|
|
1073
|
-
- autd3-cpu-wire 0.
|
|
1071
|
+
- autd3-rs-core 0.9.0 — https://github.com/shinolab/autd3-sdk
|
|
1072
|
+
- autd3-rs-pattern-holo 0.9.0 — https://github.com/shinolab/autd3-sdk
|
|
1073
|
+
- autd3-cpu-wire 0.9.0 — https://github.com/shinolab/autd3-sdk
|
|
1074
1074
|
|
|
1075
1075
|
```
|
|
1076
1076
|
MIT License
|
|
@@ -1101,8 +1101,8 @@ SOFTWARE.
|
|
|
1101
1101
|
|
|
1102
1102
|
Used by:
|
|
1103
1103
|
|
|
1104
|
-
- autd3-ffi-abi 0.
|
|
1105
|
-
- autd3-ffi-pattern-holo 0.
|
|
1104
|
+
- autd3-ffi-abi 0.9.0 — https://github.com/shinolab/autd3-sdk
|
|
1105
|
+
- autd3-ffi-pattern-holo 0.9.0 — https://github.com/shinolab/autd3-sdk
|
|
1106
1106
|
- chrono 0.4.45 — https://github.com/chronotope/chrono
|
|
1107
1107
|
- r-efi 6.0.0 — https://github.com/r-efi/r-efi
|
|
1108
1108
|
- wide 1.5.0 — https://github.com/Lokathor/wide
|
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.pattern.holo"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.9.0",
|
|
9
9
|
"displayName": "AUTD3 Pattern Holo",
|
|
10
10
|
"description": "AUTD3 multi-focus holographic patterns (Unity binding).",
|
|
11
11
|
"unity": "6000.0",
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"url": "https://github.com/shinolab"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"com.shinolab.autd3-sdk.pattern": "0.
|
|
18
|
+
"com.shinolab.autd3-sdk.pattern": "0.9.0"
|
|
19
19
|
}
|
|
20
20
|
}
|