@science-corporation/synapse 2.2.9 → 2.3.1
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/dist/api/api.d.ts +1379 -861
- package/dist/api/api.js +4240 -2685
- package/dist/api/proto.json +321 -173
- package/package.json +70 -70
- package/scripts/postinstall.sh +38 -4
- package/src/api/api.d.ts +1379 -861
- package/src/api/api.js +4240 -2685
- package/src/api/proto.json +321 -173
- package/synapse-api/api/datatype.proto +23 -0
- package/synapse-api/api/device.proto +33 -6
- package/synapse-api/api/node.proto +4 -0
- package/synapse-api/api/nodes/camera.proto +18 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package synapse;
|
|
4
|
+
|
|
5
|
+
import "api/datatype.proto";
|
|
6
|
+
|
|
7
|
+
message CameraConfig {
|
|
8
|
+
uint32 peripheral_id = 1;
|
|
9
|
+
uint32 width = 2;
|
|
10
|
+
uint32 height = 3;
|
|
11
|
+
PixelFormat format = 4;
|
|
12
|
+
uint32 frame_rate_hz = 5;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
message CameraStatus {
|
|
16
|
+
uint64 frames_produced = 1;
|
|
17
|
+
uint64 frames_dropped = 2;
|
|
18
|
+
}
|