@foxglove/schemas 0.7.1 → 0.7.3
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 +51 -1
- package/.vscode/settings.json +10 -1
- package/Linux.flatc.binary.clang++-12.zip +0 -0
- package/README.md +5 -25
- package/flatc +0 -0
- package/internal/generateFlatbufferSchema.d.ts +6 -0
- package/internal/generateFlatbufferSchema.d.ts.map +1 -0
- package/internal/generateFlatbufferSchema.js +172 -0
- package/internal/generateFlatbufferSchema.js.map +1 -0
- package/internal/generateFlatbufferSchema.test.d.ts +2 -0
- package/internal/generateFlatbufferSchema.test.d.ts.map +1 -0
- package/internal/generateFlatbufferSchema.test.js +120 -0
- package/internal/generateFlatbufferSchema.test.js.map +1 -0
- package/internal/generateFlatbufferSchema.test.ts +118 -0
- package/internal/generateFlatbufferSchema.ts +189 -0
- package/internal/generateProto.test.js +1 -1
- package/internal/generateProto.test.js.map +1 -1
- package/internal/generateProto.test.ts +1 -1
- package/internal/schemas.d.ts.map +1 -1
- package/internal/schemas.js +21 -11
- package/internal/schemas.js.map +1 -1
- package/internal/schemas.test.js +1 -1
- package/internal/schemas.test.js.map +1 -1
- package/internal/schemas.test.ts +1 -1
- package/internal/schemas.ts +23 -11
- package/internal/testFixtures.d.ts.map +1 -1
- package/internal/testFixtures.js +11 -1
- package/internal/testFixtures.js.map +1 -1
- package/internal/testFixtures.ts +12 -1
- package/internal/types.d.ts +2 -1
- package/internal/types.d.ts.map +1 -1
- package/internal/types.ts +2 -1
- package/package.json +1 -1
- package/python/Makefile +39 -0
- package/python/Pipfile +17 -0
- package/python/Pipfile.lock +329 -0
- package/python/foxglove-schemas-protobuf/README.md +23 -0
- package/python/foxglove-schemas-protobuf/foxglove_schemas_protobuf/__init__.py +0 -0
- package/python/foxglove-schemas-protobuf/foxglove_schemas_protobuf/py.typed +0 -0
- package/python/foxglove-schemas-protobuf/pyproject.toml +11 -0
- package/python/foxglove-schemas-protobuf/setup.cfg +21 -0
- package/python/foxglove-schemas-protobuf/tests/test_schemas.py +5 -0
- package/schemas/README.md +8 -2
- package/schemas/flatbuffer/ArrowPrimitive.fbs +29 -0
- package/schemas/flatbuffer/ByteVector.fbs +8 -0
- package/schemas/flatbuffer/CameraCalibration.fbs +78 -0
- package/schemas/flatbuffer/CircleAnnotation.fbs +30 -0
- package/schemas/flatbuffer/Color.fbs +20 -0
- package/schemas/flatbuffer/CompressedImage.fbs +24 -0
- package/schemas/flatbuffer/CubePrimitive.fbs +21 -0
- package/schemas/flatbuffer/CylinderPrimitive.fbs +27 -0
- package/schemas/flatbuffer/Duration.fbs +10 -0
- package/schemas/flatbuffer/FrameTransform.fbs +27 -0
- package/schemas/flatbuffer/GeoJSON.fbs +11 -0
- package/schemas/flatbuffer/Grid.fbs +40 -0
- package/schemas/flatbuffer/ImageAnnotations.fbs +17 -0
- package/schemas/flatbuffer/KeyValuePair.fbs +14 -0
- package/schemas/flatbuffer/LaserScan.fbs +32 -0
- package/schemas/flatbuffer/LinePrimitive.fbs +49 -0
- package/schemas/flatbuffer/LocationFix.fbs +34 -0
- package/schemas/flatbuffer/Log.fbs +42 -0
- package/schemas/flatbuffer/ModelPrimitive.fbs +33 -0
- package/schemas/flatbuffer/PackedElementField.fbs +37 -0
- package/schemas/flatbuffer/Point2.fbs +14 -0
- package/schemas/flatbuffer/Point3.fbs +17 -0
- package/schemas/flatbuffer/PointCloud.fbs +30 -0
- package/schemas/flatbuffer/PointsAnnotation.fbs +45 -0
- package/schemas/flatbuffer/Pose.fbs +17 -0
- package/schemas/flatbuffer/PoseInFrame.fbs +20 -0
- package/schemas/flatbuffer/PosesInFrame.fbs +20 -0
- package/schemas/flatbuffer/Quaternion.fbs +20 -0
- package/schemas/flatbuffer/RawImage.fbs +33 -0
- package/schemas/flatbuffer/SceneEntity.fbs +62 -0
- package/schemas/flatbuffer/SceneEntityDeletion.fbs +27 -0
- package/schemas/flatbuffer/SceneUpdate.fbs +17 -0
- package/schemas/flatbuffer/SpherePrimitive.fbs +21 -0
- package/schemas/flatbuffer/TextPrimitive.fbs +29 -0
- package/schemas/flatbuffer/Time.fbs +9 -0
- package/schemas/flatbuffer/TriangleListPrimitive.fbs +29 -0
- package/schemas/flatbuffer/Vector2.fbs +14 -0
- package/schemas/flatbuffer/Vector3.fbs +17 -0
- package/schemas/jsonschema/CameraCalibration.json +2 -2
- package/schemas/jsonschema/CompressedImage.json +1 -1
- package/schemas/jsonschema/CubePrimitive.json +1 -1
- package/schemas/jsonschema/RawImage.json +1 -1
- package/schemas/jsonschema/SceneEntity.json +1 -1
- package/schemas/jsonschema/SceneUpdate.json +1 -1
- package/schemas/jsonschema/index.d.ts +4510 -35
- package/schemas/jsonschema/index.d.ts.map +1 -1
- package/schemas/jsonschema/index.js +7 -7
- package/schemas/jsonschema/index.js.map +1 -1
- package/schemas/jsonschema/index.ts +42 -42
- package/schemas/proto/foxglove/CameraCalibration.proto +3 -1
- package/schemas/proto/foxglove/CompressedImage.proto +2 -0
- package/schemas/proto/foxglove/CubePrimitive.proto +1 -1
- package/schemas/proto/foxglove/RawImage.proto +2 -0
- package/schemas/ros1/CameraCalibration.msg +3 -1
- package/schemas/ros1/CompressedImage.msg +2 -0
- package/schemas/ros1/CubePrimitive.msg +1 -1
- package/schemas/ros1/RawImage.msg +2 -0
- package/schemas/ros2/CameraCalibration.msg +3 -1
- package/schemas/ros2/CompressedImage.msg +2 -0
- package/schemas/ros2/CubePrimitive.msg +1 -1
- package/schemas/ros2/RawImage.msg +2 -0
- package/schemas/typescript/CameraCalibration.d.ts +6 -2
- package/schemas/typescript/CameraCalibration.d.ts.map +1 -1
- package/schemas/typescript/CameraCalibration.ts +6 -2
- package/schemas/typescript/CompressedImage.d.ts +5 -1
- package/schemas/typescript/CompressedImage.d.ts.map +1 -1
- package/schemas/typescript/CompressedImage.ts +5 -1
- package/schemas/typescript/CubePrimitive.d.ts +1 -1
- package/schemas/typescript/CubePrimitive.d.ts.map +1 -1
- package/schemas/typescript/CubePrimitive.ts +1 -1
- package/schemas/typescript/RawImage.d.ts +5 -1
- package/schemas/typescript/RawImage.d.ts.map +1 -1
- package/schemas/typescript/RawImage.ts +5 -1
- package/scripts/updateGeneratedFiles.js +14 -2
- package/scripts/updateGeneratedFiles.js.map +1 -1
- package/scripts/updateGeneratedFiles.ts +26 -2
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_meta": {
|
|
3
|
+
"hash": {
|
|
4
|
+
"sha256": "2ef152665d5b58c6132d4c3c506f7f020a9b5e6bc5af82f2a334b23d8b8ed8a4"
|
|
5
|
+
},
|
|
6
|
+
"pipfile-spec": 6,
|
|
7
|
+
"requires": {
|
|
8
|
+
"python_version": "3"
|
|
9
|
+
},
|
|
10
|
+
"sources": [
|
|
11
|
+
{
|
|
12
|
+
"name": "pypi",
|
|
13
|
+
"url": "https://pypi.org/simple",
|
|
14
|
+
"verify_ssl": true
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"default": {
|
|
19
|
+
"foxglove-schemas-protobuf": {
|
|
20
|
+
"editable": true,
|
|
21
|
+
"path": "./foxglove-schemas-protobuf"
|
|
22
|
+
},
|
|
23
|
+
"protobuf": {
|
|
24
|
+
"hashes": [
|
|
25
|
+
"sha256:2c9c2ed7466ad565f18668aa4731c535511c5d9a40c6da39524bccf43e441719",
|
|
26
|
+
"sha256:48e2cd6b88c6ed3d5877a3ea40df79d08374088e89bedc32557348848dff250b",
|
|
27
|
+
"sha256:5b0834e61fb38f34ba8840d7dcb2e5a2f03de0c714e0293b3963b79db26de8ce",
|
|
28
|
+
"sha256:61f21493d96d2a77f9ca84fefa105872550ab5ef71d21c458eb80edcf4885a99",
|
|
29
|
+
"sha256:6e0be9f09bf9b6cf497b27425487706fa48c6d1632ddd94dab1a5fe11a422392",
|
|
30
|
+
"sha256:6e312e280fbe3c74ea9e080d9e6080b636798b5e3939242298b591064470b06b",
|
|
31
|
+
"sha256:7eb8f2cc41a34e9c956c256e3ac766cf4e1a4c9c925dc757a41a01be3e852965",
|
|
32
|
+
"sha256:84ea107016244dfc1eecae7684f7ce13c788b9a644cd3fca5b77871366556444",
|
|
33
|
+
"sha256:9227c14010acd9ae7702d6467b4625b6fe853175a6b150e539b21d2b2f2b409c",
|
|
34
|
+
"sha256:a419cc95fca8694804709b8c4f2326266d29659b126a93befe210f5bbc772536",
|
|
35
|
+
"sha256:a7d0ea43949d45b836234f4ebb5ba0b22e7432d065394b532cdca8f98415e3cf",
|
|
36
|
+
"sha256:b5ab0b8918c136345ff045d4b3d5f719b505b7c8af45092d7f45e304f55e50a1",
|
|
37
|
+
"sha256:e575c57dc8b5b2b2caa436c16d44ef6981f2235eb7179bfc847557886376d740",
|
|
38
|
+
"sha256:f9eae277dd240ae19bb06ff4e2346e771252b0e619421965504bd1b1bba7c5fa"
|
|
39
|
+
],
|
|
40
|
+
"index": "pypi",
|
|
41
|
+
"version": "==4.21.9"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"develop": {
|
|
45
|
+
"attrs": {
|
|
46
|
+
"hashes": [
|
|
47
|
+
"sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6",
|
|
48
|
+
"sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c"
|
|
49
|
+
],
|
|
50
|
+
"markers": "python_version >= '3.5'",
|
|
51
|
+
"version": "==22.1.0"
|
|
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"
|
|
79
|
+
},
|
|
80
|
+
"build": {
|
|
81
|
+
"hashes": [
|
|
82
|
+
"sha256:1a07724e891cbd898923145eb7752ee7653674c511378eb9c7691aab1612bc3c",
|
|
83
|
+
"sha256:38a7a2b7a0bdc61a42a0a67509d88c71ecfc37b393baba770fae34e20929ff69"
|
|
84
|
+
],
|
|
85
|
+
"index": "pypi",
|
|
86
|
+
"version": "==0.9.0"
|
|
87
|
+
},
|
|
88
|
+
"certifi": {
|
|
89
|
+
"hashes": [
|
|
90
|
+
"sha256:0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14",
|
|
91
|
+
"sha256:90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382"
|
|
92
|
+
],
|
|
93
|
+
"markers": "python_version >= '3.6'",
|
|
94
|
+
"version": "==2022.9.24"
|
|
95
|
+
},
|
|
96
|
+
"click": {
|
|
97
|
+
"hashes": [
|
|
98
|
+
"sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e",
|
|
99
|
+
"sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"
|
|
100
|
+
],
|
|
101
|
+
"markers": "python_version >= '3.7'",
|
|
102
|
+
"version": "==8.1.3"
|
|
103
|
+
},
|
|
104
|
+
"distlib": {
|
|
105
|
+
"hashes": [
|
|
106
|
+
"sha256:14bad2d9b04d3a36127ac97f30b12a19268f211063d8f8ee4f47108896e11b46",
|
|
107
|
+
"sha256:f35c4b692542ca110de7ef0bea44d73981caeb34ca0b9b6b2e6d7790dda8f80e"
|
|
108
|
+
],
|
|
109
|
+
"version": "==0.3.6"
|
|
110
|
+
},
|
|
111
|
+
"exceptiongroup": {
|
|
112
|
+
"hashes": [
|
|
113
|
+
"sha256:542adf9dea4055530d6e1279602fa5cb11dab2395fa650b8674eaec35fc4a828",
|
|
114
|
+
"sha256:bd14967b79cd9bdb54d97323216f8fdf533e278df937aa2a90089e7d6e06e5ec"
|
|
115
|
+
],
|
|
116
|
+
"markers": "python_version < '3.11'",
|
|
117
|
+
"version": "==1.0.4"
|
|
118
|
+
},
|
|
119
|
+
"filelock": {
|
|
120
|
+
"hashes": [
|
|
121
|
+
"sha256:55447caa666f2198c5b6b13a26d2084d26fa5b115c00d065664b2124680c4edc",
|
|
122
|
+
"sha256:617eb4e5eedc82fc5f47b6d61e4d11cb837c56cb4544e39081099fa17ad109d4"
|
|
123
|
+
],
|
|
124
|
+
"markers": "python_version >= '3.7'",
|
|
125
|
+
"version": "==3.8.0"
|
|
126
|
+
},
|
|
127
|
+
"flake8": {
|
|
128
|
+
"hashes": [
|
|
129
|
+
"sha256:6fbe320aad8d6b95cec8b8e47bc933004678dc63095be98528b7bdd2a9f510db",
|
|
130
|
+
"sha256:7a1cf6b73744f5806ab95e526f6f0d8c01c66d7bbe349562d22dfca20610b248"
|
|
131
|
+
],
|
|
132
|
+
"index": "pypi",
|
|
133
|
+
"version": "==5.0.4"
|
|
134
|
+
},
|
|
135
|
+
"iniconfig": {
|
|
136
|
+
"hashes": [
|
|
137
|
+
"sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3",
|
|
138
|
+
"sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"
|
|
139
|
+
],
|
|
140
|
+
"version": "==1.1.1"
|
|
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"
|
|
156
|
+
},
|
|
157
|
+
"mypy-protobuf": {
|
|
158
|
+
"hashes": [
|
|
159
|
+
"sha256:7d75a079651b105076776a35a5405e3fa773b8a167118f1b712e443e9a6c18a2",
|
|
160
|
+
"sha256:da33dfde7547ff57e5ba5564126cbfa114f14413b2fa50759b1fa5de1e4ab511"
|
|
161
|
+
],
|
|
162
|
+
"index": "pypi",
|
|
163
|
+
"version": "==3.4.0"
|
|
164
|
+
},
|
|
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
|
+
"packaging": {
|
|
174
|
+
"hashes": [
|
|
175
|
+
"sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb",
|
|
176
|
+
"sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"
|
|
177
|
+
],
|
|
178
|
+
"markers": "python_version >= '3.6'",
|
|
179
|
+
"version": "==21.3"
|
|
180
|
+
},
|
|
181
|
+
"pathspec": {
|
|
182
|
+
"hashes": [
|
|
183
|
+
"sha256:88c2606f2c1e818b978540f73ecc908e13999c6c3a383daf3705652ae79807a5",
|
|
184
|
+
"sha256:8f6bf73e5758fd365ef5d58ce09ac7c27d2833a8d7da51712eac6e27e35141b0"
|
|
185
|
+
],
|
|
186
|
+
"markers": "python_version >= '3.7'",
|
|
187
|
+
"version": "==0.10.2"
|
|
188
|
+
},
|
|
189
|
+
"pep517": {
|
|
190
|
+
"hashes": [
|
|
191
|
+
"sha256:4ba4446d80aed5b5eac6509ade100bff3e7943a8489de249654a5ae9b33ee35b",
|
|
192
|
+
"sha256:ae69927c5c172be1add9203726d4b84cf3ebad1edcd5f71fcdc746e66e829f59"
|
|
193
|
+
],
|
|
194
|
+
"markers": "python_version >= '3.6'",
|
|
195
|
+
"version": "==0.13.0"
|
|
196
|
+
},
|
|
197
|
+
"pipenv": {
|
|
198
|
+
"hashes": [
|
|
199
|
+
"sha256:7a75fe8df36226a84ad482d37c003eab131378339bc421b553d8425253980b2c",
|
|
200
|
+
"sha256:e69f64477e83595f3b891e1e58b1b1355d4c593432e63b078dc1be9bd93c5066"
|
|
201
|
+
],
|
|
202
|
+
"index": "pypi",
|
|
203
|
+
"version": "==2022.11.11"
|
|
204
|
+
},
|
|
205
|
+
"platformdirs": {
|
|
206
|
+
"hashes": [
|
|
207
|
+
"sha256:1006647646d80f16130f052404c6b901e80ee4ed6bef6792e1f238a8969106f7",
|
|
208
|
+
"sha256:af0276409f9a02373d540bf8480021a048711d572745aef4b7842dad245eba10"
|
|
209
|
+
],
|
|
210
|
+
"markers": "python_version >= '3.7'",
|
|
211
|
+
"version": "==2.5.4"
|
|
212
|
+
},
|
|
213
|
+
"pluggy": {
|
|
214
|
+
"hashes": [
|
|
215
|
+
"sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159",
|
|
216
|
+
"sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"
|
|
217
|
+
],
|
|
218
|
+
"markers": "python_version >= '3.6'",
|
|
219
|
+
"version": "==1.0.0"
|
|
220
|
+
},
|
|
221
|
+
"protobuf": {
|
|
222
|
+
"hashes": [
|
|
223
|
+
"sha256:2c9c2ed7466ad565f18668aa4731c535511c5d9a40c6da39524bccf43e441719",
|
|
224
|
+
"sha256:48e2cd6b88c6ed3d5877a3ea40df79d08374088e89bedc32557348848dff250b",
|
|
225
|
+
"sha256:5b0834e61fb38f34ba8840d7dcb2e5a2f03de0c714e0293b3963b79db26de8ce",
|
|
226
|
+
"sha256:61f21493d96d2a77f9ca84fefa105872550ab5ef71d21c458eb80edcf4885a99",
|
|
227
|
+
"sha256:6e0be9f09bf9b6cf497b27425487706fa48c6d1632ddd94dab1a5fe11a422392",
|
|
228
|
+
"sha256:6e312e280fbe3c74ea9e080d9e6080b636798b5e3939242298b591064470b06b",
|
|
229
|
+
"sha256:7eb8f2cc41a34e9c956c256e3ac766cf4e1a4c9c925dc757a41a01be3e852965",
|
|
230
|
+
"sha256:84ea107016244dfc1eecae7684f7ce13c788b9a644cd3fca5b77871366556444",
|
|
231
|
+
"sha256:9227c14010acd9ae7702d6467b4625b6fe853175a6b150e539b21d2b2f2b409c",
|
|
232
|
+
"sha256:a419cc95fca8694804709b8c4f2326266d29659b126a93befe210f5bbc772536",
|
|
233
|
+
"sha256:a7d0ea43949d45b836234f4ebb5ba0b22e7432d065394b532cdca8f98415e3cf",
|
|
234
|
+
"sha256:b5ab0b8918c136345ff045d4b3d5f719b505b7c8af45092d7f45e304f55e50a1",
|
|
235
|
+
"sha256:e575c57dc8b5b2b2caa436c16d44ef6981f2235eb7179bfc847557886376d740",
|
|
236
|
+
"sha256:f9eae277dd240ae19bb06ff4e2346e771252b0e619421965504bd1b1bba7c5fa"
|
|
237
|
+
],
|
|
238
|
+
"index": "pypi",
|
|
239
|
+
"version": "==4.21.9"
|
|
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"
|
|
264
|
+
},
|
|
265
|
+
"pyright": {
|
|
266
|
+
"hashes": [
|
|
267
|
+
"sha256:25917a14d873252c5c2e6fdbec322888c0480f6db95068ff6459befa9af3c92a",
|
|
268
|
+
"sha256:4bcb167251419b3b736137b0535cb6bbfb5bef16eb74057eaf3ccaccb01d74c1"
|
|
269
|
+
],
|
|
270
|
+
"index": "pypi",
|
|
271
|
+
"version": "==1.1.280"
|
|
272
|
+
},
|
|
273
|
+
"pytest": {
|
|
274
|
+
"hashes": [
|
|
275
|
+
"sha256:892f933d339f068883b6fd5a459f03d85bfcb355e4981e146d2c7616c21fef71",
|
|
276
|
+
"sha256:c4014eb40e10f11f355ad4e3c2fb2c6c6d1919c73f3b5a433de4708202cade59"
|
|
277
|
+
],
|
|
278
|
+
"index": "pypi",
|
|
279
|
+
"version": "==7.2.0"
|
|
280
|
+
},
|
|
281
|
+
"setuptools": {
|
|
282
|
+
"hashes": [
|
|
283
|
+
"sha256:d0b9a8433464d5800cbe05094acf5c6d52a91bfac9b52bcfc4d41382be5d5d31",
|
|
284
|
+
"sha256:e197a19aa8ec9722928f2206f8de752def0e4c9fc6953527360d1c36d94ddb2f"
|
|
285
|
+
],
|
|
286
|
+
"markers": "python_version >= '3.7'",
|
|
287
|
+
"version": "==65.5.1"
|
|
288
|
+
},
|
|
289
|
+
"tomli": {
|
|
290
|
+
"hashes": [
|
|
291
|
+
"sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc",
|
|
292
|
+
"sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
|
|
293
|
+
],
|
|
294
|
+
"markers": "python_version < '3.11'",
|
|
295
|
+
"version": "==2.0.1"
|
|
296
|
+
},
|
|
297
|
+
"types-protobuf": {
|
|
298
|
+
"hashes": [
|
|
299
|
+
"sha256:97af5ce70d890fdb94cb0c906f5a6624ca2fef58bc04e27990a25509e992a950",
|
|
300
|
+
"sha256:e9b45008d106e1d10cc77a29d2d344b85c0f01e2e643aaccf32f69e9e81b0cdd"
|
|
301
|
+
],
|
|
302
|
+
"version": "==3.20.4.5"
|
|
303
|
+
},
|
|
304
|
+
"typing-extensions": {
|
|
305
|
+
"hashes": [
|
|
306
|
+
"sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa",
|
|
307
|
+
"sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e"
|
|
308
|
+
],
|
|
309
|
+
"index": "pypi",
|
|
310
|
+
"version": "==4.4.0"
|
|
311
|
+
},
|
|
312
|
+
"virtualenv": {
|
|
313
|
+
"hashes": [
|
|
314
|
+
"sha256:8691e3ff9387f743e00f6bb20f70121f5e4f596cae754531f2b3b3a1b1ac696e",
|
|
315
|
+
"sha256:efd66b00386fdb7dbe4822d172303f40cd05e50e01740b19ea42425cbe653e29"
|
|
316
|
+
],
|
|
317
|
+
"markers": "python_version >= '3.6'",
|
|
318
|
+
"version": "==20.16.7"
|
|
319
|
+
},
|
|
320
|
+
"virtualenv-clone": {
|
|
321
|
+
"hashes": [
|
|
322
|
+
"sha256:418ee935c36152f8f153c79824bb93eaf6f0f7984bae31d3f48f350b9183501a",
|
|
323
|
+
"sha256:44d5263bceed0bac3e1424d64f798095233b64def1c5689afa43dc3223caf5b0"
|
|
324
|
+
],
|
|
325
|
+
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
|
|
326
|
+
"version": "==0.5.7"
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Foxglove Schemas (Protobuf)
|
|
2
|
+
|
|
3
|
+
This package provides [Protobuf](https://developers.google.com/protocol-buffers/) 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-protobuf` to your `Pipfile` or via the command line:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pipenv install foxglove-schemas-protobuf
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Import types from the `foxglove` module as follows:
|
|
16
|
+
|
|
17
|
+
```py
|
|
18
|
+
from foxglove_schemas_protobuf.CompressedImage_pb2 import CompressedImage
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Stay in touch
|
|
22
|
+
|
|
23
|
+
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.
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[metadata]
|
|
2
|
+
name = foxglove-schemas-protobuf
|
|
3
|
+
version = 0.0.3
|
|
4
|
+
description = Protobuf 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
|
+
protobuf
|
|
16
|
+
install_package_data = True
|
|
17
|
+
packages = find:
|
|
18
|
+
python_requires = >=3.7
|
|
19
|
+
|
|
20
|
+
[options.package_data]
|
|
21
|
+
foxglove_schemas_protobuf = py.typed, *.pyi
|
package/schemas/README.md
CHANGED
|
@@ -296,6 +296,8 @@ string
|
|
|
296
296
|
|
|
297
297
|
Name of distortion model
|
|
298
298
|
|
|
299
|
+
Supported values: `plumb_bob` and `rational_polynomial`
|
|
300
|
+
|
|
299
301
|
</td>
|
|
300
302
|
</tr>
|
|
301
303
|
<tr>
|
|
@@ -344,7 +346,7 @@ float64[9]
|
|
|
344
346
|
</td>
|
|
345
347
|
<td>
|
|
346
348
|
|
|
347
|
-
Rectification matrix (3x3 row-major matrix)
|
|
349
|
+
Rectification matrix (stereo cameras only, 3x3 row-major matrix)
|
|
348
350
|
|
|
349
351
|
A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
350
352
|
|
|
@@ -604,6 +606,8 @@ string
|
|
|
604
606
|
|
|
605
607
|
Image format
|
|
606
608
|
|
|
609
|
+
Supported values: `webp`, `jpeg`, `png`
|
|
610
|
+
|
|
607
611
|
</td>
|
|
608
612
|
</tr>
|
|
609
613
|
</table>
|
|
@@ -653,7 +657,7 @@ Size of the cube along each axis
|
|
|
653
657
|
</td>
|
|
654
658
|
<td>
|
|
655
659
|
|
|
656
|
-
Color of the
|
|
660
|
+
Color of the cube
|
|
657
661
|
|
|
658
662
|
</td>
|
|
659
663
|
</tr>
|
|
@@ -2144,6 +2148,8 @@ string
|
|
|
2144
2148
|
|
|
2145
2149
|
Encoding of the raw image data
|
|
2146
2150
|
|
|
2151
|
+
Supported values: `8UC1`, `8UC3`, `16UC1`, `32FC1`, `bayer_bggr8`, `bayer_gbrg8`, `bayer_grbg8`, `bayer_rggb8`, `bgr8`, `bgra8`, `mono8`, `mono16`, `rgb8`, `rgba8`, `yuv422`
|
|
2152
|
+
|
|
2147
2153
|
</td>
|
|
2148
2154
|
</tr>
|
|
2149
2155
|
<tr>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
include "Color.fbs";
|
|
4
|
+
include "Pose.fbs";
|
|
5
|
+
|
|
6
|
+
namespace foxglove;
|
|
7
|
+
|
|
8
|
+
/// A primitive representing an arrow
|
|
9
|
+
table ArrowPrimitive {
|
|
10
|
+
/// Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.
|
|
11
|
+
pose:foxglove.Pose;
|
|
12
|
+
|
|
13
|
+
/// Length of the arrow shaft
|
|
14
|
+
shaft_length:double;
|
|
15
|
+
|
|
16
|
+
/// Diameter of the arrow shaft
|
|
17
|
+
shaft_diameter:double;
|
|
18
|
+
|
|
19
|
+
/// Length of the arrow head
|
|
20
|
+
head_length:double;
|
|
21
|
+
|
|
22
|
+
/// Diameter of the arrow head
|
|
23
|
+
head_diameter:double;
|
|
24
|
+
|
|
25
|
+
/// Color of the arrow
|
|
26
|
+
color:foxglove.Color;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
root_type ArrowPrimitive;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
include "Time.fbs";
|
|
4
|
+
|
|
5
|
+
namespace foxglove;
|
|
6
|
+
|
|
7
|
+
/// Camera calibration parameters
|
|
8
|
+
table CameraCalibration {
|
|
9
|
+
/// Timestamp of calibration data
|
|
10
|
+
timestamp:Time;
|
|
11
|
+
|
|
12
|
+
/// Frame of reference for the camera. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image.
|
|
13
|
+
frame_id:string;
|
|
14
|
+
|
|
15
|
+
/// Image width
|
|
16
|
+
width:uint32;
|
|
17
|
+
|
|
18
|
+
/// Image height
|
|
19
|
+
height:uint32;
|
|
20
|
+
|
|
21
|
+
/// Name of distortion model
|
|
22
|
+
///
|
|
23
|
+
/// Supported values: `plumb_bob` and `rational_polynomial`
|
|
24
|
+
distortion_model:string;
|
|
25
|
+
|
|
26
|
+
/// Distortion parameters
|
|
27
|
+
d:[double];
|
|
28
|
+
|
|
29
|
+
/// Intrinsic camera matrix (3x3 row-major matrix)
|
|
30
|
+
///
|
|
31
|
+
/// A 3x3 row-major matrix for the raw (distorted) image.
|
|
32
|
+
///
|
|
33
|
+
/// Projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx, fy) and principal point (cx, cy).
|
|
34
|
+
///
|
|
35
|
+
/// ```
|
|
36
|
+
/// [fx 0 cx]
|
|
37
|
+
/// K = [ 0 fy cy]
|
|
38
|
+
/// [ 0 0 1]
|
|
39
|
+
/// ```
|
|
40
|
+
/// length 9
|
|
41
|
+
k:[double];
|
|
42
|
+
|
|
43
|
+
/// Rectification matrix (stereo cameras only, 3x3 row-major matrix)
|
|
44
|
+
///
|
|
45
|
+
/// A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
46
|
+
/// length 9
|
|
47
|
+
r:[double];
|
|
48
|
+
|
|
49
|
+
/// Projection/camera matrix (3x4 row-major matrix)
|
|
50
|
+
///
|
|
51
|
+
/// ```
|
|
52
|
+
/// [fx' 0 cx' Tx]
|
|
53
|
+
/// P = [ 0 fy' cy' Ty]
|
|
54
|
+
/// [ 0 0 1 0]
|
|
55
|
+
/// ```
|
|
56
|
+
///
|
|
57
|
+
/// By convention, this matrix specifies the intrinsic (camera) matrix of the processed (rectified) image. That is, the left 3x3 portion is the normal camera intrinsic matrix for the rectified image.
|
|
58
|
+
///
|
|
59
|
+
/// It projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx', fy') and principal point (cx', cy') - these may differ from the values in K.
|
|
60
|
+
///
|
|
61
|
+
/// For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will also have R = the identity and P[1:3,1:3] = K.
|
|
62
|
+
///
|
|
63
|
+
/// For a stereo pair, the fourth column [Tx Ty 0]' is related to the position of the optical center of the second camera in the first camera's frame. We assume Tz = 0 so both cameras are in the same stereo image plane. The first camera always has Tx = Ty = 0. For the right (second) camera of a horizontal stereo pair, Ty = 0 and Tx = -fx' * B, where B is the baseline between the cameras.
|
|
64
|
+
///
|
|
65
|
+
/// Given a 3D point [X Y Z]', the projection (x, y) of the point onto the rectified image is given by:
|
|
66
|
+
///
|
|
67
|
+
/// ```
|
|
68
|
+
/// [u v w]' = P * [X Y Z 1]'
|
|
69
|
+
/// x = u / w
|
|
70
|
+
/// y = v / w
|
|
71
|
+
/// ```
|
|
72
|
+
///
|
|
73
|
+
/// This holds for both images of a stereo pair.
|
|
74
|
+
/// length 12
|
|
75
|
+
p:[double];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
root_type CameraCalibration;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
include "Color.fbs";
|
|
4
|
+
include "Point2.fbs";
|
|
5
|
+
include "Time.fbs";
|
|
6
|
+
|
|
7
|
+
namespace foxglove;
|
|
8
|
+
|
|
9
|
+
/// A circle annotation on a 2D image
|
|
10
|
+
table CircleAnnotation {
|
|
11
|
+
/// Timestamp of circle
|
|
12
|
+
timestamp:Time;
|
|
13
|
+
|
|
14
|
+
/// Center of the circle in 2D image coordinates
|
|
15
|
+
position:foxglove.Point2;
|
|
16
|
+
|
|
17
|
+
/// Circle diameter
|
|
18
|
+
diameter:double;
|
|
19
|
+
|
|
20
|
+
/// Line thickness
|
|
21
|
+
thickness:double;
|
|
22
|
+
|
|
23
|
+
/// Fill color
|
|
24
|
+
fill_color:foxglove.Color;
|
|
25
|
+
|
|
26
|
+
/// Outline color
|
|
27
|
+
outline_color:foxglove.Color;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
root_type CircleAnnotation;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
namespace foxglove;
|
|
4
|
+
|
|
5
|
+
/// A color in RGBA format
|
|
6
|
+
table Color {
|
|
7
|
+
/// Red value between 0 and 1
|
|
8
|
+
r:double = 1.0;
|
|
9
|
+
|
|
10
|
+
/// Green value between 0 and 1
|
|
11
|
+
g:double = 1.0;
|
|
12
|
+
|
|
13
|
+
/// Blue value between 0 and 1
|
|
14
|
+
b:double = 1.0;
|
|
15
|
+
|
|
16
|
+
/// Alpha value between 0 and 1
|
|
17
|
+
a:double = 1.0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
root_type Color;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
include "Time.fbs";
|
|
4
|
+
|
|
5
|
+
namespace foxglove;
|
|
6
|
+
|
|
7
|
+
/// A compressed image
|
|
8
|
+
table CompressedImage {
|
|
9
|
+
/// Timestamp of image
|
|
10
|
+
timestamp:Time;
|
|
11
|
+
|
|
12
|
+
/// Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image.
|
|
13
|
+
frame_id:string;
|
|
14
|
+
|
|
15
|
+
/// Compressed image data
|
|
16
|
+
data:[uint8];
|
|
17
|
+
|
|
18
|
+
/// Image format
|
|
19
|
+
///
|
|
20
|
+
/// Supported values: `webp`, `jpeg`, `png`
|
|
21
|
+
format:string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
root_type CompressedImage;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
include "Color.fbs";
|
|
4
|
+
include "Pose.fbs";
|
|
5
|
+
include "Vector3.fbs";
|
|
6
|
+
|
|
7
|
+
namespace foxglove;
|
|
8
|
+
|
|
9
|
+
/// A primitive representing a cube or rectangular prism
|
|
10
|
+
table CubePrimitive {
|
|
11
|
+
/// Position of the center of the cube and orientation of the cube
|
|
12
|
+
pose:foxglove.Pose;
|
|
13
|
+
|
|
14
|
+
/// Size of the cube along each axis
|
|
15
|
+
size:foxglove.Vector3;
|
|
16
|
+
|
|
17
|
+
/// Color of the cube
|
|
18
|
+
color:foxglove.Color;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
root_type CubePrimitive;
|