@foxglove/schemas 0.8.0 → 0.8.2
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/.github/workflows/ci.yml +15 -4
- package/README.md +2 -2
- package/internal/schemas.d.ts.map +1 -1
- package/internal/schemas.js +15 -7
- package/internal/schemas.js.map +1 -1
- package/internal/schemas.ts +15 -7
- package/package.json +1 -1
- package/python/Makefile +21 -2
- package/python/Pipfile +2 -0
- package/python/Pipfile.lock +94 -191
- package/python/foxglove-schemas-flatbuffer/README.md +38 -0
- package/python/foxglove-schemas-flatbuffer/pyproject.toml +11 -0
- package/python/foxglove-schemas-flatbuffer/setup.cfg +21 -0
- package/python/foxglove-schemas-flatbuffer/tests/test_schemas.py +21 -0
- package/schemas/README.md +7 -7
- package/schemas/flatbuffer/LinePrimitive.fbs +3 -3
- package/schemas/flatbuffer/PointsAnnotation.fbs +4 -0
- package/schemas/jsonschema/ImageAnnotations.json +8 -4
- package/schemas/jsonschema/LinePrimitive.json +3 -3
- package/schemas/jsonschema/PointsAnnotation.json +8 -4
- package/schemas/jsonschema/SceneEntity.json +3 -3
- package/schemas/jsonschema/SceneUpdate.json +3 -3
- package/schemas/jsonschema/index.d.ts +14 -4
- package/schemas/jsonschema/index.d.ts.map +1 -1
- package/schemas/jsonschema/index.js +25 -17
- package/schemas/jsonschema/index.js.map +1 -1
- package/schemas/jsonschema/index.ts +25 -17
- package/schemas/proto/foxglove/LinePrimitive.proto +3 -3
- package/schemas/proto/foxglove/PointsAnnotation.proto +4 -0
- package/schemas/ros1/LinePrimitive.msg +3 -3
- package/schemas/ros1/PointsAnnotation.msg +8 -0
- package/schemas/ros2/LinePrimitive.msg +3 -3
- package/schemas/ros2/PointsAnnotation.msg +8 -0
- package/schemas/typescript/LineType.d.ts +3 -3
- package/schemas/typescript/LineType.d.ts.map +1 -1
- package/schemas/typescript/LineType.js +3 -3
- package/schemas/typescript/LineType.js.map +1 -1
- package/schemas/typescript/LineType.ts +3 -3
- package/schemas/typescript/PointsAnnotationType.d.ts +4 -0
- package/schemas/typescript/PointsAnnotationType.d.ts.map +1 -1
- package/schemas/typescript/PointsAnnotationType.js +4 -0
- package/schemas/typescript/PointsAnnotationType.js.map +1 -1
- package/schemas/typescript/PointsAnnotationType.ts +4 -0
- package/Linux.flatc.binary.clang++-12.zip +0 -0
- package/flatc +0 -0
package/python/Pipfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_meta": {
|
|
3
3
|
"hash": {
|
|
4
|
-
"sha256": "
|
|
4
|
+
"sha256": "0977308fe2b87d61ab61ec8c80a37a085c04790c1d151f3492fb6c61f1acef60"
|
|
5
5
|
},
|
|
6
6
|
"pipfile-spec": 6,
|
|
7
7
|
"requires": {
|
|
@@ -16,90 +16,71 @@
|
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
18
|
"default": {
|
|
19
|
+
"flatbuffers": {
|
|
20
|
+
"hashes": [
|
|
21
|
+
"sha256:2e4101b291b14f21e87ea20b7bf7127b11563f6084e352d2d708bddd545c9265",
|
|
22
|
+
"sha256:a948913bbb5d83c43a1193d7943c90e6c0ab732e7f2983111104250aeb61ff85"
|
|
23
|
+
],
|
|
24
|
+
"index": "pypi",
|
|
25
|
+
"version": "==23.1.21"
|
|
26
|
+
},
|
|
27
|
+
"foxglove-schemas-flatbuffer": {
|
|
28
|
+
"editable": true,
|
|
29
|
+
"path": "./foxglove-schemas-flatbuffer"
|
|
30
|
+
},
|
|
31
|
+
"foxglove-schemas-flatbuffers": {
|
|
32
|
+
"editable": true,
|
|
33
|
+
"path": "./foxglove-schemas-flatbuffer"
|
|
34
|
+
},
|
|
19
35
|
"foxglove-schemas-protobuf": {
|
|
20
36
|
"editable": true,
|
|
21
37
|
"path": "./foxglove-schemas-protobuf"
|
|
22
38
|
},
|
|
23
39
|
"protobuf": {
|
|
24
40
|
"hashes": [
|
|
25
|
-
"sha256:
|
|
26
|
-
"sha256:
|
|
27
|
-
"sha256:
|
|
28
|
-
"sha256:
|
|
29
|
-
"sha256:
|
|
30
|
-
"sha256:
|
|
31
|
-
"sha256:
|
|
32
|
-
"sha256:
|
|
33
|
-
"sha256:
|
|
34
|
-
"sha256:
|
|
35
|
-
"sha256:
|
|
36
|
-
"sha256:
|
|
37
|
-
"sha256:
|
|
38
|
-
"sha256:
|
|
41
|
+
"sha256:1f22ac0ca65bb70a876060d96d914dae09ac98d114294f77584b0d2644fa9c30",
|
|
42
|
+
"sha256:237216c3326d46808a9f7c26fd1bd4b20015fb6867dc5d263a493ef9a539293b",
|
|
43
|
+
"sha256:27f4d15021da6d2b706ddc3860fac0a5ddaba34ab679dc182b60a8bb4e1121cc",
|
|
44
|
+
"sha256:299ea899484ee6f44604deb71f424234f654606b983cb496ea2a53e3c63ab791",
|
|
45
|
+
"sha256:3d164928ff0727d97022957c2b849250ca0e64777ee31efd7d6de2e07c494717",
|
|
46
|
+
"sha256:6ab80df09e3208f742c98443b6166bcb70d65f52cfeb67357d52032ea1ae9bec",
|
|
47
|
+
"sha256:78a28c9fa223998472886c77042e9b9afb6fe4242bd2a2a5aced88e3f4422aa7",
|
|
48
|
+
"sha256:7cd532c4566d0e6feafecc1059d04c7915aec8e182d1cf7adee8b24ef1e2e6ab",
|
|
49
|
+
"sha256:89f9149e4a0169cddfc44c74f230d7743002e3aa0b9472d8c28f0388102fc4c2",
|
|
50
|
+
"sha256:a53fd3f03e578553623272dc46ac2f189de23862e68565e83dde203d41b76fc5",
|
|
51
|
+
"sha256:b135410244ebe777db80298297a97fbb4c862c881b4403b71bac9d4107d61fd1",
|
|
52
|
+
"sha256:b98d0148f84e3a3c569e19f52103ca1feacdac0d2df8d6533cf983d1fda28462",
|
|
53
|
+
"sha256:d1736130bce8cf131ac7957fa26880ca19227d4ad68b4888b3be0dea1f95df97",
|
|
54
|
+
"sha256:f45460f9ee70a0ec1b6694c6e4e348ad2019275680bd68a1d9314b8c7e01e574"
|
|
39
55
|
],
|
|
40
56
|
"index": "pypi",
|
|
41
|
-
"version": "==4.21.
|
|
57
|
+
"version": "==4.21.12"
|
|
42
58
|
}
|
|
43
59
|
},
|
|
44
60
|
"develop": {
|
|
45
61
|
"attrs": {
|
|
46
62
|
"hashes": [
|
|
47
|
-
"sha256:
|
|
48
|
-
"sha256:
|
|
63
|
+
"sha256:29e95c7f6778868dbd49170f98f8818f78f3dc5e0e37c0b1f474e3561b240836",
|
|
64
|
+
"sha256:c9227bfc2f01993c03f68db37d1d15c9690188323c067c641f1a35ca58185f99"
|
|
49
65
|
],
|
|
50
|
-
"markers": "python_version >= '3.
|
|
51
|
-
"version": "==22.
|
|
52
|
-
},
|
|
53
|
-
"black": {
|
|
54
|
-
"hashes": [
|
|
55
|
-
"sha256:14ff67aec0a47c424bc99b71005202045dc09270da44a27848d534600ac64fc7",
|
|
56
|
-
"sha256:197df8509263b0b8614e1df1756b1dd41be6738eed2ba9e9769f3880c2b9d7b6",
|
|
57
|
-
"sha256:1e464456d24e23d11fced2bc8c47ef66d471f845c7b7a42f3bd77bf3d1789650",
|
|
58
|
-
"sha256:2039230db3c6c639bd84efe3292ec7b06e9214a2992cd9beb293d639c6402edb",
|
|
59
|
-
"sha256:21199526696b8f09c3997e2b4db8d0b108d801a348414264d2eb8eb2532e540d",
|
|
60
|
-
"sha256:2644b5d63633702bc2c5f3754b1b475378fbbfb481f62319388235d0cd104c2d",
|
|
61
|
-
"sha256:432247333090c8c5366e69627ccb363bc58514ae3e63f7fc75c54b1ea80fa7de",
|
|
62
|
-
"sha256:444ebfb4e441254e87bad00c661fe32df9969b2bf224373a448d8aca2132b395",
|
|
63
|
-
"sha256:5b9b29da4f564ba8787c119f37d174f2b69cdfdf9015b7d8c5c16121ddc054ae",
|
|
64
|
-
"sha256:5cc42ca67989e9c3cf859e84c2bf014f6633db63d1cbdf8fdb666dcd9e77e3fa",
|
|
65
|
-
"sha256:5d8f74030e67087b219b032aa33a919fae8806d49c867846bfacde57f43972ef",
|
|
66
|
-
"sha256:72ef3925f30e12a184889aac03d77d031056860ccae8a1e519f6cbb742736383",
|
|
67
|
-
"sha256:819dc789f4498ecc91438a7de64427c73b45035e2e3680c92e18795a839ebb66",
|
|
68
|
-
"sha256:915ace4ff03fdfff953962fa672d44be269deb2eaf88499a0f8805221bc68c87",
|
|
69
|
-
"sha256:9311e99228ae10023300ecac05be5a296f60d2fd10fff31cf5c1fa4ca4b1988d",
|
|
70
|
-
"sha256:974308c58d057a651d182208a484ce80a26dac0caef2895836a92dd6ebd725e0",
|
|
71
|
-
"sha256:b8b49776299fece66bffaafe357d929ca9451450f5466e997a7285ab0fe28e3b",
|
|
72
|
-
"sha256:c957b2b4ea88587b46cf49d1dc17681c1e672864fd7af32fc1e9664d572b3458",
|
|
73
|
-
"sha256:e41a86c6c650bcecc6633ee3180d80a025db041a8e2398dcc059b3afa8382cd4",
|
|
74
|
-
"sha256:f513588da599943e0cde4e32cc9879e825d58720d6557062d1098c5ad80080e1",
|
|
75
|
-
"sha256:fba8a281e570adafb79f7755ac8721b6cf1bbf691186a287e990c7929c7692ff"
|
|
76
|
-
],
|
|
77
|
-
"index": "pypi",
|
|
78
|
-
"version": "==22.10.0"
|
|
66
|
+
"markers": "python_version >= '3.6'",
|
|
67
|
+
"version": "==22.2.0"
|
|
79
68
|
},
|
|
80
69
|
"build": {
|
|
81
70
|
"hashes": [
|
|
82
|
-
"sha256:
|
|
83
|
-
"sha256:
|
|
71
|
+
"sha256:af266720050a66c893a6096a2f410989eeac74ff9a68ba194b3f6473e8e26171",
|
|
72
|
+
"sha256:d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269"
|
|
84
73
|
],
|
|
85
74
|
"index": "pypi",
|
|
86
|
-
"version": "==0.
|
|
75
|
+
"version": "==0.10.0"
|
|
87
76
|
},
|
|
88
77
|
"certifi": {
|
|
89
78
|
"hashes": [
|
|
90
|
-
"sha256:
|
|
91
|
-
"sha256:
|
|
79
|
+
"sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3",
|
|
80
|
+
"sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18"
|
|
92
81
|
],
|
|
93
82
|
"markers": "python_version >= '3.6'",
|
|
94
|
-
"version": "==2022.
|
|
95
|
-
},
|
|
96
|
-
"click": {
|
|
97
|
-
"hashes": [
|
|
98
|
-
"sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e",
|
|
99
|
-
"sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"
|
|
100
|
-
],
|
|
101
|
-
"markers": "python_version >= '3.7'",
|
|
102
|
-
"version": "==8.1.3"
|
|
83
|
+
"version": "==2022.12.7"
|
|
103
84
|
},
|
|
104
85
|
"distlib": {
|
|
105
86
|
"hashes": [
|
|
@@ -110,49 +91,27 @@
|
|
|
110
91
|
},
|
|
111
92
|
"exceptiongroup": {
|
|
112
93
|
"hashes": [
|
|
113
|
-
"sha256:
|
|
114
|
-
"sha256:
|
|
94
|
+
"sha256:327cbda3da756e2de031a3107b81ab7b3770a602c4d16ca618298c526f4bec1e",
|
|
95
|
+
"sha256:bcb67d800a4497e1b404c2dd44fca47d3b7a5e5433dbab67f96c1a685cdfdf23"
|
|
115
96
|
],
|
|
116
97
|
"markers": "python_version < '3.11'",
|
|
117
|
-
"version": "==1.0
|
|
98
|
+
"version": "==1.1.0"
|
|
118
99
|
},
|
|
119
100
|
"filelock": {
|
|
120
101
|
"hashes": [
|
|
121
|
-
"sha256:
|
|
122
|
-
"sha256:
|
|
102
|
+
"sha256:7b319f24340b51f55a2bf7a12ac0755a9b03e718311dac567a0f4f7fabd2f5de",
|
|
103
|
+
"sha256:f58d535af89bb9ad5cd4df046f741f8553a418c01a7856bf0d173bbc9f6bd16d"
|
|
123
104
|
],
|
|
124
105
|
"markers": "python_version >= '3.7'",
|
|
125
|
-
"version": "==3.
|
|
126
|
-
},
|
|
127
|
-
"flake8": {
|
|
128
|
-
"hashes": [
|
|
129
|
-
"sha256:6fbe320aad8d6b95cec8b8e47bc933004678dc63095be98528b7bdd2a9f510db",
|
|
130
|
-
"sha256:7a1cf6b73744f5806ab95e526f6f0d8c01c66d7bbe349562d22dfca20610b248"
|
|
131
|
-
],
|
|
132
|
-
"index": "pypi",
|
|
133
|
-
"version": "==5.0.4"
|
|
106
|
+
"version": "==3.9.0"
|
|
134
107
|
},
|
|
135
108
|
"iniconfig": {
|
|
136
109
|
"hashes": [
|
|
137
|
-
"sha256:
|
|
138
|
-
"sha256:
|
|
110
|
+
"sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3",
|
|
111
|
+
"sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"
|
|
139
112
|
],
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
"mccabe": {
|
|
143
|
-
"hashes": [
|
|
144
|
-
"sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325",
|
|
145
|
-
"sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e"
|
|
146
|
-
],
|
|
147
|
-
"markers": "python_version >= '3.6'",
|
|
148
|
-
"version": "==0.7.0"
|
|
149
|
-
},
|
|
150
|
-
"mypy-extensions": {
|
|
151
|
-
"hashes": [
|
|
152
|
-
"sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d",
|
|
153
|
-
"sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"
|
|
154
|
-
],
|
|
155
|
-
"version": "==0.4.3"
|
|
113
|
+
"markers": "python_version >= '3.7'",
|
|
114
|
+
"version": "==2.0.0"
|
|
156
115
|
},
|
|
157
116
|
"mypy-protobuf": {
|
|
158
117
|
"hashes": [
|
|
@@ -162,53 +121,29 @@
|
|
|
162
121
|
"index": "pypi",
|
|
163
122
|
"version": "==3.4.0"
|
|
164
123
|
},
|
|
165
|
-
"nodeenv": {
|
|
166
|
-
"hashes": [
|
|
167
|
-
"sha256:27083a7b96a25f2f5e1d8cb4b6317ee8aeda3bdd121394e5ac54e498028a042e",
|
|
168
|
-
"sha256:e0e7f7dfb85fc5394c6fe1e8fa98131a2473e04311a45afb6508f7cf1836fa2b"
|
|
169
|
-
],
|
|
170
|
-
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6'",
|
|
171
|
-
"version": "==1.7.0"
|
|
172
|
-
},
|
|
173
124
|
"packaging": {
|
|
174
125
|
"hashes": [
|
|
175
|
-
"sha256:
|
|
176
|
-
"sha256:
|
|
177
|
-
],
|
|
178
|
-
"markers": "python_version >= '3.6'",
|
|
179
|
-
"version": "==21.3"
|
|
180
|
-
},
|
|
181
|
-
"pathspec": {
|
|
182
|
-
"hashes": [
|
|
183
|
-
"sha256:88c2606f2c1e818b978540f73ecc908e13999c6c3a383daf3705652ae79807a5",
|
|
184
|
-
"sha256:8f6bf73e5758fd365ef5d58ce09ac7c27d2833a8d7da51712eac6e27e35141b0"
|
|
126
|
+
"sha256:714ac14496c3e68c99c29b00845f7a2b85f3bb6f1078fd9f72fd20f0570002b2",
|
|
127
|
+
"sha256:b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97"
|
|
185
128
|
],
|
|
186
129
|
"markers": "python_version >= '3.7'",
|
|
187
|
-
"version": "==0
|
|
188
|
-
},
|
|
189
|
-
"pep517": {
|
|
190
|
-
"hashes": [
|
|
191
|
-
"sha256:4ba4446d80aed5b5eac6509ade100bff3e7943a8489de249654a5ae9b33ee35b",
|
|
192
|
-
"sha256:ae69927c5c172be1add9203726d4b84cf3ebad1edcd5f71fcdc746e66e829f59"
|
|
193
|
-
],
|
|
194
|
-
"markers": "python_version >= '3.6'",
|
|
195
|
-
"version": "==0.13.0"
|
|
130
|
+
"version": "==23.0"
|
|
196
131
|
},
|
|
197
132
|
"pipenv": {
|
|
198
133
|
"hashes": [
|
|
199
|
-
"sha256:
|
|
200
|
-
"sha256:
|
|
134
|
+
"sha256:18a3eba519e36d59f0d5a7f9c42bd268521e4b9b7b3d1bd6adcf131569323275",
|
|
135
|
+
"sha256:dd62abe8efa34b3d13e47b226bd151a1110dc5591557c559beca7d52efb55c18"
|
|
201
136
|
],
|
|
202
137
|
"index": "pypi",
|
|
203
|
-
"version": "==
|
|
138
|
+
"version": "==2023.2.4"
|
|
204
139
|
},
|
|
205
140
|
"platformdirs": {
|
|
206
141
|
"hashes": [
|
|
207
|
-
"sha256:
|
|
208
|
-
"sha256:
|
|
142
|
+
"sha256:8a1228abb1ef82d788f74139988b137e78692984ec7b08eaa6c65f1723af28f9",
|
|
143
|
+
"sha256:b1d5eb14f221506f50d6604a561f4c5786d9e80355219694a1b244bcd96f4567"
|
|
209
144
|
],
|
|
210
145
|
"markers": "python_version >= '3.7'",
|
|
211
|
-
"version": "==
|
|
146
|
+
"version": "==3.0.0"
|
|
212
147
|
},
|
|
213
148
|
"pluggy": {
|
|
214
149
|
"hashes": [
|
|
@@ -220,71 +155,47 @@
|
|
|
220
155
|
},
|
|
221
156
|
"protobuf": {
|
|
222
157
|
"hashes": [
|
|
223
|
-
"sha256:
|
|
224
|
-
"sha256:
|
|
225
|
-
"sha256:
|
|
226
|
-
"sha256:
|
|
227
|
-
"sha256:
|
|
228
|
-
"sha256:
|
|
229
|
-
"sha256:
|
|
230
|
-
"sha256:
|
|
231
|
-
"sha256:
|
|
232
|
-
"sha256:
|
|
233
|
-
"sha256:
|
|
234
|
-
"sha256:
|
|
235
|
-
"sha256:
|
|
236
|
-
"sha256:
|
|
158
|
+
"sha256:1f22ac0ca65bb70a876060d96d914dae09ac98d114294f77584b0d2644fa9c30",
|
|
159
|
+
"sha256:237216c3326d46808a9f7c26fd1bd4b20015fb6867dc5d263a493ef9a539293b",
|
|
160
|
+
"sha256:27f4d15021da6d2b706ddc3860fac0a5ddaba34ab679dc182b60a8bb4e1121cc",
|
|
161
|
+
"sha256:299ea899484ee6f44604deb71f424234f654606b983cb496ea2a53e3c63ab791",
|
|
162
|
+
"sha256:3d164928ff0727d97022957c2b849250ca0e64777ee31efd7d6de2e07c494717",
|
|
163
|
+
"sha256:6ab80df09e3208f742c98443b6166bcb70d65f52cfeb67357d52032ea1ae9bec",
|
|
164
|
+
"sha256:78a28c9fa223998472886c77042e9b9afb6fe4242bd2a2a5aced88e3f4422aa7",
|
|
165
|
+
"sha256:7cd532c4566d0e6feafecc1059d04c7915aec8e182d1cf7adee8b24ef1e2e6ab",
|
|
166
|
+
"sha256:89f9149e4a0169cddfc44c74f230d7743002e3aa0b9472d8c28f0388102fc4c2",
|
|
167
|
+
"sha256:a53fd3f03e578553623272dc46ac2f189de23862e68565e83dde203d41b76fc5",
|
|
168
|
+
"sha256:b135410244ebe777db80298297a97fbb4c862c881b4403b71bac9d4107d61fd1",
|
|
169
|
+
"sha256:b98d0148f84e3a3c569e19f52103ca1feacdac0d2df8d6533cf983d1fda28462",
|
|
170
|
+
"sha256:d1736130bce8cf131ac7957fa26880ca19227d4ad68b4888b3be0dea1f95df97",
|
|
171
|
+
"sha256:f45460f9ee70a0ec1b6694c6e4e348ad2019275680bd68a1d9314b8c7e01e574"
|
|
237
172
|
],
|
|
238
173
|
"index": "pypi",
|
|
239
|
-
"version": "==4.21.
|
|
240
|
-
},
|
|
241
|
-
"pycodestyle": {
|
|
242
|
-
"hashes": [
|
|
243
|
-
"sha256:2c9607871d58c76354b697b42f5d57e1ada7d261c261efac224b664affdc5785",
|
|
244
|
-
"sha256:d1735fc58b418fd7c5f658d28d943854f8a849b01a5d0a1e6f3f3fdd0166804b"
|
|
245
|
-
],
|
|
246
|
-
"markers": "python_version >= '3.6'",
|
|
247
|
-
"version": "==2.9.1"
|
|
248
|
-
},
|
|
249
|
-
"pyflakes": {
|
|
250
|
-
"hashes": [
|
|
251
|
-
"sha256:4579f67d887f804e67edb544428f264b7b24f435b263c4614f384135cea553d2",
|
|
252
|
-
"sha256:491feb020dca48ccc562a8c0cbe8df07ee13078df59813b83959cbdada312ea3"
|
|
253
|
-
],
|
|
254
|
-
"markers": "python_version >= '3.6'",
|
|
255
|
-
"version": "==2.5.0"
|
|
256
|
-
},
|
|
257
|
-
"pyparsing": {
|
|
258
|
-
"hashes": [
|
|
259
|
-
"sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb",
|
|
260
|
-
"sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"
|
|
261
|
-
],
|
|
262
|
-
"markers": "python_full_version >= '3.6.8'",
|
|
263
|
-
"version": "==3.0.9"
|
|
174
|
+
"version": "==4.21.12"
|
|
264
175
|
},
|
|
265
|
-
"
|
|
176
|
+
"pyproject-hooks": {
|
|
266
177
|
"hashes": [
|
|
267
|
-
"sha256:
|
|
268
|
-
"sha256:
|
|
178
|
+
"sha256:283c11acd6b928d2f6a7c73fa0d01cb2bdc5f07c57a2eeb6e83d5e56b97976f8",
|
|
179
|
+
"sha256:f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5"
|
|
269
180
|
],
|
|
270
|
-
"
|
|
271
|
-
"version": "==1.
|
|
181
|
+
"markers": "python_version >= '3.7'",
|
|
182
|
+
"version": "==1.0.0"
|
|
272
183
|
},
|
|
273
184
|
"pytest": {
|
|
274
185
|
"hashes": [
|
|
275
|
-
"sha256:
|
|
276
|
-
"sha256:
|
|
186
|
+
"sha256:c7c6ca206e93355074ae32f7403e8ea12163b1163c976fee7d4d84027c162be5",
|
|
187
|
+
"sha256:d45e0952f3727241918b8fd0f376f5ff6b301cc0777c6f9a556935c92d8a7d42"
|
|
277
188
|
],
|
|
278
189
|
"index": "pypi",
|
|
279
|
-
"version": "==7.2.
|
|
190
|
+
"version": "==7.2.1"
|
|
280
191
|
},
|
|
281
192
|
"setuptools": {
|
|
282
193
|
"hashes": [
|
|
283
|
-
"sha256:
|
|
284
|
-
"sha256:
|
|
194
|
+
"sha256:95f00380ef2ffa41d9bba85d95b27689d923c93dfbafed4aecd7cf988a25e012",
|
|
195
|
+
"sha256:bb6d8e508de562768f2027902929f8523932fcd1fb784e6d573d2cafac995a48"
|
|
285
196
|
],
|
|
286
197
|
"markers": "python_version >= '3.7'",
|
|
287
|
-
"version": "==
|
|
198
|
+
"version": "==67.3.2"
|
|
288
199
|
},
|
|
289
200
|
"tomli": {
|
|
290
201
|
"hashes": [
|
|
@@ -296,26 +207,18 @@
|
|
|
296
207
|
},
|
|
297
208
|
"types-protobuf": {
|
|
298
209
|
"hashes": [
|
|
299
|
-
"sha256:
|
|
300
|
-
"sha256:
|
|
210
|
+
"sha256:39167012ead0bc5920b6322a1e4dc2d088f66a34b84cce39bb88500e49ac955a",
|
|
211
|
+
"sha256:8c105b906569e9d53ba033465880d9ef17a59bf3ba8ab656d24c9eadb9d8a056"
|
|
301
212
|
],
|
|
302
|
-
"version": "==
|
|
303
|
-
},
|
|
304
|
-
"typing-extensions": {
|
|
305
|
-
"hashes": [
|
|
306
|
-
"sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa",
|
|
307
|
-
"sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e"
|
|
308
|
-
],
|
|
309
|
-
"index": "pypi",
|
|
310
|
-
"version": "==4.4.0"
|
|
213
|
+
"version": "==4.21.0.6"
|
|
311
214
|
},
|
|
312
215
|
"virtualenv": {
|
|
313
216
|
"hashes": [
|
|
314
|
-
"sha256:
|
|
315
|
-
"sha256:
|
|
217
|
+
"sha256:37a640ba82ed40b226599c522d411e4be5edb339a0c0de030c0dc7b646d61590",
|
|
218
|
+
"sha256:54eb59e7352b573aa04d53f80fc9736ed0ad5143af445a1e539aada6eb947dd1"
|
|
316
219
|
],
|
|
317
|
-
"markers": "python_version >= '3.
|
|
318
|
-
"version": "==20.
|
|
220
|
+
"markers": "python_version >= '3.7'",
|
|
221
|
+
"version": "==20.19.0"
|
|
319
222
|
},
|
|
320
223
|
"virtualenv-clone": {
|
|
321
224
|
"hashes": [
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Foxglove Schemas (Flatbuffer)
|
|
2
|
+
|
|
3
|
+
This package provides [Flatbuffer](https://google.github.io/flatbuffers/) classes for [Foxglove Schemas](https://foxglove.dev/docs/studio/messages/introduction).
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Install via [Pipenv](https://pipenv.pypa.io/en/latest/) by adding `foxglove-schemas-flatbuffer` to your `Pipfile` or via the command line:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pipenv install foxglove-schemas-flatbuffer
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Import types from the `foxglove` module as follows:
|
|
16
|
+
|
|
17
|
+
```py
|
|
18
|
+
import flatbuffers
|
|
19
|
+
import foxglove_schemas_flatbuffer.CompressedImage as CompressedImage
|
|
20
|
+
from foxglove_schemas_flatbuffer import get_schema
|
|
21
|
+
|
|
22
|
+
builder = flatbuffers.Builder(1024)
|
|
23
|
+
png = builder.CreateString("png")
|
|
24
|
+
CompressedImage.Start(builder)
|
|
25
|
+
CompressedImage.AddFormat(builder, png)
|
|
26
|
+
img = CompressedImage.End(builder)
|
|
27
|
+
builder.Finish(img)
|
|
28
|
+
|
|
29
|
+
# Serialized flatbuffer schema
|
|
30
|
+
schema_data = get_schema("CompressedImage")
|
|
31
|
+
|
|
32
|
+
# Serialized CompressedImage message
|
|
33
|
+
msg_data = builder.Output()
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Stay in touch
|
|
37
|
+
|
|
38
|
+
Join our [Slack channel](https://foxglove.dev/join-slack) to ask questions, share feedback, and stay up to date on what our team is working on.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[metadata]
|
|
2
|
+
name = foxglove-schemas-flatbuffer
|
|
3
|
+
version = 0.0.1
|
|
4
|
+
description = Flatbuffer classes for Foxglove Schemas
|
|
5
|
+
long_description = file: README.md
|
|
6
|
+
long_description_content_type = text/markdown
|
|
7
|
+
url = https://github.com/foxglove/schemas
|
|
8
|
+
classifiers =
|
|
9
|
+
Programming Language :: Python :: 3
|
|
10
|
+
License :: OSI Approved :: MIT License
|
|
11
|
+
Operating System :: OS Independent
|
|
12
|
+
|
|
13
|
+
[options]
|
|
14
|
+
install_requires =
|
|
15
|
+
flatbuffers
|
|
16
|
+
install_package_data = True
|
|
17
|
+
packages = find:
|
|
18
|
+
python_requires = >=3.7
|
|
19
|
+
|
|
20
|
+
[options.package_data]
|
|
21
|
+
foxglove_schemas_flatbuffer = *.bfbs
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
def test_schemas():
|
|
2
|
+
import flatbuffers
|
|
3
|
+
import foxglove_schemas_flatbuffer.RawImage as RawImage
|
|
4
|
+
|
|
5
|
+
builder = flatbuffers.Builder(1024)
|
|
6
|
+
png = builder.CreateString("png")
|
|
7
|
+
RawImage.Start(builder)
|
|
8
|
+
RawImage.AddEncoding(builder, png)
|
|
9
|
+
img = RawImage.End(builder)
|
|
10
|
+
builder.Finish(img)
|
|
11
|
+
buf = builder.Output()
|
|
12
|
+
assert buf is not None
|
|
13
|
+
assert len(buf) > 0
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def test_get_schema():
|
|
17
|
+
from foxglove_schemas_flatbuffer import get_schema
|
|
18
|
+
|
|
19
|
+
schema = get_schema("RawImage")
|
|
20
|
+
assert schema is not None
|
|
21
|
+
assert len(schema) > 0
|
package/schemas/README.md
CHANGED
|
@@ -56,9 +56,9 @@ An enumeration indicating how input points should be interpreted to create lines
|
|
|
56
56
|
|
|
57
57
|
name | value | description
|
|
58
58
|
---- | ----- | -----------
|
|
59
|
-
`LINE_STRIP` | 0 | 0-1, 1-2, ..., (n-1)-n
|
|
60
|
-
`LINE_LOOP` | 1 | 0-1, 1-2, ..., (n-1)-n, n-0
|
|
61
|
-
`LINE_LIST` | 2 | 0-1, 2-3, 4-5, ...
|
|
59
|
+
`LINE_STRIP` | 0 | Connected line segments: 0-1, 1-2, ..., (n-1)-n
|
|
60
|
+
`LINE_LOOP` | 1 | Closed polygon: 0-1, 1-2, ..., (n-1)-n, n-0
|
|
61
|
+
`LINE_LIST` | 2 | Individual line segments: 0-1, 2-3, 4-5, ...
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
|
|
@@ -102,10 +102,10 @@ Type of points annotation
|
|
|
102
102
|
name | value | description
|
|
103
103
|
---- | ----- | -----------
|
|
104
104
|
`UNKNOWN` | 0 |
|
|
105
|
-
`POINTS` | 1 |
|
|
106
|
-
`LINE_LOOP` | 2 |
|
|
107
|
-
`LINE_STRIP` | 3 |
|
|
108
|
-
`LINE_LIST` | 4 |
|
|
105
|
+
`POINTS` | 1 | Individual points: 0, 1, 2, ...
|
|
106
|
+
`LINE_LOOP` | 2 | Closed polygon: 0-1, 1-2, ..., (n-1)-n, n-0
|
|
107
|
+
`LINE_STRIP` | 3 | Connected line segments: 0-1, 1-2, ..., (n-1)-n
|
|
108
|
+
`LINE_LIST` | 4 | Individual line segments: 0-1, 2-3, 4-5, ...
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
@@ -8,13 +8,13 @@ namespace foxglove;
|
|
|
8
8
|
|
|
9
9
|
/// An enumeration indicating how input points should be interpreted to create lines
|
|
10
10
|
enum LineType : ubyte {
|
|
11
|
-
/// 0-1, 1-2, ..., (n-1)-n
|
|
11
|
+
/// Connected line segments: 0-1, 1-2, ..., (n-1)-n
|
|
12
12
|
LINE_STRIP = 0,
|
|
13
13
|
|
|
14
|
-
/// 0-1, 1-2, ..., (n-1)-n, n-0
|
|
14
|
+
/// Closed polygon: 0-1, 1-2, ..., (n-1)-n, n-0
|
|
15
15
|
LINE_LOOP = 1,
|
|
16
16
|
|
|
17
|
-
/// 0-1, 2-3, 4-5, ...
|
|
17
|
+
/// Individual line segments: 0-1, 2-3, 4-5, ...
|
|
18
18
|
LINE_LIST = 2,
|
|
19
19
|
}
|
|
20
20
|
/// A primitive representing a series of points connected by lines
|
|
@@ -10,12 +10,16 @@ namespace foxglove;
|
|
|
10
10
|
enum PointsAnnotationType : ubyte {
|
|
11
11
|
UNKNOWN = 0,
|
|
12
12
|
|
|
13
|
+
/// Individual points: 0, 1, 2, ...
|
|
13
14
|
POINTS = 1,
|
|
14
15
|
|
|
16
|
+
/// Closed polygon: 0-1, 1-2, ..., (n-1)-n, n-0
|
|
15
17
|
LINE_LOOP = 2,
|
|
16
18
|
|
|
19
|
+
/// Connected line segments: 0-1, 1-2, ..., (n-1)-n
|
|
17
20
|
LINE_STRIP = 3,
|
|
18
21
|
|
|
22
|
+
/// Individual line segments: 0-1, 2-3, 4-5, ...
|
|
19
23
|
LINE_LIST = 4,
|
|
20
24
|
}
|
|
21
25
|
/// An array of points on a 2D image
|
|
@@ -133,19 +133,23 @@
|
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
"title": "POINTS",
|
|
136
|
-
"const": 1
|
|
136
|
+
"const": 1,
|
|
137
|
+
"description": "Individual points: 0, 1, 2, ..."
|
|
137
138
|
},
|
|
138
139
|
{
|
|
139
140
|
"title": "LINE_LOOP",
|
|
140
|
-
"const": 2
|
|
141
|
+
"const": 2,
|
|
142
|
+
"description": "Closed polygon: 0-1, 1-2, ..., (n-1)-n, n-0"
|
|
141
143
|
},
|
|
142
144
|
{
|
|
143
145
|
"title": "LINE_STRIP",
|
|
144
|
-
"const": 3
|
|
146
|
+
"const": 3,
|
|
147
|
+
"description": "Connected line segments: 0-1, 1-2, ..., (n-1)-n"
|
|
145
148
|
},
|
|
146
149
|
{
|
|
147
150
|
"title": "LINE_LIST",
|
|
148
|
-
"const": 4
|
|
151
|
+
"const": 4,
|
|
152
|
+
"description": "Individual line segments: 0-1, 2-3, 4-5, ..."
|
|
149
153
|
}
|
|
150
154
|
]
|
|
151
155
|
},
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
{
|
|
12
12
|
"title": "LINE_STRIP",
|
|
13
13
|
"const": 0,
|
|
14
|
-
"description": "0-1, 1-2, ..., (n-1)-n"
|
|
14
|
+
"description": "Connected line segments: 0-1, 1-2, ..., (n-1)-n"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"title": "LINE_LOOP",
|
|
18
18
|
"const": 1,
|
|
19
|
-
"description": "0-1, 1-2, ..., (n-1)-n, n-0"
|
|
19
|
+
"description": "Closed polygon: 0-1, 1-2, ..., (n-1)-n, n-0"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"title": "LINE_LIST",
|
|
23
23
|
"const": 2,
|
|
24
|
-
"description": "0-1, 2-3, 4-5, ..."
|
|
24
|
+
"description": "Individual line segments: 0-1, 2-3, 4-5, ..."
|
|
25
25
|
}
|
|
26
26
|
]
|
|
27
27
|
},
|
|
@@ -30,19 +30,23 @@
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"title": "POINTS",
|
|
33
|
-
"const": 1
|
|
33
|
+
"const": 1,
|
|
34
|
+
"description": "Individual points: 0, 1, 2, ..."
|
|
34
35
|
},
|
|
35
36
|
{
|
|
36
37
|
"title": "LINE_LOOP",
|
|
37
|
-
"const": 2
|
|
38
|
+
"const": 2,
|
|
39
|
+
"description": "Closed polygon: 0-1, 1-2, ..., (n-1)-n, n-0"
|
|
38
40
|
},
|
|
39
41
|
{
|
|
40
42
|
"title": "LINE_STRIP",
|
|
41
|
-
"const": 3
|
|
43
|
+
"const": 3,
|
|
44
|
+
"description": "Connected line segments: 0-1, 1-2, ..., (n-1)-n"
|
|
42
45
|
},
|
|
43
46
|
{
|
|
44
47
|
"title": "LINE_LIST",
|
|
45
|
-
"const": 4
|
|
48
|
+
"const": 4,
|
|
49
|
+
"description": "Individual line segments: 0-1, 2-3, 4-5, ..."
|
|
46
50
|
}
|
|
47
51
|
]
|
|
48
52
|
},
|