@foxglove/schemas 0.4.0 → 0.5.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/.vscode/settings.json +1 -1
- package/dist/cjs/schemas/typescript/ArrowPrimitive.d.ts +18 -0
- package/dist/cjs/schemas/typescript/ArrowPrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/ArrowPrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/ArrowPrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/CubePrimitive.d.ts +13 -0
- package/dist/cjs/schemas/typescript/CubePrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/CubePrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/CubePrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/CylinderPrimitive.d.ts +17 -0
- package/dist/cjs/schemas/typescript/CylinderPrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/CylinderPrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/CylinderPrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/KeyValuePair.d.ts +8 -0
- package/dist/cjs/schemas/typescript/KeyValuePair.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/KeyValuePair.js +4 -0
- package/dist/cjs/schemas/typescript/KeyValuePair.js.map +1 -0
- package/dist/cjs/schemas/typescript/LinePrimitive.d.ts +28 -0
- package/dist/cjs/schemas/typescript/LinePrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/LinePrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/LinePrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/LineType.d.ts +10 -0
- package/dist/cjs/schemas/typescript/LineType.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/LineType.js +15 -0
- package/dist/cjs/schemas/typescript/LineType.js.map +1 -0
- package/dist/cjs/schemas/typescript/ModelPrimitive.d.ts +21 -0
- package/dist/cjs/schemas/typescript/ModelPrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/ModelPrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/ModelPrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntity.d.ts +43 -0
- package/dist/cjs/schemas/typescript/SceneEntity.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntity.js +4 -0
- package/dist/cjs/schemas/typescript/SceneEntity.js.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletion.d.ts +12 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletion.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletion.js +4 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletion.js.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletionType.d.ts +8 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletionType.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletionType.js +13 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletionType.js.map +1 -0
- package/dist/cjs/schemas/typescript/SceneUpdate.d.ts +10 -0
- package/dist/cjs/schemas/typescript/SceneUpdate.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/SceneUpdate.js +4 -0
- package/dist/cjs/schemas/typescript/SceneUpdate.js.map +1 -0
- package/dist/cjs/schemas/typescript/SpherePrimitive.d.ts +13 -0
- package/dist/cjs/schemas/typescript/SpherePrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/SpherePrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/SpherePrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/TextPrimitive.d.ts +18 -0
- package/dist/cjs/schemas/typescript/TextPrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/TextPrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/TextPrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/TriangleListPrimitive.d.ts +21 -0
- package/dist/cjs/schemas/typescript/TriangleListPrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/TriangleListPrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/TriangleListPrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/index.d.ts +14 -0
- package/dist/cjs/schemas/typescript/index.d.ts.map +1 -1
- package/dist/cjs/schemas/typescript/index.js +14 -0
- package/dist/cjs/schemas/typescript/index.js.map +1 -1
- package/dist/cjs/src/schemas.d.ts +15 -1
- package/dist/cjs/src/schemas.d.ts.map +1 -1
- package/dist/cjs/src/schemas.js +541 -79
- package/dist/cjs/src/schemas.js.map +1 -1
- package/dist/cjs/src/schemas.test.js +17 -0
- package/dist/cjs/src/schemas.test.js.map +1 -1
- package/dist/esm/schemas/typescript/ArrowPrimitive.d.ts +18 -0
- package/dist/esm/schemas/typescript/ArrowPrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/ArrowPrimitive.js +3 -0
- package/dist/esm/schemas/typescript/ArrowPrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/CubePrimitive.d.ts +13 -0
- package/dist/esm/schemas/typescript/CubePrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/CubePrimitive.js +3 -0
- package/dist/esm/schemas/typescript/CubePrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/CylinderPrimitive.d.ts +17 -0
- package/dist/esm/schemas/typescript/CylinderPrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/CylinderPrimitive.js +3 -0
- package/dist/esm/schemas/typescript/CylinderPrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/KeyValuePair.d.ts +8 -0
- package/dist/esm/schemas/typescript/KeyValuePair.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/KeyValuePair.js +3 -0
- package/dist/esm/schemas/typescript/KeyValuePair.js.map +1 -0
- package/dist/esm/schemas/typescript/LinePrimitive.d.ts +28 -0
- package/dist/esm/schemas/typescript/LinePrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/LinePrimitive.js +3 -0
- package/dist/esm/schemas/typescript/LinePrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/LineType.d.ts +10 -0
- package/dist/esm/schemas/typescript/LineType.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/LineType.js +12 -0
- package/dist/esm/schemas/typescript/LineType.js.map +1 -0
- package/dist/esm/schemas/typescript/ModelPrimitive.d.ts +21 -0
- package/dist/esm/schemas/typescript/ModelPrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/ModelPrimitive.js +3 -0
- package/dist/esm/schemas/typescript/ModelPrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntity.d.ts +43 -0
- package/dist/esm/schemas/typescript/SceneEntity.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntity.js +3 -0
- package/dist/esm/schemas/typescript/SceneEntity.js.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletion.d.ts +12 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletion.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletion.js +3 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletion.js.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletionType.d.ts +8 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletionType.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletionType.js +10 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletionType.js.map +1 -0
- package/dist/esm/schemas/typescript/SceneUpdate.d.ts +10 -0
- package/dist/esm/schemas/typescript/SceneUpdate.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/SceneUpdate.js +3 -0
- package/dist/esm/schemas/typescript/SceneUpdate.js.map +1 -0
- package/dist/esm/schemas/typescript/SpherePrimitive.d.ts +13 -0
- package/dist/esm/schemas/typescript/SpherePrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/SpherePrimitive.js +3 -0
- package/dist/esm/schemas/typescript/SpherePrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/TextPrimitive.d.ts +18 -0
- package/dist/esm/schemas/typescript/TextPrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/TextPrimitive.js +3 -0
- package/dist/esm/schemas/typescript/TextPrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/TriangleListPrimitive.d.ts +21 -0
- package/dist/esm/schemas/typescript/TriangleListPrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/TriangleListPrimitive.js +3 -0
- package/dist/esm/schemas/typescript/TriangleListPrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/index.d.ts +14 -0
- package/dist/esm/schemas/typescript/index.d.ts.map +1 -1
- package/dist/esm/schemas/typescript/index.js +14 -0
- package/dist/esm/schemas/typescript/index.js.map +1 -1
- package/dist/esm/src/schemas.d.ts +15 -1
- package/dist/esm/src/schemas.d.ts.map +1 -1
- package/dist/esm/src/schemas.js +541 -79
- package/dist/esm/src/schemas.js.map +1 -1
- package/dist/esm/src/schemas.test.js +17 -0
- package/dist/esm/src/schemas.test.js.map +1 -1
- package/package.json +1 -1
- package/schemas/README.md +1034 -17
- package/schemas/jsonschema/ArrowPrimitive.json +96 -0
- package/schemas/jsonschema/CubePrimitive.json +99 -0
- package/schemas/jsonschema/CylinderPrimitive.json +107 -0
- package/schemas/jsonschema/KeyValuePair.json +16 -0
- package/schemas/jsonschema/LinePrimitive.json +167 -0
- package/schemas/jsonschema/ModelPrimitive.json +116 -0
- package/schemas/jsonschema/SceneEntity.json +1012 -0
- package/schemas/jsonschema/SceneEntityDeletion.json +44 -0
- package/schemas/jsonschema/SceneUpdate.json +1070 -0
- package/schemas/jsonschema/SpherePrimitive.json +99 -0
- package/schemas/jsonschema/TextPrimitive.json +96 -0
- package/schemas/jsonschema/TriangleListPrimitive.json +138 -0
- package/schemas/proto/foxglove/ArrowPrimitive.proto +29 -0
- package/schemas/proto/foxglove/CubePrimitive.proto +21 -0
- package/schemas/proto/foxglove/CylinderPrimitive.proto +27 -0
- package/schemas/proto/foxglove/KeyValuePair.proto +14 -0
- package/schemas/proto/foxglove/LinePrimitive.proto +49 -0
- package/schemas/proto/foxglove/ModelPrimitive.proto +33 -0
- package/schemas/proto/foxglove/SceneEntity.proto +62 -0
- package/schemas/proto/foxglove/SceneEntityDeletion.proto +27 -0
- package/schemas/proto/foxglove/SceneUpdate.proto +17 -0
- package/schemas/proto/foxglove/SpherePrimitive.proto +21 -0
- package/schemas/proto/foxglove/TextPrimitive.proto +29 -0
- package/schemas/proto/foxglove/TriangleListPrimitive.proto +29 -0
- package/schemas/ros1/ArrowPrimitive.msg +22 -0
- package/schemas/ros1/CubePrimitive.msg +13 -0
- package/schemas/ros1/CylinderPrimitive.msg +19 -0
- package/schemas/ros1/KeyValuePair.msg +10 -0
- package/schemas/ros1/LinePrimitive.msg +39 -0
- package/schemas/ros1/ModelPrimitive.msg +25 -0
- package/schemas/ros1/SceneEntity.msg +46 -0
- package/schemas/ros1/SceneEntityDeletion.msg +19 -0
- package/schemas/ros1/SceneUpdate.msg +10 -0
- package/schemas/ros1/SpherePrimitive.msg +13 -0
- package/schemas/ros1/TextPrimitive.msg +22 -0
- package/schemas/ros1/TriangleListPrimitive.msg +21 -0
- package/schemas/ros2/ArrowPrimitive.msg +22 -0
- package/schemas/ros2/CubePrimitive.msg +13 -0
- package/schemas/ros2/CylinderPrimitive.msg +19 -0
- package/schemas/ros2/KeyValuePair.msg +10 -0
- package/schemas/ros2/LinePrimitive.msg +39 -0
- package/schemas/ros2/ModelPrimitive.msg +25 -0
- package/schemas/ros2/SceneEntity.msg +46 -0
- package/schemas/ros2/SceneEntityDeletion.msg +19 -0
- package/schemas/ros2/SceneUpdate.msg +10 -0
- package/schemas/ros2/SpherePrimitive.msg +13 -0
- package/schemas/ros2/TextPrimitive.msg +22 -0
- package/schemas/ros2/TriangleListPrimitive.msg +21 -0
- package/schemas/typescript/ArrowPrimitive.ts +25 -0
- package/schemas/typescript/CubePrimitive.ts +17 -0
- package/schemas/typescript/CylinderPrimitive.ts +23 -0
- package/schemas/typescript/KeyValuePair.ts +10 -0
- package/schemas/typescript/LinePrimitive.ts +37 -0
- package/schemas/typescript/LineType.ts +13 -0
- package/schemas/typescript/ModelPrimitive.ts +29 -0
- package/schemas/typescript/SceneEntity.ts +58 -0
- package/schemas/typescript/SceneEntityDeletion.ts +16 -0
- package/schemas/typescript/SceneEntityDeletionType.ts +10 -0
- package/schemas/typescript/SceneUpdate.ts +13 -0
- package/schemas/typescript/SpherePrimitive.ts +17 -0
- package/schemas/typescript/TextPrimitive.ts +25 -0
- package/schemas/typescript/TriangleListPrimitive.ts +27 -0
- package/schemas/typescript/index.ts +14 -0
- package/src/schemas.test.ts +19 -0
- package/src/schemas.ts +587 -79
package/schemas/README.md
CHANGED
|
@@ -6,21 +6,29 @@ All schemas are generated from [schemas.ts](/src/schemas.ts).
|
|
|
6
6
|
|
|
7
7
|
## Contents
|
|
8
8
|
|
|
9
|
+
- [enum LineType](#enum-linetype)
|
|
9
10
|
- [enum LogLevel](#enum-loglevel)
|
|
10
11
|
- [enum NumericType](#enum-numerictype)
|
|
11
12
|
- [enum PointsAnnotationType](#enum-pointsannotationtype)
|
|
12
13
|
- [enum PositionCovarianceType](#enum-positioncovariancetype)
|
|
14
|
+
- [enum SceneEntityDeletionType](#enum-sceneentitydeletiontype)
|
|
15
|
+
- [ArrowPrimitive](#arrowprimitive)
|
|
13
16
|
- [CameraCalibration](#cameracalibration)
|
|
14
17
|
- [CircleAnnotation](#circleannotation)
|
|
15
18
|
- [Color](#color)
|
|
16
19
|
- [CompressedImage](#compressedimage)
|
|
20
|
+
- [CubePrimitive](#cubeprimitive)
|
|
21
|
+
- [CylinderPrimitive](#cylinderprimitive)
|
|
17
22
|
- [FrameTransform](#frametransform)
|
|
18
23
|
- [GeoJSON](#geojson)
|
|
19
24
|
- [Grid](#grid)
|
|
20
25
|
- [ImageAnnotations](#imageannotations)
|
|
26
|
+
- [KeyValuePair](#keyvaluepair)
|
|
21
27
|
- [LaserScan](#laserscan)
|
|
28
|
+
- [LinePrimitive](#lineprimitive)
|
|
22
29
|
- [LocationFix](#locationfix)
|
|
23
30
|
- [Log](#log)
|
|
31
|
+
- [ModelPrimitive](#modelprimitive)
|
|
24
32
|
- [PackedElementField](#packedelementfield)
|
|
25
33
|
- [Point2](#point2)
|
|
26
34
|
- [Point3](#point3)
|
|
@@ -31,11 +39,29 @@ All schemas are generated from [schemas.ts](/src/schemas.ts).
|
|
|
31
39
|
- [PosesInFrame](#posesinframe)
|
|
32
40
|
- [Quaternion](#quaternion)
|
|
33
41
|
- [RawImage](#rawimage)
|
|
42
|
+
- [SceneEntity](#sceneentity)
|
|
43
|
+
- [SceneEntityDeletion](#sceneentitydeletion)
|
|
44
|
+
- [SceneUpdate](#sceneupdate)
|
|
45
|
+
- [SpherePrimitive](#sphereprimitive)
|
|
46
|
+
- [TextPrimitive](#textprimitive)
|
|
47
|
+
- [TriangleListPrimitive](#trianglelistprimitive)
|
|
34
48
|
- [Vector2](#vector2)
|
|
35
49
|
- [Vector3](#vector3)
|
|
36
50
|
|
|
37
51
|
----
|
|
38
52
|
|
|
53
|
+
## enum LineType
|
|
54
|
+
|
|
55
|
+
(Experimental, subject to change) An enumeration indicating how input points should be interpreted to create lines
|
|
56
|
+
|
|
57
|
+
name | value | description
|
|
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, ...
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
39
65
|
## enum LogLevel
|
|
40
66
|
|
|
41
67
|
Log level
|
|
@@ -96,6 +122,107 @@ name | value | description
|
|
|
96
122
|
|
|
97
123
|
|
|
98
124
|
|
|
125
|
+
## enum SceneEntityDeletionType
|
|
126
|
+
|
|
127
|
+
(Experimental, subject to change) An enumeration indicating which entities should match a SceneEntityDeletion command
|
|
128
|
+
|
|
129
|
+
name | value | description
|
|
130
|
+
---- | ----- | -----------
|
|
131
|
+
`MATCHING_ID` | 0 | Delete the existing entity on the same topic that has the provided `id`
|
|
132
|
+
`ALL` | 1 | Delete all existing entities on the same topic
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
## ArrowPrimitive
|
|
137
|
+
|
|
138
|
+
(Experimental, subject to change) A primitive representing an arrow
|
|
139
|
+
|
|
140
|
+
<table>
|
|
141
|
+
<tr>
|
|
142
|
+
<th>field</th>
|
|
143
|
+
<th>type</th>
|
|
144
|
+
<th>description</th>
|
|
145
|
+
</tr>
|
|
146
|
+
<tr>
|
|
147
|
+
<td><code>pose</code></td>
|
|
148
|
+
<td>
|
|
149
|
+
|
|
150
|
+
[Pose](#pose)
|
|
151
|
+
|
|
152
|
+
</td>
|
|
153
|
+
<td>
|
|
154
|
+
|
|
155
|
+
Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.
|
|
156
|
+
|
|
157
|
+
</td>
|
|
158
|
+
</tr>
|
|
159
|
+
<tr>
|
|
160
|
+
<td><code>shaft_length</code></td>
|
|
161
|
+
<td>
|
|
162
|
+
|
|
163
|
+
float64
|
|
164
|
+
|
|
165
|
+
</td>
|
|
166
|
+
<td>
|
|
167
|
+
|
|
168
|
+
Length of the arrow shaft
|
|
169
|
+
|
|
170
|
+
</td>
|
|
171
|
+
</tr>
|
|
172
|
+
<tr>
|
|
173
|
+
<td><code>shaft_diameter</code></td>
|
|
174
|
+
<td>
|
|
175
|
+
|
|
176
|
+
float64
|
|
177
|
+
|
|
178
|
+
</td>
|
|
179
|
+
<td>
|
|
180
|
+
|
|
181
|
+
Diameter of the arrow shaft
|
|
182
|
+
|
|
183
|
+
</td>
|
|
184
|
+
</tr>
|
|
185
|
+
<tr>
|
|
186
|
+
<td><code>head_length</code></td>
|
|
187
|
+
<td>
|
|
188
|
+
|
|
189
|
+
float64
|
|
190
|
+
|
|
191
|
+
</td>
|
|
192
|
+
<td>
|
|
193
|
+
|
|
194
|
+
Length of the arrow head
|
|
195
|
+
|
|
196
|
+
</td>
|
|
197
|
+
</tr>
|
|
198
|
+
<tr>
|
|
199
|
+
<td><code>head_diameter</code></td>
|
|
200
|
+
<td>
|
|
201
|
+
|
|
202
|
+
float64
|
|
203
|
+
|
|
204
|
+
</td>
|
|
205
|
+
<td>
|
|
206
|
+
|
|
207
|
+
Diameter of the arrow head
|
|
208
|
+
|
|
209
|
+
</td>
|
|
210
|
+
</tr>
|
|
211
|
+
<tr>
|
|
212
|
+
<td><code>color</code></td>
|
|
213
|
+
<td>
|
|
214
|
+
|
|
215
|
+
[Color](#color)
|
|
216
|
+
|
|
217
|
+
</td>
|
|
218
|
+
<td>
|
|
219
|
+
|
|
220
|
+
Color of the arrow
|
|
221
|
+
|
|
222
|
+
</td>
|
|
223
|
+
</tr>
|
|
224
|
+
</table>
|
|
225
|
+
|
|
99
226
|
## CameraCalibration
|
|
100
227
|
|
|
101
228
|
Camera calibration parameters
|
|
@@ -455,6 +582,134 @@ Image format
|
|
|
455
582
|
</tr>
|
|
456
583
|
</table>
|
|
457
584
|
|
|
585
|
+
## CubePrimitive
|
|
586
|
+
|
|
587
|
+
(Experimental, subject to change) A primitive representing a cube or rectangular prism
|
|
588
|
+
|
|
589
|
+
<table>
|
|
590
|
+
<tr>
|
|
591
|
+
<th>field</th>
|
|
592
|
+
<th>type</th>
|
|
593
|
+
<th>description</th>
|
|
594
|
+
</tr>
|
|
595
|
+
<tr>
|
|
596
|
+
<td><code>pose</code></td>
|
|
597
|
+
<td>
|
|
598
|
+
|
|
599
|
+
[Pose](#pose)
|
|
600
|
+
|
|
601
|
+
</td>
|
|
602
|
+
<td>
|
|
603
|
+
|
|
604
|
+
Position of the center of the cube and orientation of the cube
|
|
605
|
+
|
|
606
|
+
</td>
|
|
607
|
+
</tr>
|
|
608
|
+
<tr>
|
|
609
|
+
<td><code>size</code></td>
|
|
610
|
+
<td>
|
|
611
|
+
|
|
612
|
+
[Vector3](#vector3)
|
|
613
|
+
|
|
614
|
+
</td>
|
|
615
|
+
<td>
|
|
616
|
+
|
|
617
|
+
Size of the cube along each axis
|
|
618
|
+
|
|
619
|
+
</td>
|
|
620
|
+
</tr>
|
|
621
|
+
<tr>
|
|
622
|
+
<td><code>color</code></td>
|
|
623
|
+
<td>
|
|
624
|
+
|
|
625
|
+
[Color](#color)
|
|
626
|
+
|
|
627
|
+
</td>
|
|
628
|
+
<td>
|
|
629
|
+
|
|
630
|
+
Color of the arrow
|
|
631
|
+
|
|
632
|
+
</td>
|
|
633
|
+
</tr>
|
|
634
|
+
</table>
|
|
635
|
+
|
|
636
|
+
## CylinderPrimitive
|
|
637
|
+
|
|
638
|
+
(Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone
|
|
639
|
+
|
|
640
|
+
<table>
|
|
641
|
+
<tr>
|
|
642
|
+
<th>field</th>
|
|
643
|
+
<th>type</th>
|
|
644
|
+
<th>description</th>
|
|
645
|
+
</tr>
|
|
646
|
+
<tr>
|
|
647
|
+
<td><code>pose</code></td>
|
|
648
|
+
<td>
|
|
649
|
+
|
|
650
|
+
[Pose](#pose)
|
|
651
|
+
|
|
652
|
+
</td>
|
|
653
|
+
<td>
|
|
654
|
+
|
|
655
|
+
Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis.
|
|
656
|
+
|
|
657
|
+
</td>
|
|
658
|
+
</tr>
|
|
659
|
+
<tr>
|
|
660
|
+
<td><code>size</code></td>
|
|
661
|
+
<td>
|
|
662
|
+
|
|
663
|
+
[Vector3](#vector3)
|
|
664
|
+
|
|
665
|
+
</td>
|
|
666
|
+
<td>
|
|
667
|
+
|
|
668
|
+
Size of the cylinder's bounding box
|
|
669
|
+
|
|
670
|
+
</td>
|
|
671
|
+
</tr>
|
|
672
|
+
<tr>
|
|
673
|
+
<td><code>bottom_scale</code></td>
|
|
674
|
+
<td>
|
|
675
|
+
|
|
676
|
+
float64
|
|
677
|
+
|
|
678
|
+
</td>
|
|
679
|
+
<td>
|
|
680
|
+
|
|
681
|
+
0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box
|
|
682
|
+
|
|
683
|
+
</td>
|
|
684
|
+
</tr>
|
|
685
|
+
<tr>
|
|
686
|
+
<td><code>top_scale</code></td>
|
|
687
|
+
<td>
|
|
688
|
+
|
|
689
|
+
float64
|
|
690
|
+
|
|
691
|
+
</td>
|
|
692
|
+
<td>
|
|
693
|
+
|
|
694
|
+
0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box
|
|
695
|
+
|
|
696
|
+
</td>
|
|
697
|
+
</tr>
|
|
698
|
+
<tr>
|
|
699
|
+
<td><code>color</code></td>
|
|
700
|
+
<td>
|
|
701
|
+
|
|
702
|
+
[Color](#color)
|
|
703
|
+
|
|
704
|
+
</td>
|
|
705
|
+
<td>
|
|
706
|
+
|
|
707
|
+
Color of the cylinder
|
|
708
|
+
|
|
709
|
+
</td>
|
|
710
|
+
</tr>
|
|
711
|
+
</table>
|
|
712
|
+
|
|
458
713
|
## FrameTransform
|
|
459
714
|
|
|
460
715
|
A transform between two reference frames in 3D space
|
|
@@ -724,6 +979,44 @@ Points annotations
|
|
|
724
979
|
</tr>
|
|
725
980
|
</table>
|
|
726
981
|
|
|
982
|
+
## KeyValuePair
|
|
983
|
+
|
|
984
|
+
(Experimental, subject to change) A key with its associated value
|
|
985
|
+
|
|
986
|
+
<table>
|
|
987
|
+
<tr>
|
|
988
|
+
<th>field</th>
|
|
989
|
+
<th>type</th>
|
|
990
|
+
<th>description</th>
|
|
991
|
+
</tr>
|
|
992
|
+
<tr>
|
|
993
|
+
<td><code>key</code></td>
|
|
994
|
+
<td>
|
|
995
|
+
|
|
996
|
+
string
|
|
997
|
+
|
|
998
|
+
</td>
|
|
999
|
+
<td>
|
|
1000
|
+
|
|
1001
|
+
Key
|
|
1002
|
+
|
|
1003
|
+
</td>
|
|
1004
|
+
</tr>
|
|
1005
|
+
<tr>
|
|
1006
|
+
<td><code>value</code></td>
|
|
1007
|
+
<td>
|
|
1008
|
+
|
|
1009
|
+
string
|
|
1010
|
+
|
|
1011
|
+
</td>
|
|
1012
|
+
<td>
|
|
1013
|
+
|
|
1014
|
+
Value
|
|
1015
|
+
|
|
1016
|
+
</td>
|
|
1017
|
+
</tr>
|
|
1018
|
+
</table>
|
|
1019
|
+
|
|
727
1020
|
## LaserScan
|
|
728
1021
|
|
|
729
1022
|
A single scan from a planar laser range-finder
|
|
@@ -827,9 +1120,9 @@ Intensity of detections
|
|
|
827
1120
|
</tr>
|
|
828
1121
|
</table>
|
|
829
1122
|
|
|
830
|
-
##
|
|
1123
|
+
## LinePrimitive
|
|
831
1124
|
|
|
832
|
-
A
|
|
1125
|
+
(Experimental, subject to change) A primitive representing a series of points connected by lines
|
|
833
1126
|
|
|
834
1127
|
<table>
|
|
835
1128
|
<tr>
|
|
@@ -838,33 +1131,33 @@ A navigation satellite fix for any Global Navigation Satellite System
|
|
|
838
1131
|
<th>description</th>
|
|
839
1132
|
</tr>
|
|
840
1133
|
<tr>
|
|
841
|
-
<td><code>
|
|
1134
|
+
<td><code>type</code></td>
|
|
842
1135
|
<td>
|
|
843
1136
|
|
|
844
|
-
|
|
1137
|
+
[enum LineType](#enum-linetype)
|
|
845
1138
|
|
|
846
1139
|
</td>
|
|
847
1140
|
<td>
|
|
848
1141
|
|
|
849
|
-
|
|
1142
|
+
Drawing primitive to use for lines
|
|
850
1143
|
|
|
851
1144
|
</td>
|
|
852
1145
|
</tr>
|
|
853
1146
|
<tr>
|
|
854
|
-
<td><code>
|
|
1147
|
+
<td><code>pose</code></td>
|
|
855
1148
|
<td>
|
|
856
1149
|
|
|
857
|
-
|
|
1150
|
+
[Pose](#pose)
|
|
858
1151
|
|
|
859
1152
|
</td>
|
|
860
1153
|
<td>
|
|
861
1154
|
|
|
862
|
-
|
|
1155
|
+
Origin of lines relative to reference frame
|
|
863
1156
|
|
|
864
1157
|
</td>
|
|
865
1158
|
</tr>
|
|
866
1159
|
<tr>
|
|
867
|
-
<td><code>
|
|
1160
|
+
<td><code>thickness</code></td>
|
|
868
1161
|
<td>
|
|
869
1162
|
|
|
870
1163
|
float64
|
|
@@ -872,37 +1165,155 @@ float64
|
|
|
872
1165
|
</td>
|
|
873
1166
|
<td>
|
|
874
1167
|
|
|
875
|
-
|
|
1168
|
+
Line thickness
|
|
876
1169
|
|
|
877
1170
|
</td>
|
|
878
1171
|
</tr>
|
|
879
1172
|
<tr>
|
|
880
|
-
<td><code>
|
|
1173
|
+
<td><code>scale_invariant</code></td>
|
|
881
1174
|
<td>
|
|
882
1175
|
|
|
883
|
-
|
|
1176
|
+
boolean
|
|
884
1177
|
|
|
885
1178
|
</td>
|
|
886
1179
|
<td>
|
|
887
1180
|
|
|
888
|
-
|
|
1181
|
+
Indicates whether `thickness` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)
|
|
889
1182
|
|
|
890
1183
|
</td>
|
|
891
1184
|
</tr>
|
|
892
1185
|
<tr>
|
|
893
|
-
<td><code>
|
|
1186
|
+
<td><code>points</code></td>
|
|
894
1187
|
<td>
|
|
895
1188
|
|
|
896
|
-
[
|
|
1189
|
+
[Point3](#point3)[]
|
|
897
1190
|
|
|
898
1191
|
</td>
|
|
899
1192
|
<td>
|
|
900
1193
|
|
|
901
|
-
|
|
1194
|
+
Points along the line
|
|
902
1195
|
|
|
903
1196
|
</td>
|
|
904
1197
|
</tr>
|
|
905
|
-
|
|
1198
|
+
<tr>
|
|
1199
|
+
<td><code>color</code></td>
|
|
1200
|
+
<td>
|
|
1201
|
+
|
|
1202
|
+
[Color](#color)
|
|
1203
|
+
|
|
1204
|
+
</td>
|
|
1205
|
+
<td>
|
|
1206
|
+
|
|
1207
|
+
Solid color to use for the whole line. One of `color` or `colors` must be provided.
|
|
1208
|
+
|
|
1209
|
+
</td>
|
|
1210
|
+
</tr>
|
|
1211
|
+
<tr>
|
|
1212
|
+
<td><code>colors</code></td>
|
|
1213
|
+
<td>
|
|
1214
|
+
|
|
1215
|
+
[Color](#color)[]
|
|
1216
|
+
|
|
1217
|
+
</td>
|
|
1218
|
+
<td>
|
|
1219
|
+
|
|
1220
|
+
Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
|
|
1221
|
+
|
|
1222
|
+
</td>
|
|
1223
|
+
</tr>
|
|
1224
|
+
<tr>
|
|
1225
|
+
<td><code>indices</code></td>
|
|
1226
|
+
<td>
|
|
1227
|
+
|
|
1228
|
+
uint32[]
|
|
1229
|
+
|
|
1230
|
+
</td>
|
|
1231
|
+
<td>
|
|
1232
|
+
|
|
1233
|
+
Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
1234
|
+
|
|
1235
|
+
If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
|
|
1236
|
+
|
|
1237
|
+
</td>
|
|
1238
|
+
</tr>
|
|
1239
|
+
</table>
|
|
1240
|
+
|
|
1241
|
+
## LocationFix
|
|
1242
|
+
|
|
1243
|
+
A navigation satellite fix for any Global Navigation Satellite System
|
|
1244
|
+
|
|
1245
|
+
<table>
|
|
1246
|
+
<tr>
|
|
1247
|
+
<th>field</th>
|
|
1248
|
+
<th>type</th>
|
|
1249
|
+
<th>description</th>
|
|
1250
|
+
</tr>
|
|
1251
|
+
<tr>
|
|
1252
|
+
<td><code>latitude</code></td>
|
|
1253
|
+
<td>
|
|
1254
|
+
|
|
1255
|
+
float64
|
|
1256
|
+
|
|
1257
|
+
</td>
|
|
1258
|
+
<td>
|
|
1259
|
+
|
|
1260
|
+
Latitude in degrees
|
|
1261
|
+
|
|
1262
|
+
</td>
|
|
1263
|
+
</tr>
|
|
1264
|
+
<tr>
|
|
1265
|
+
<td><code>longitude</code></td>
|
|
1266
|
+
<td>
|
|
1267
|
+
|
|
1268
|
+
float64
|
|
1269
|
+
|
|
1270
|
+
</td>
|
|
1271
|
+
<td>
|
|
1272
|
+
|
|
1273
|
+
Longitude in degrees
|
|
1274
|
+
|
|
1275
|
+
</td>
|
|
1276
|
+
</tr>
|
|
1277
|
+
<tr>
|
|
1278
|
+
<td><code>altitude</code></td>
|
|
1279
|
+
<td>
|
|
1280
|
+
|
|
1281
|
+
float64
|
|
1282
|
+
|
|
1283
|
+
</td>
|
|
1284
|
+
<td>
|
|
1285
|
+
|
|
1286
|
+
Altitude in meters
|
|
1287
|
+
|
|
1288
|
+
</td>
|
|
1289
|
+
</tr>
|
|
1290
|
+
<tr>
|
|
1291
|
+
<td><code>position_covariance</code></td>
|
|
1292
|
+
<td>
|
|
1293
|
+
|
|
1294
|
+
float64[9]
|
|
1295
|
+
|
|
1296
|
+
</td>
|
|
1297
|
+
<td>
|
|
1298
|
+
|
|
1299
|
+
Position covariance (m^2) defined relative to a tangential plane through the reported position. The components are East, North, and Up (ENU), in row-major order.
|
|
1300
|
+
|
|
1301
|
+
</td>
|
|
1302
|
+
</tr>
|
|
1303
|
+
<tr>
|
|
1304
|
+
<td><code>position_covariance_type</code></td>
|
|
1305
|
+
<td>
|
|
1306
|
+
|
|
1307
|
+
[enum PositionCovarianceType](#enum-positioncovariancetype)
|
|
1308
|
+
|
|
1309
|
+
</td>
|
|
1310
|
+
<td>
|
|
1311
|
+
|
|
1312
|
+
If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.
|
|
1313
|
+
|
|
1314
|
+
</td>
|
|
1315
|
+
</tr>
|
|
1316
|
+
</table>
|
|
906
1317
|
|
|
907
1318
|
## Log
|
|
908
1319
|
|
|
@@ -994,6 +1405,109 @@ Line number in the file
|
|
|
994
1405
|
</tr>
|
|
995
1406
|
</table>
|
|
996
1407
|
|
|
1408
|
+
## ModelPrimitive
|
|
1409
|
+
|
|
1410
|
+
(Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data
|
|
1411
|
+
|
|
1412
|
+
<table>
|
|
1413
|
+
<tr>
|
|
1414
|
+
<th>field</th>
|
|
1415
|
+
<th>type</th>
|
|
1416
|
+
<th>description</th>
|
|
1417
|
+
</tr>
|
|
1418
|
+
<tr>
|
|
1419
|
+
<td><code>pose</code></td>
|
|
1420
|
+
<td>
|
|
1421
|
+
|
|
1422
|
+
[Pose](#pose)
|
|
1423
|
+
|
|
1424
|
+
</td>
|
|
1425
|
+
<td>
|
|
1426
|
+
|
|
1427
|
+
Origin of model relative to reference frame
|
|
1428
|
+
|
|
1429
|
+
</td>
|
|
1430
|
+
</tr>
|
|
1431
|
+
<tr>
|
|
1432
|
+
<td><code>scale</code></td>
|
|
1433
|
+
<td>
|
|
1434
|
+
|
|
1435
|
+
[Vector3](#vector3)
|
|
1436
|
+
|
|
1437
|
+
</td>
|
|
1438
|
+
<td>
|
|
1439
|
+
|
|
1440
|
+
Scale factor to apply to the model along each axis
|
|
1441
|
+
|
|
1442
|
+
</td>
|
|
1443
|
+
</tr>
|
|
1444
|
+
<tr>
|
|
1445
|
+
<td><code>color</code></td>
|
|
1446
|
+
<td>
|
|
1447
|
+
|
|
1448
|
+
[Color](#color)
|
|
1449
|
+
|
|
1450
|
+
</td>
|
|
1451
|
+
<td>
|
|
1452
|
+
|
|
1453
|
+
Solid color to use for the whole model if `override_color` is true.
|
|
1454
|
+
|
|
1455
|
+
</td>
|
|
1456
|
+
</tr>
|
|
1457
|
+
<tr>
|
|
1458
|
+
<td><code>override_color</code></td>
|
|
1459
|
+
<td>
|
|
1460
|
+
|
|
1461
|
+
boolean
|
|
1462
|
+
|
|
1463
|
+
</td>
|
|
1464
|
+
<td>
|
|
1465
|
+
|
|
1466
|
+
Whether to use the color specified in `color` instead of any materials embedded in the original model.
|
|
1467
|
+
|
|
1468
|
+
</td>
|
|
1469
|
+
</tr>
|
|
1470
|
+
<tr>
|
|
1471
|
+
<td><code>url</code></td>
|
|
1472
|
+
<td>
|
|
1473
|
+
|
|
1474
|
+
string
|
|
1475
|
+
|
|
1476
|
+
</td>
|
|
1477
|
+
<td>
|
|
1478
|
+
|
|
1479
|
+
URL pointing to model file. One of `url` or `data` should be provided.
|
|
1480
|
+
|
|
1481
|
+
</td>
|
|
1482
|
+
</tr>
|
|
1483
|
+
<tr>
|
|
1484
|
+
<td><code>media_type</code></td>
|
|
1485
|
+
<td>
|
|
1486
|
+
|
|
1487
|
+
string
|
|
1488
|
+
|
|
1489
|
+
</td>
|
|
1490
|
+
<td>
|
|
1491
|
+
|
|
1492
|
+
[Media type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of embedded model (e.g. `model/gltf-binary`). Required if `data` is provided instead of `url`. Overrides the inferred media type if `url` is provided.
|
|
1493
|
+
|
|
1494
|
+
</td>
|
|
1495
|
+
</tr>
|
|
1496
|
+
<tr>
|
|
1497
|
+
<td><code>data</code></td>
|
|
1498
|
+
<td>
|
|
1499
|
+
|
|
1500
|
+
bytes
|
|
1501
|
+
|
|
1502
|
+
</td>
|
|
1503
|
+
<td>
|
|
1504
|
+
|
|
1505
|
+
Embedded model. One of `url` or `data` should be provided. If `data` is provided, `media_type` must be set to indicate the type of the data.
|
|
1506
|
+
|
|
1507
|
+
</td>
|
|
1508
|
+
</tr>
|
|
1509
|
+
</table>
|
|
1510
|
+
|
|
997
1511
|
## PackedElementField
|
|
998
1512
|
|
|
999
1513
|
A field present within each element in a byte array of packed elements.
|
|
@@ -1621,6 +2135,509 @@ Raw image data
|
|
|
1621
2135
|
</tr>
|
|
1622
2136
|
</table>
|
|
1623
2137
|
|
|
2138
|
+
## SceneEntity
|
|
2139
|
+
|
|
2140
|
+
(Experimental, subject to change) A visual element in a 3D scene. An entity may be composed of multiple primitives which all share the same frame of reference.
|
|
2141
|
+
|
|
2142
|
+
<table>
|
|
2143
|
+
<tr>
|
|
2144
|
+
<th>field</th>
|
|
2145
|
+
<th>type</th>
|
|
2146
|
+
<th>description</th>
|
|
2147
|
+
</tr>
|
|
2148
|
+
<tr>
|
|
2149
|
+
<td><code>timestamp</code></td>
|
|
2150
|
+
<td>
|
|
2151
|
+
|
|
2152
|
+
time
|
|
2153
|
+
|
|
2154
|
+
</td>
|
|
2155
|
+
<td>
|
|
2156
|
+
|
|
2157
|
+
Timestamp of the entity
|
|
2158
|
+
|
|
2159
|
+
</td>
|
|
2160
|
+
</tr>
|
|
2161
|
+
<tr>
|
|
2162
|
+
<td><code>frame_id</code></td>
|
|
2163
|
+
<td>
|
|
2164
|
+
|
|
2165
|
+
string
|
|
2166
|
+
|
|
2167
|
+
</td>
|
|
2168
|
+
<td>
|
|
2169
|
+
|
|
2170
|
+
Frame of reference
|
|
2171
|
+
|
|
2172
|
+
</td>
|
|
2173
|
+
</tr>
|
|
2174
|
+
<tr>
|
|
2175
|
+
<td><code>id</code></td>
|
|
2176
|
+
<td>
|
|
2177
|
+
|
|
2178
|
+
string
|
|
2179
|
+
|
|
2180
|
+
</td>
|
|
2181
|
+
<td>
|
|
2182
|
+
|
|
2183
|
+
Identifier for the entity. A entity will replace any prior entity on the same topic with the same `id`.
|
|
2184
|
+
|
|
2185
|
+
</td>
|
|
2186
|
+
</tr>
|
|
2187
|
+
<tr>
|
|
2188
|
+
<td><code>lifetime</code></td>
|
|
2189
|
+
<td>
|
|
2190
|
+
|
|
2191
|
+
duration
|
|
2192
|
+
|
|
2193
|
+
</td>
|
|
2194
|
+
<td>
|
|
2195
|
+
|
|
2196
|
+
Length of time (relative to `timestamp`) after which the entity should be automatically removed. Zero value indicates the entity should remain visible until it is replaced or deleted.
|
|
2197
|
+
|
|
2198
|
+
</td>
|
|
2199
|
+
</tr>
|
|
2200
|
+
<tr>
|
|
2201
|
+
<td><code>frame_locked</code></td>
|
|
2202
|
+
<td>
|
|
2203
|
+
|
|
2204
|
+
boolean
|
|
2205
|
+
|
|
2206
|
+
</td>
|
|
2207
|
+
<td>
|
|
2208
|
+
|
|
2209
|
+
Whether the entity should keep its location in the fixed frame (false) or follow the frame specified in `frame_id` as it moves relative to the fixed frame (true)
|
|
2210
|
+
|
|
2211
|
+
</td>
|
|
2212
|
+
</tr>
|
|
2213
|
+
<tr>
|
|
2214
|
+
<td><code>metadata</code></td>
|
|
2215
|
+
<td>
|
|
2216
|
+
|
|
2217
|
+
[KeyValuePair](#keyvaluepair)[]
|
|
2218
|
+
|
|
2219
|
+
</td>
|
|
2220
|
+
<td>
|
|
2221
|
+
|
|
2222
|
+
Additional user-provided metadata associated with the entity. Keys must be unique.
|
|
2223
|
+
|
|
2224
|
+
</td>
|
|
2225
|
+
</tr>
|
|
2226
|
+
<tr>
|
|
2227
|
+
<td><code>arrows</code></td>
|
|
2228
|
+
<td>
|
|
2229
|
+
|
|
2230
|
+
[ArrowPrimitive](#arrowprimitive)[]
|
|
2231
|
+
|
|
2232
|
+
</td>
|
|
2233
|
+
<td>
|
|
2234
|
+
|
|
2235
|
+
Arrow primitives
|
|
2236
|
+
|
|
2237
|
+
</td>
|
|
2238
|
+
</tr>
|
|
2239
|
+
<tr>
|
|
2240
|
+
<td><code>cubes</code></td>
|
|
2241
|
+
<td>
|
|
2242
|
+
|
|
2243
|
+
[CubePrimitive](#cubeprimitive)[]
|
|
2244
|
+
|
|
2245
|
+
</td>
|
|
2246
|
+
<td>
|
|
2247
|
+
|
|
2248
|
+
Cube primitives
|
|
2249
|
+
|
|
2250
|
+
</td>
|
|
2251
|
+
</tr>
|
|
2252
|
+
<tr>
|
|
2253
|
+
<td><code>spheres</code></td>
|
|
2254
|
+
<td>
|
|
2255
|
+
|
|
2256
|
+
[SpherePrimitive](#sphereprimitive)[]
|
|
2257
|
+
|
|
2258
|
+
</td>
|
|
2259
|
+
<td>
|
|
2260
|
+
|
|
2261
|
+
Sphere primitives
|
|
2262
|
+
|
|
2263
|
+
</td>
|
|
2264
|
+
</tr>
|
|
2265
|
+
<tr>
|
|
2266
|
+
<td><code>cylinders</code></td>
|
|
2267
|
+
<td>
|
|
2268
|
+
|
|
2269
|
+
[CylinderPrimitive](#cylinderprimitive)[]
|
|
2270
|
+
|
|
2271
|
+
</td>
|
|
2272
|
+
<td>
|
|
2273
|
+
|
|
2274
|
+
Cylinder primitives
|
|
2275
|
+
|
|
2276
|
+
</td>
|
|
2277
|
+
</tr>
|
|
2278
|
+
<tr>
|
|
2279
|
+
<td><code>lines</code></td>
|
|
2280
|
+
<td>
|
|
2281
|
+
|
|
2282
|
+
[LinePrimitive](#lineprimitive)[]
|
|
2283
|
+
|
|
2284
|
+
</td>
|
|
2285
|
+
<td>
|
|
2286
|
+
|
|
2287
|
+
Line primitives
|
|
2288
|
+
|
|
2289
|
+
</td>
|
|
2290
|
+
</tr>
|
|
2291
|
+
<tr>
|
|
2292
|
+
<td><code>triangles</code></td>
|
|
2293
|
+
<td>
|
|
2294
|
+
|
|
2295
|
+
[TriangleListPrimitive](#trianglelistprimitive)[]
|
|
2296
|
+
|
|
2297
|
+
</td>
|
|
2298
|
+
<td>
|
|
2299
|
+
|
|
2300
|
+
Triangle list primitives
|
|
2301
|
+
|
|
2302
|
+
</td>
|
|
2303
|
+
</tr>
|
|
2304
|
+
<tr>
|
|
2305
|
+
<td><code>texts</code></td>
|
|
2306
|
+
<td>
|
|
2307
|
+
|
|
2308
|
+
[TextPrimitive](#textprimitive)[]
|
|
2309
|
+
|
|
2310
|
+
</td>
|
|
2311
|
+
<td>
|
|
2312
|
+
|
|
2313
|
+
Text primitives
|
|
2314
|
+
|
|
2315
|
+
</td>
|
|
2316
|
+
</tr>
|
|
2317
|
+
<tr>
|
|
2318
|
+
<td><code>models</code></td>
|
|
2319
|
+
<td>
|
|
2320
|
+
|
|
2321
|
+
[ModelPrimitive](#modelprimitive)[]
|
|
2322
|
+
|
|
2323
|
+
</td>
|
|
2324
|
+
<td>
|
|
2325
|
+
|
|
2326
|
+
Model primitives
|
|
2327
|
+
|
|
2328
|
+
</td>
|
|
2329
|
+
</tr>
|
|
2330
|
+
</table>
|
|
2331
|
+
|
|
2332
|
+
## SceneEntityDeletion
|
|
2333
|
+
|
|
2334
|
+
(Experimental, subject to change) Command to remove previously published entities
|
|
2335
|
+
|
|
2336
|
+
<table>
|
|
2337
|
+
<tr>
|
|
2338
|
+
<th>field</th>
|
|
2339
|
+
<th>type</th>
|
|
2340
|
+
<th>description</th>
|
|
2341
|
+
</tr>
|
|
2342
|
+
<tr>
|
|
2343
|
+
<td><code>timestamp</code></td>
|
|
2344
|
+
<td>
|
|
2345
|
+
|
|
2346
|
+
time
|
|
2347
|
+
|
|
2348
|
+
</td>
|
|
2349
|
+
<td>
|
|
2350
|
+
|
|
2351
|
+
Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted.
|
|
2352
|
+
|
|
2353
|
+
</td>
|
|
2354
|
+
</tr>
|
|
2355
|
+
<tr>
|
|
2356
|
+
<td><code>type</code></td>
|
|
2357
|
+
<td>
|
|
2358
|
+
|
|
2359
|
+
[enum SceneEntityDeletionType](#enum-sceneentitydeletiontype)
|
|
2360
|
+
|
|
2361
|
+
</td>
|
|
2362
|
+
<td>
|
|
2363
|
+
|
|
2364
|
+
Type of deletion action to perform
|
|
2365
|
+
|
|
2366
|
+
</td>
|
|
2367
|
+
</tr>
|
|
2368
|
+
<tr>
|
|
2369
|
+
<td><code>id</code></td>
|
|
2370
|
+
<td>
|
|
2371
|
+
|
|
2372
|
+
string
|
|
2373
|
+
|
|
2374
|
+
</td>
|
|
2375
|
+
<td>
|
|
2376
|
+
|
|
2377
|
+
Identifier which must match if `type` is `MATCHING_ID`.
|
|
2378
|
+
|
|
2379
|
+
</td>
|
|
2380
|
+
</tr>
|
|
2381
|
+
</table>
|
|
2382
|
+
|
|
2383
|
+
## SceneUpdate
|
|
2384
|
+
|
|
2385
|
+
(Experimental, subject to change) An update to the entities displayed in a 3D scene
|
|
2386
|
+
|
|
2387
|
+
<table>
|
|
2388
|
+
<tr>
|
|
2389
|
+
<th>field</th>
|
|
2390
|
+
<th>type</th>
|
|
2391
|
+
<th>description</th>
|
|
2392
|
+
</tr>
|
|
2393
|
+
<tr>
|
|
2394
|
+
<td><code>deletions</code></td>
|
|
2395
|
+
<td>
|
|
2396
|
+
|
|
2397
|
+
[SceneEntityDeletion](#sceneentitydeletion)[]
|
|
2398
|
+
|
|
2399
|
+
</td>
|
|
2400
|
+
<td>
|
|
2401
|
+
|
|
2402
|
+
Scene entities to delete
|
|
2403
|
+
|
|
2404
|
+
</td>
|
|
2405
|
+
</tr>
|
|
2406
|
+
<tr>
|
|
2407
|
+
<td><code>entities</code></td>
|
|
2408
|
+
<td>
|
|
2409
|
+
|
|
2410
|
+
[SceneEntity](#sceneentity)[]
|
|
2411
|
+
|
|
2412
|
+
</td>
|
|
2413
|
+
<td>
|
|
2414
|
+
|
|
2415
|
+
Scene entities to add or replace
|
|
2416
|
+
|
|
2417
|
+
</td>
|
|
2418
|
+
</tr>
|
|
2419
|
+
</table>
|
|
2420
|
+
|
|
2421
|
+
## SpherePrimitive
|
|
2422
|
+
|
|
2423
|
+
(Experimental, subject to change) A primitive representing a sphere or ellipsoid
|
|
2424
|
+
|
|
2425
|
+
<table>
|
|
2426
|
+
<tr>
|
|
2427
|
+
<th>field</th>
|
|
2428
|
+
<th>type</th>
|
|
2429
|
+
<th>description</th>
|
|
2430
|
+
</tr>
|
|
2431
|
+
<tr>
|
|
2432
|
+
<td><code>pose</code></td>
|
|
2433
|
+
<td>
|
|
2434
|
+
|
|
2435
|
+
[Pose](#pose)
|
|
2436
|
+
|
|
2437
|
+
</td>
|
|
2438
|
+
<td>
|
|
2439
|
+
|
|
2440
|
+
Position of the center of the sphere and orientation of the sphere
|
|
2441
|
+
|
|
2442
|
+
</td>
|
|
2443
|
+
</tr>
|
|
2444
|
+
<tr>
|
|
2445
|
+
<td><code>size</code></td>
|
|
2446
|
+
<td>
|
|
2447
|
+
|
|
2448
|
+
[Vector3](#vector3)
|
|
2449
|
+
|
|
2450
|
+
</td>
|
|
2451
|
+
<td>
|
|
2452
|
+
|
|
2453
|
+
Size (diameter) of the sphere along each axis
|
|
2454
|
+
|
|
2455
|
+
</td>
|
|
2456
|
+
</tr>
|
|
2457
|
+
<tr>
|
|
2458
|
+
<td><code>color</code></td>
|
|
2459
|
+
<td>
|
|
2460
|
+
|
|
2461
|
+
[Color](#color)
|
|
2462
|
+
|
|
2463
|
+
</td>
|
|
2464
|
+
<td>
|
|
2465
|
+
|
|
2466
|
+
Color of the sphere
|
|
2467
|
+
|
|
2468
|
+
</td>
|
|
2469
|
+
</tr>
|
|
2470
|
+
</table>
|
|
2471
|
+
|
|
2472
|
+
## TextPrimitive
|
|
2473
|
+
|
|
2474
|
+
(Experimental, subject to change) A primitive representing a text label
|
|
2475
|
+
|
|
2476
|
+
<table>
|
|
2477
|
+
<tr>
|
|
2478
|
+
<th>field</th>
|
|
2479
|
+
<th>type</th>
|
|
2480
|
+
<th>description</th>
|
|
2481
|
+
</tr>
|
|
2482
|
+
<tr>
|
|
2483
|
+
<td><code>pose</code></td>
|
|
2484
|
+
<td>
|
|
2485
|
+
|
|
2486
|
+
[Pose](#pose)
|
|
2487
|
+
|
|
2488
|
+
</td>
|
|
2489
|
+
<td>
|
|
2490
|
+
|
|
2491
|
+
Position of the center of the text box and orientation of the text. Identity orientation means the text is oriented in the xy-plane and flows from -x to +x.
|
|
2492
|
+
|
|
2493
|
+
</td>
|
|
2494
|
+
</tr>
|
|
2495
|
+
<tr>
|
|
2496
|
+
<td><code>billboard</code></td>
|
|
2497
|
+
<td>
|
|
2498
|
+
|
|
2499
|
+
boolean
|
|
2500
|
+
|
|
2501
|
+
</td>
|
|
2502
|
+
<td>
|
|
2503
|
+
|
|
2504
|
+
Whether the text should respect `pose.orientation` (false) or always face the camera (true)
|
|
2505
|
+
|
|
2506
|
+
</td>
|
|
2507
|
+
</tr>
|
|
2508
|
+
<tr>
|
|
2509
|
+
<td><code>font_size</code></td>
|
|
2510
|
+
<td>
|
|
2511
|
+
|
|
2512
|
+
float64
|
|
2513
|
+
|
|
2514
|
+
</td>
|
|
2515
|
+
<td>
|
|
2516
|
+
|
|
2517
|
+
Font size (height of one line of text)
|
|
2518
|
+
|
|
2519
|
+
</td>
|
|
2520
|
+
</tr>
|
|
2521
|
+
<tr>
|
|
2522
|
+
<td><code>scale_invariant</code></td>
|
|
2523
|
+
<td>
|
|
2524
|
+
|
|
2525
|
+
boolean
|
|
2526
|
+
|
|
2527
|
+
</td>
|
|
2528
|
+
<td>
|
|
2529
|
+
|
|
2530
|
+
Indicates whether `font_size` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)
|
|
2531
|
+
|
|
2532
|
+
</td>
|
|
2533
|
+
</tr>
|
|
2534
|
+
<tr>
|
|
2535
|
+
<td><code>color</code></td>
|
|
2536
|
+
<td>
|
|
2537
|
+
|
|
2538
|
+
[Color](#color)
|
|
2539
|
+
|
|
2540
|
+
</td>
|
|
2541
|
+
<td>
|
|
2542
|
+
|
|
2543
|
+
Color of the text
|
|
2544
|
+
|
|
2545
|
+
</td>
|
|
2546
|
+
</tr>
|
|
2547
|
+
<tr>
|
|
2548
|
+
<td><code>text</code></td>
|
|
2549
|
+
<td>
|
|
2550
|
+
|
|
2551
|
+
string
|
|
2552
|
+
|
|
2553
|
+
</td>
|
|
2554
|
+
<td>
|
|
2555
|
+
|
|
2556
|
+
Text
|
|
2557
|
+
|
|
2558
|
+
</td>
|
|
2559
|
+
</tr>
|
|
2560
|
+
</table>
|
|
2561
|
+
|
|
2562
|
+
## TriangleListPrimitive
|
|
2563
|
+
|
|
2564
|
+
(Experimental, subject to change) A primitive representing a set of triangles or a surface tiled by triangles
|
|
2565
|
+
|
|
2566
|
+
<table>
|
|
2567
|
+
<tr>
|
|
2568
|
+
<th>field</th>
|
|
2569
|
+
<th>type</th>
|
|
2570
|
+
<th>description</th>
|
|
2571
|
+
</tr>
|
|
2572
|
+
<tr>
|
|
2573
|
+
<td><code>pose</code></td>
|
|
2574
|
+
<td>
|
|
2575
|
+
|
|
2576
|
+
[Pose](#pose)
|
|
2577
|
+
|
|
2578
|
+
</td>
|
|
2579
|
+
<td>
|
|
2580
|
+
|
|
2581
|
+
Origin of triangles relative to reference frame
|
|
2582
|
+
|
|
2583
|
+
</td>
|
|
2584
|
+
</tr>
|
|
2585
|
+
<tr>
|
|
2586
|
+
<td><code>points</code></td>
|
|
2587
|
+
<td>
|
|
2588
|
+
|
|
2589
|
+
[Point3](#point3)[]
|
|
2590
|
+
|
|
2591
|
+
</td>
|
|
2592
|
+
<td>
|
|
2593
|
+
|
|
2594
|
+
Vertices to use for triangles, interpreted as a list of triples (0-1-2, 3-4-5, ...)
|
|
2595
|
+
|
|
2596
|
+
</td>
|
|
2597
|
+
</tr>
|
|
2598
|
+
<tr>
|
|
2599
|
+
<td><code>color</code></td>
|
|
2600
|
+
<td>
|
|
2601
|
+
|
|
2602
|
+
[Color](#color)
|
|
2603
|
+
|
|
2604
|
+
</td>
|
|
2605
|
+
<td>
|
|
2606
|
+
|
|
2607
|
+
Solid color to use for the whole shape. One of `color` or `colors` must be provided.
|
|
2608
|
+
|
|
2609
|
+
</td>
|
|
2610
|
+
</tr>
|
|
2611
|
+
<tr>
|
|
2612
|
+
<td><code>colors</code></td>
|
|
2613
|
+
<td>
|
|
2614
|
+
|
|
2615
|
+
[Color](#color)[]
|
|
2616
|
+
|
|
2617
|
+
</td>
|
|
2618
|
+
<td>
|
|
2619
|
+
|
|
2620
|
+
Per-vertex colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
|
|
2621
|
+
|
|
2622
|
+
</td>
|
|
2623
|
+
</tr>
|
|
2624
|
+
<tr>
|
|
2625
|
+
<td><code>indices</code></td>
|
|
2626
|
+
<td>
|
|
2627
|
+
|
|
2628
|
+
uint32[]
|
|
2629
|
+
|
|
2630
|
+
</td>
|
|
2631
|
+
<td>
|
|
2632
|
+
|
|
2633
|
+
Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
2634
|
+
|
|
2635
|
+
If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
|
|
2636
|
+
|
|
2637
|
+
</td>
|
|
2638
|
+
</tr>
|
|
2639
|
+
</table>
|
|
2640
|
+
|
|
1624
2641
|
## Vector2
|
|
1625
2642
|
|
|
1626
2643
|
A vector in 2D space that represents a direction only
|