@foxglove/schemas 0.3.0 → 0.6.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/README.md +5 -7
- 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/CameraCalibration.d.ts +2 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.d.ts.map +1 -1
- package/dist/cjs/schemas/typescript/CompressedImage.d.ts +2 -0
- package/dist/cjs/schemas/typescript/CompressedImage.d.ts.map +1 -1
- 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/PointsAnnotation.d.ts +5 -1
- package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
- package/dist/cjs/schemas/typescript/RawImage.d.ts +2 -0
- package/dist/cjs/schemas/typescript/RawImage.d.ts.map +1 -1
- 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/generateMarkdown.d.ts.map +1 -1
- package/dist/cjs/src/generateMarkdown.js +3 -1
- package/dist/cjs/src/generateMarkdown.js.map +1 -1
- package/dist/cjs/src/generateProto.d.ts.map +1 -1
- package/dist/cjs/src/generateProto.js +21 -3
- package/dist/cjs/src/generateProto.js.map +1 -1
- package/dist/cjs/src/generateProto.test.js +22 -22
- 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 +569 -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/cjs/src/testFixtures.d.ts.map +1 -1
- package/dist/cjs/src/testFixtures.js +1 -0
- package/dist/cjs/src/testFixtures.js.map +1 -1
- package/dist/cjs/src/types.d.ts +18 -16
- package/dist/cjs/src/types.d.ts.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/CameraCalibration.d.ts +2 -0
- package/dist/esm/schemas/typescript/CameraCalibration.d.ts.map +1 -1
- package/dist/esm/schemas/typescript/CompressedImage.d.ts +2 -0
- package/dist/esm/schemas/typescript/CompressedImage.d.ts.map +1 -1
- 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/PointsAnnotation.d.ts +5 -1
- package/dist/esm/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
- package/dist/esm/schemas/typescript/RawImage.d.ts +2 -0
- package/dist/esm/schemas/typescript/RawImage.d.ts.map +1 -1
- 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/generateMarkdown.d.ts.map +1 -1
- package/dist/esm/src/generateMarkdown.js +3 -1
- package/dist/esm/src/generateMarkdown.js.map +1 -1
- package/dist/esm/src/generateProto.d.ts.map +1 -1
- package/dist/esm/src/generateProto.js +21 -3
- package/dist/esm/src/generateProto.js.map +1 -1
- package/dist/esm/src/generateProto.test.js +22 -22
- 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 +569 -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/dist/esm/src/testFixtures.d.ts.map +1 -1
- package/dist/esm/src/testFixtures.js +1 -0
- package/dist/esm/src/testFixtures.js.map +1 -1
- package/dist/esm/src/types.d.ts +18 -16
- package/dist/esm/src/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/schemas/README.md +1098 -14
- package/schemas/jsonschema/ArrowPrimitive.json +96 -0
- package/schemas/jsonschema/CameraCalibration.json +4 -0
- package/schemas/jsonschema/CompressedImage.json +4 -0
- package/schemas/jsonschema/CubePrimitive.json +99 -0
- package/schemas/jsonschema/CylinderPrimitive.json +107 -0
- package/schemas/jsonschema/ImageAnnotations.json +28 -1
- package/schemas/jsonschema/KeyValuePair.json +16 -0
- package/schemas/jsonschema/LinePrimitive.json +167 -0
- package/schemas/jsonschema/ModelPrimitive.json +116 -0
- package/schemas/jsonschema/PointsAnnotation.json +28 -1
- package/schemas/jsonschema/RawImage.json +4 -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/CameraCalibration.proto +3 -0
- package/schemas/proto/foxglove/CompressedImage.proto +3 -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/PointsAnnotation.proto +9 -3
- package/schemas/proto/foxglove/RawImage.proto +3 -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/CameraCalibration.msg +3 -0
- package/schemas/ros1/CompressedImage.msg +3 -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/PointsAnnotation.msg +7 -1
- package/schemas/ros1/RawImage.msg +3 -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/CameraCalibration.msg +3 -0
- package/schemas/ros2/CompressedImage.msg +3 -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/PointsAnnotation.msg +7 -1
- package/schemas/ros2/RawImage.msg +3 -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/CameraCalibration.ts +3 -0
- package/schemas/typescript/CompressedImage.ts +3 -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/PointsAnnotation.ts +7 -1
- package/schemas/typescript/RawImage.ts +3 -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/generateMarkdown.ts +3 -1
- package/src/generateProto.test.ts +22 -22
- package/src/generateProto.ts +33 -4
- package/src/schemas.test.ts +19 -0
- package/src/schemas.ts +619 -79
- package/src/testFixtures.ts +1 -0
- package/src/types.ts +13 -10
package/schemas/README.md
CHANGED
|
@@ -1,24 +1,34 @@
|
|
|
1
1
|
# Foxglove schemas
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
See [Foxglove Schemas documentation](https://foxglove.dev/docs/studio/messages).
|
|
4
|
+
|
|
5
|
+
All schemas are generated from [schemas.ts](/src/schemas.ts).
|
|
4
6
|
|
|
5
7
|
## Contents
|
|
6
8
|
|
|
9
|
+
- [enum LineType](#enum-linetype)
|
|
7
10
|
- [enum LogLevel](#enum-loglevel)
|
|
8
11
|
- [enum NumericType](#enum-numerictype)
|
|
9
12
|
- [enum PointsAnnotationType](#enum-pointsannotationtype)
|
|
10
13
|
- [enum PositionCovarianceType](#enum-positioncovariancetype)
|
|
14
|
+
- [enum SceneEntityDeletionType](#enum-sceneentitydeletiontype)
|
|
15
|
+
- [ArrowPrimitive](#arrowprimitive)
|
|
11
16
|
- [CameraCalibration](#cameracalibration)
|
|
12
17
|
- [CircleAnnotation](#circleannotation)
|
|
13
18
|
- [Color](#color)
|
|
14
19
|
- [CompressedImage](#compressedimage)
|
|
20
|
+
- [CubePrimitive](#cubeprimitive)
|
|
21
|
+
- [CylinderPrimitive](#cylinderprimitive)
|
|
15
22
|
- [FrameTransform](#frametransform)
|
|
16
23
|
- [GeoJSON](#geojson)
|
|
17
24
|
- [Grid](#grid)
|
|
18
25
|
- [ImageAnnotations](#imageannotations)
|
|
26
|
+
- [KeyValuePair](#keyvaluepair)
|
|
19
27
|
- [LaserScan](#laserscan)
|
|
28
|
+
- [LinePrimitive](#lineprimitive)
|
|
20
29
|
- [LocationFix](#locationfix)
|
|
21
30
|
- [Log](#log)
|
|
31
|
+
- [ModelPrimitive](#modelprimitive)
|
|
22
32
|
- [PackedElementField](#packedelementfield)
|
|
23
33
|
- [Point2](#point2)
|
|
24
34
|
- [Point3](#point3)
|
|
@@ -29,11 +39,29 @@ Generated by https://github.com/foxglove/schemas
|
|
|
29
39
|
- [PosesInFrame](#posesinframe)
|
|
30
40
|
- [Quaternion](#quaternion)
|
|
31
41
|
- [RawImage](#rawimage)
|
|
42
|
+
- [SceneEntity](#sceneentity)
|
|
43
|
+
- [SceneEntityDeletion](#sceneentitydeletion)
|
|
44
|
+
- [SceneUpdate](#sceneupdate)
|
|
45
|
+
- [SpherePrimitive](#sphereprimitive)
|
|
46
|
+
- [TextPrimitive](#textprimitive)
|
|
47
|
+
- [TriangleListPrimitive](#trianglelistprimitive)
|
|
32
48
|
- [Vector2](#vector2)
|
|
33
49
|
- [Vector3](#vector3)
|
|
34
50
|
|
|
35
51
|
----
|
|
36
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
|
+
|
|
37
65
|
## enum LogLevel
|
|
38
66
|
|
|
39
67
|
Log level
|
|
@@ -94,6 +122,107 @@ name | value | description
|
|
|
94
122
|
|
|
95
123
|
|
|
96
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
|
+
|
|
97
226
|
## CameraCalibration
|
|
98
227
|
|
|
99
228
|
Camera calibration parameters
|
|
@@ -115,6 +244,19 @@ time
|
|
|
115
244
|
|
|
116
245
|
Timestamp of calibration data
|
|
117
246
|
|
|
247
|
+
</td>
|
|
248
|
+
</tr>
|
|
249
|
+
<tr>
|
|
250
|
+
<td><code>frame_id</code></td>
|
|
251
|
+
<td>
|
|
252
|
+
|
|
253
|
+
string
|
|
254
|
+
|
|
255
|
+
</td>
|
|
256
|
+
<td>
|
|
257
|
+
|
|
258
|
+
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.
|
|
259
|
+
|
|
118
260
|
</td>
|
|
119
261
|
</tr>
|
|
120
262
|
<tr>
|
|
@@ -423,6 +565,19 @@ time
|
|
|
423
565
|
|
|
424
566
|
Timestamp of image
|
|
425
567
|
|
|
568
|
+
</td>
|
|
569
|
+
</tr>
|
|
570
|
+
<tr>
|
|
571
|
+
<td><code>frame_id</code></td>
|
|
572
|
+
<td>
|
|
573
|
+
|
|
574
|
+
string
|
|
575
|
+
|
|
576
|
+
</td>
|
|
577
|
+
<td>
|
|
578
|
+
|
|
579
|
+
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.
|
|
580
|
+
|
|
426
581
|
</td>
|
|
427
582
|
</tr>
|
|
428
583
|
<tr>
|
|
@@ -453,6 +608,134 @@ Image format
|
|
|
453
608
|
</tr>
|
|
454
609
|
</table>
|
|
455
610
|
|
|
611
|
+
## CubePrimitive
|
|
612
|
+
|
|
613
|
+
(Experimental, subject to change) A primitive representing a cube or rectangular prism
|
|
614
|
+
|
|
615
|
+
<table>
|
|
616
|
+
<tr>
|
|
617
|
+
<th>field</th>
|
|
618
|
+
<th>type</th>
|
|
619
|
+
<th>description</th>
|
|
620
|
+
</tr>
|
|
621
|
+
<tr>
|
|
622
|
+
<td><code>pose</code></td>
|
|
623
|
+
<td>
|
|
624
|
+
|
|
625
|
+
[Pose](#pose)
|
|
626
|
+
|
|
627
|
+
</td>
|
|
628
|
+
<td>
|
|
629
|
+
|
|
630
|
+
Position of the center of the cube and orientation of the cube
|
|
631
|
+
|
|
632
|
+
</td>
|
|
633
|
+
</tr>
|
|
634
|
+
<tr>
|
|
635
|
+
<td><code>size</code></td>
|
|
636
|
+
<td>
|
|
637
|
+
|
|
638
|
+
[Vector3](#vector3)
|
|
639
|
+
|
|
640
|
+
</td>
|
|
641
|
+
<td>
|
|
642
|
+
|
|
643
|
+
Size of the cube along each axis
|
|
644
|
+
|
|
645
|
+
</td>
|
|
646
|
+
</tr>
|
|
647
|
+
<tr>
|
|
648
|
+
<td><code>color</code></td>
|
|
649
|
+
<td>
|
|
650
|
+
|
|
651
|
+
[Color](#color)
|
|
652
|
+
|
|
653
|
+
</td>
|
|
654
|
+
<td>
|
|
655
|
+
|
|
656
|
+
Color of the arrow
|
|
657
|
+
|
|
658
|
+
</td>
|
|
659
|
+
</tr>
|
|
660
|
+
</table>
|
|
661
|
+
|
|
662
|
+
## CylinderPrimitive
|
|
663
|
+
|
|
664
|
+
(Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone
|
|
665
|
+
|
|
666
|
+
<table>
|
|
667
|
+
<tr>
|
|
668
|
+
<th>field</th>
|
|
669
|
+
<th>type</th>
|
|
670
|
+
<th>description</th>
|
|
671
|
+
</tr>
|
|
672
|
+
<tr>
|
|
673
|
+
<td><code>pose</code></td>
|
|
674
|
+
<td>
|
|
675
|
+
|
|
676
|
+
[Pose](#pose)
|
|
677
|
+
|
|
678
|
+
</td>
|
|
679
|
+
<td>
|
|
680
|
+
|
|
681
|
+
Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis.
|
|
682
|
+
|
|
683
|
+
</td>
|
|
684
|
+
</tr>
|
|
685
|
+
<tr>
|
|
686
|
+
<td><code>size</code></td>
|
|
687
|
+
<td>
|
|
688
|
+
|
|
689
|
+
[Vector3](#vector3)
|
|
690
|
+
|
|
691
|
+
</td>
|
|
692
|
+
<td>
|
|
693
|
+
|
|
694
|
+
Size of the cylinder's bounding box
|
|
695
|
+
|
|
696
|
+
</td>
|
|
697
|
+
</tr>
|
|
698
|
+
<tr>
|
|
699
|
+
<td><code>bottom_scale</code></td>
|
|
700
|
+
<td>
|
|
701
|
+
|
|
702
|
+
float64
|
|
703
|
+
|
|
704
|
+
</td>
|
|
705
|
+
<td>
|
|
706
|
+
|
|
707
|
+
0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box
|
|
708
|
+
|
|
709
|
+
</td>
|
|
710
|
+
</tr>
|
|
711
|
+
<tr>
|
|
712
|
+
<td><code>top_scale</code></td>
|
|
713
|
+
<td>
|
|
714
|
+
|
|
715
|
+
float64
|
|
716
|
+
|
|
717
|
+
</td>
|
|
718
|
+
<td>
|
|
719
|
+
|
|
720
|
+
0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box
|
|
721
|
+
|
|
722
|
+
</td>
|
|
723
|
+
</tr>
|
|
724
|
+
<tr>
|
|
725
|
+
<td><code>color</code></td>
|
|
726
|
+
<td>
|
|
727
|
+
|
|
728
|
+
[Color](#color)
|
|
729
|
+
|
|
730
|
+
</td>
|
|
731
|
+
<td>
|
|
732
|
+
|
|
733
|
+
Color of the cylinder
|
|
734
|
+
|
|
735
|
+
</td>
|
|
736
|
+
</tr>
|
|
737
|
+
</table>
|
|
738
|
+
|
|
456
739
|
## FrameTransform
|
|
457
740
|
|
|
458
741
|
A transform between two reference frames in 3D space
|
|
@@ -722,9 +1005,9 @@ Points annotations
|
|
|
722
1005
|
</tr>
|
|
723
1006
|
</table>
|
|
724
1007
|
|
|
725
|
-
##
|
|
1008
|
+
## KeyValuePair
|
|
726
1009
|
|
|
727
|
-
|
|
1010
|
+
(Experimental, subject to change) A key with its associated value
|
|
728
1011
|
|
|
729
1012
|
<table>
|
|
730
1013
|
<tr>
|
|
@@ -733,20 +1016,20 @@ A single scan from a planar laser range-finder
|
|
|
733
1016
|
<th>description</th>
|
|
734
1017
|
</tr>
|
|
735
1018
|
<tr>
|
|
736
|
-
<td><code>
|
|
1019
|
+
<td><code>key</code></td>
|
|
737
1020
|
<td>
|
|
738
1021
|
|
|
739
|
-
|
|
1022
|
+
string
|
|
740
1023
|
|
|
741
1024
|
</td>
|
|
742
1025
|
<td>
|
|
743
1026
|
|
|
744
|
-
|
|
1027
|
+
Key
|
|
745
1028
|
|
|
746
1029
|
</td>
|
|
747
1030
|
</tr>
|
|
748
1031
|
<tr>
|
|
749
|
-
<td><code>
|
|
1032
|
+
<td><code>value</code></td>
|
|
750
1033
|
<td>
|
|
751
1034
|
|
|
752
1035
|
string
|
|
@@ -754,28 +1037,66 @@ string
|
|
|
754
1037
|
</td>
|
|
755
1038
|
<td>
|
|
756
1039
|
|
|
757
|
-
|
|
1040
|
+
Value
|
|
758
1041
|
|
|
759
1042
|
</td>
|
|
760
1043
|
</tr>
|
|
1044
|
+
</table>
|
|
1045
|
+
|
|
1046
|
+
## LaserScan
|
|
1047
|
+
|
|
1048
|
+
A single scan from a planar laser range-finder
|
|
1049
|
+
|
|
1050
|
+
<table>
|
|
1051
|
+
<tr>
|
|
1052
|
+
<th>field</th>
|
|
1053
|
+
<th>type</th>
|
|
1054
|
+
<th>description</th>
|
|
1055
|
+
</tr>
|
|
761
1056
|
<tr>
|
|
762
|
-
<td><code>
|
|
1057
|
+
<td><code>timestamp</code></td>
|
|
763
1058
|
<td>
|
|
764
1059
|
|
|
765
|
-
|
|
1060
|
+
time
|
|
766
1061
|
|
|
767
1062
|
</td>
|
|
768
1063
|
<td>
|
|
769
1064
|
|
|
770
|
-
|
|
1065
|
+
Timestamp of scan
|
|
771
1066
|
|
|
772
1067
|
</td>
|
|
773
1068
|
</tr>
|
|
774
1069
|
<tr>
|
|
775
|
-
<td><code>
|
|
1070
|
+
<td><code>frame_id</code></td>
|
|
776
1071
|
<td>
|
|
777
1072
|
|
|
778
|
-
|
|
1073
|
+
string
|
|
1074
|
+
|
|
1075
|
+
</td>
|
|
1076
|
+
<td>
|
|
1077
|
+
|
|
1078
|
+
Frame of reference
|
|
1079
|
+
|
|
1080
|
+
</td>
|
|
1081
|
+
</tr>
|
|
1082
|
+
<tr>
|
|
1083
|
+
<td><code>pose</code></td>
|
|
1084
|
+
<td>
|
|
1085
|
+
|
|
1086
|
+
[Pose](#pose)
|
|
1087
|
+
|
|
1088
|
+
</td>
|
|
1089
|
+
<td>
|
|
1090
|
+
|
|
1091
|
+
Origin of scan relative to frame of reference; points are positioned in the x-y plane relative to this origin; angles are interpreted as counterclockwise rotations around the z axis with 0 rad being in the +x direction
|
|
1092
|
+
|
|
1093
|
+
</td>
|
|
1094
|
+
</tr>
|
|
1095
|
+
<tr>
|
|
1096
|
+
<td><code>start_angle</code></td>
|
|
1097
|
+
<td>
|
|
1098
|
+
|
|
1099
|
+
float64
|
|
779
1100
|
|
|
780
1101
|
</td>
|
|
781
1102
|
<td>
|
|
@@ -825,6 +1146,124 @@ Intensity of detections
|
|
|
825
1146
|
</tr>
|
|
826
1147
|
</table>
|
|
827
1148
|
|
|
1149
|
+
## LinePrimitive
|
|
1150
|
+
|
|
1151
|
+
(Experimental, subject to change) A primitive representing a series of points connected by lines
|
|
1152
|
+
|
|
1153
|
+
<table>
|
|
1154
|
+
<tr>
|
|
1155
|
+
<th>field</th>
|
|
1156
|
+
<th>type</th>
|
|
1157
|
+
<th>description</th>
|
|
1158
|
+
</tr>
|
|
1159
|
+
<tr>
|
|
1160
|
+
<td><code>type</code></td>
|
|
1161
|
+
<td>
|
|
1162
|
+
|
|
1163
|
+
[enum LineType](#enum-linetype)
|
|
1164
|
+
|
|
1165
|
+
</td>
|
|
1166
|
+
<td>
|
|
1167
|
+
|
|
1168
|
+
Drawing primitive to use for lines
|
|
1169
|
+
|
|
1170
|
+
</td>
|
|
1171
|
+
</tr>
|
|
1172
|
+
<tr>
|
|
1173
|
+
<td><code>pose</code></td>
|
|
1174
|
+
<td>
|
|
1175
|
+
|
|
1176
|
+
[Pose](#pose)
|
|
1177
|
+
|
|
1178
|
+
</td>
|
|
1179
|
+
<td>
|
|
1180
|
+
|
|
1181
|
+
Origin of lines relative to reference frame
|
|
1182
|
+
|
|
1183
|
+
</td>
|
|
1184
|
+
</tr>
|
|
1185
|
+
<tr>
|
|
1186
|
+
<td><code>thickness</code></td>
|
|
1187
|
+
<td>
|
|
1188
|
+
|
|
1189
|
+
float64
|
|
1190
|
+
|
|
1191
|
+
</td>
|
|
1192
|
+
<td>
|
|
1193
|
+
|
|
1194
|
+
Line thickness
|
|
1195
|
+
|
|
1196
|
+
</td>
|
|
1197
|
+
</tr>
|
|
1198
|
+
<tr>
|
|
1199
|
+
<td><code>scale_invariant</code></td>
|
|
1200
|
+
<td>
|
|
1201
|
+
|
|
1202
|
+
boolean
|
|
1203
|
+
|
|
1204
|
+
</td>
|
|
1205
|
+
<td>
|
|
1206
|
+
|
|
1207
|
+
Indicates whether `thickness` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)
|
|
1208
|
+
|
|
1209
|
+
</td>
|
|
1210
|
+
</tr>
|
|
1211
|
+
<tr>
|
|
1212
|
+
<td><code>points</code></td>
|
|
1213
|
+
<td>
|
|
1214
|
+
|
|
1215
|
+
[Point3](#point3)[]
|
|
1216
|
+
|
|
1217
|
+
</td>
|
|
1218
|
+
<td>
|
|
1219
|
+
|
|
1220
|
+
Points along the line
|
|
1221
|
+
|
|
1222
|
+
</td>
|
|
1223
|
+
</tr>
|
|
1224
|
+
<tr>
|
|
1225
|
+
<td><code>color</code></td>
|
|
1226
|
+
<td>
|
|
1227
|
+
|
|
1228
|
+
[Color](#color)
|
|
1229
|
+
|
|
1230
|
+
</td>
|
|
1231
|
+
<td>
|
|
1232
|
+
|
|
1233
|
+
Solid color to use for the whole line. One of `color` or `colors` must be provided.
|
|
1234
|
+
|
|
1235
|
+
</td>
|
|
1236
|
+
</tr>
|
|
1237
|
+
<tr>
|
|
1238
|
+
<td><code>colors</code></td>
|
|
1239
|
+
<td>
|
|
1240
|
+
|
|
1241
|
+
[Color](#color)[]
|
|
1242
|
+
|
|
1243
|
+
</td>
|
|
1244
|
+
<td>
|
|
1245
|
+
|
|
1246
|
+
Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
|
|
1247
|
+
|
|
1248
|
+
</td>
|
|
1249
|
+
</tr>
|
|
1250
|
+
<tr>
|
|
1251
|
+
<td><code>indices</code></td>
|
|
1252
|
+
<td>
|
|
1253
|
+
|
|
1254
|
+
uint32[]
|
|
1255
|
+
|
|
1256
|
+
</td>
|
|
1257
|
+
<td>
|
|
1258
|
+
|
|
1259
|
+
Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
1260
|
+
|
|
1261
|
+
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).
|
|
1262
|
+
|
|
1263
|
+
</td>
|
|
1264
|
+
</tr>
|
|
1265
|
+
</table>
|
|
1266
|
+
|
|
828
1267
|
## LocationFix
|
|
829
1268
|
|
|
830
1269
|
A navigation satellite fix for any Global Navigation Satellite System
|
|
@@ -992,6 +1431,109 @@ Line number in the file
|
|
|
992
1431
|
</tr>
|
|
993
1432
|
</table>
|
|
994
1433
|
|
|
1434
|
+
## ModelPrimitive
|
|
1435
|
+
|
|
1436
|
+
(Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data
|
|
1437
|
+
|
|
1438
|
+
<table>
|
|
1439
|
+
<tr>
|
|
1440
|
+
<th>field</th>
|
|
1441
|
+
<th>type</th>
|
|
1442
|
+
<th>description</th>
|
|
1443
|
+
</tr>
|
|
1444
|
+
<tr>
|
|
1445
|
+
<td><code>pose</code></td>
|
|
1446
|
+
<td>
|
|
1447
|
+
|
|
1448
|
+
[Pose](#pose)
|
|
1449
|
+
|
|
1450
|
+
</td>
|
|
1451
|
+
<td>
|
|
1452
|
+
|
|
1453
|
+
Origin of model relative to reference frame
|
|
1454
|
+
|
|
1455
|
+
</td>
|
|
1456
|
+
</tr>
|
|
1457
|
+
<tr>
|
|
1458
|
+
<td><code>scale</code></td>
|
|
1459
|
+
<td>
|
|
1460
|
+
|
|
1461
|
+
[Vector3](#vector3)
|
|
1462
|
+
|
|
1463
|
+
</td>
|
|
1464
|
+
<td>
|
|
1465
|
+
|
|
1466
|
+
Scale factor to apply to the model along each axis
|
|
1467
|
+
|
|
1468
|
+
</td>
|
|
1469
|
+
</tr>
|
|
1470
|
+
<tr>
|
|
1471
|
+
<td><code>color</code></td>
|
|
1472
|
+
<td>
|
|
1473
|
+
|
|
1474
|
+
[Color](#color)
|
|
1475
|
+
|
|
1476
|
+
</td>
|
|
1477
|
+
<td>
|
|
1478
|
+
|
|
1479
|
+
Solid color to use for the whole model if `override_color` is true.
|
|
1480
|
+
|
|
1481
|
+
</td>
|
|
1482
|
+
</tr>
|
|
1483
|
+
<tr>
|
|
1484
|
+
<td><code>override_color</code></td>
|
|
1485
|
+
<td>
|
|
1486
|
+
|
|
1487
|
+
boolean
|
|
1488
|
+
|
|
1489
|
+
</td>
|
|
1490
|
+
<td>
|
|
1491
|
+
|
|
1492
|
+
Whether to use the color specified in `color` instead of any materials embedded in the original model.
|
|
1493
|
+
|
|
1494
|
+
</td>
|
|
1495
|
+
</tr>
|
|
1496
|
+
<tr>
|
|
1497
|
+
<td><code>url</code></td>
|
|
1498
|
+
<td>
|
|
1499
|
+
|
|
1500
|
+
string
|
|
1501
|
+
|
|
1502
|
+
</td>
|
|
1503
|
+
<td>
|
|
1504
|
+
|
|
1505
|
+
URL pointing to model file. One of `url` or `data` should be provided.
|
|
1506
|
+
|
|
1507
|
+
</td>
|
|
1508
|
+
</tr>
|
|
1509
|
+
<tr>
|
|
1510
|
+
<td><code>media_type</code></td>
|
|
1511
|
+
<td>
|
|
1512
|
+
|
|
1513
|
+
string
|
|
1514
|
+
|
|
1515
|
+
</td>
|
|
1516
|
+
<td>
|
|
1517
|
+
|
|
1518
|
+
[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.
|
|
1519
|
+
|
|
1520
|
+
</td>
|
|
1521
|
+
</tr>
|
|
1522
|
+
<tr>
|
|
1523
|
+
<td><code>data</code></td>
|
|
1524
|
+
<td>
|
|
1525
|
+
|
|
1526
|
+
bytes
|
|
1527
|
+
|
|
1528
|
+
</td>
|
|
1529
|
+
<td>
|
|
1530
|
+
|
|
1531
|
+
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.
|
|
1532
|
+
|
|
1533
|
+
</td>
|
|
1534
|
+
</tr>
|
|
1535
|
+
</table>
|
|
1536
|
+
|
|
995
1537
|
## PackedElementField
|
|
996
1538
|
|
|
997
1539
|
A field present within each element in a byte array of packed elements.
|
|
@@ -1269,6 +1811,19 @@ Type of points annotation to draw
|
|
|
1269
1811
|
|
|
1270
1812
|
Points in 2D image coordinates
|
|
1271
1813
|
|
|
1814
|
+
</td>
|
|
1815
|
+
</tr>
|
|
1816
|
+
<tr>
|
|
1817
|
+
<td><code>outline_color</code></td>
|
|
1818
|
+
<td>
|
|
1819
|
+
|
|
1820
|
+
[Color](#color)
|
|
1821
|
+
|
|
1822
|
+
</td>
|
|
1823
|
+
<td>
|
|
1824
|
+
|
|
1825
|
+
Outline color
|
|
1826
|
+
|
|
1272
1827
|
</td>
|
|
1273
1828
|
</tr>
|
|
1274
1829
|
<tr>
|
|
@@ -1280,7 +1835,7 @@ Points in 2D image coordinates
|
|
|
1280
1835
|
</td>
|
|
1281
1836
|
<td>
|
|
1282
1837
|
|
|
1283
|
-
|
|
1838
|
+
Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`.
|
|
1284
1839
|
|
|
1285
1840
|
</td>
|
|
1286
1841
|
</tr>
|
|
@@ -1295,6 +1850,19 @@ Outline colors
|
|
|
1295
1850
|
|
|
1296
1851
|
Fill color
|
|
1297
1852
|
|
|
1853
|
+
</td>
|
|
1854
|
+
</tr>
|
|
1855
|
+
<tr>
|
|
1856
|
+
<td><code>thickness</code></td>
|
|
1857
|
+
<td>
|
|
1858
|
+
|
|
1859
|
+
float64
|
|
1860
|
+
|
|
1861
|
+
</td>
|
|
1862
|
+
<td>
|
|
1863
|
+
|
|
1864
|
+
Stroke thickness
|
|
1865
|
+
|
|
1298
1866
|
</td>
|
|
1299
1867
|
</tr>
|
|
1300
1868
|
</table>
|
|
@@ -1524,6 +2092,19 @@ time
|
|
|
1524
2092
|
|
|
1525
2093
|
Timestamp of image
|
|
1526
2094
|
|
|
2095
|
+
</td>
|
|
2096
|
+
</tr>
|
|
2097
|
+
<tr>
|
|
2098
|
+
<td><code>frame_id</code></td>
|
|
2099
|
+
<td>
|
|
2100
|
+
|
|
2101
|
+
string
|
|
2102
|
+
|
|
2103
|
+
</td>
|
|
2104
|
+
<td>
|
|
2105
|
+
|
|
2106
|
+
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.
|
|
2107
|
+
|
|
1527
2108
|
</td>
|
|
1528
2109
|
</tr>
|
|
1529
2110
|
<tr>
|
|
@@ -1593,6 +2174,509 @@ Raw image data
|
|
|
1593
2174
|
</tr>
|
|
1594
2175
|
</table>
|
|
1595
2176
|
|
|
2177
|
+
## SceneEntity
|
|
2178
|
+
|
|
2179
|
+
(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.
|
|
2180
|
+
|
|
2181
|
+
<table>
|
|
2182
|
+
<tr>
|
|
2183
|
+
<th>field</th>
|
|
2184
|
+
<th>type</th>
|
|
2185
|
+
<th>description</th>
|
|
2186
|
+
</tr>
|
|
2187
|
+
<tr>
|
|
2188
|
+
<td><code>timestamp</code></td>
|
|
2189
|
+
<td>
|
|
2190
|
+
|
|
2191
|
+
time
|
|
2192
|
+
|
|
2193
|
+
</td>
|
|
2194
|
+
<td>
|
|
2195
|
+
|
|
2196
|
+
Timestamp of the entity
|
|
2197
|
+
|
|
2198
|
+
</td>
|
|
2199
|
+
</tr>
|
|
2200
|
+
<tr>
|
|
2201
|
+
<td><code>frame_id</code></td>
|
|
2202
|
+
<td>
|
|
2203
|
+
|
|
2204
|
+
string
|
|
2205
|
+
|
|
2206
|
+
</td>
|
|
2207
|
+
<td>
|
|
2208
|
+
|
|
2209
|
+
Frame of reference
|
|
2210
|
+
|
|
2211
|
+
</td>
|
|
2212
|
+
</tr>
|
|
2213
|
+
<tr>
|
|
2214
|
+
<td><code>id</code></td>
|
|
2215
|
+
<td>
|
|
2216
|
+
|
|
2217
|
+
string
|
|
2218
|
+
|
|
2219
|
+
</td>
|
|
2220
|
+
<td>
|
|
2221
|
+
|
|
2222
|
+
Identifier for the entity. A entity will replace any prior entity on the same topic with the same `id`.
|
|
2223
|
+
|
|
2224
|
+
</td>
|
|
2225
|
+
</tr>
|
|
2226
|
+
<tr>
|
|
2227
|
+
<td><code>lifetime</code></td>
|
|
2228
|
+
<td>
|
|
2229
|
+
|
|
2230
|
+
duration
|
|
2231
|
+
|
|
2232
|
+
</td>
|
|
2233
|
+
<td>
|
|
2234
|
+
|
|
2235
|
+
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.
|
|
2236
|
+
|
|
2237
|
+
</td>
|
|
2238
|
+
</tr>
|
|
2239
|
+
<tr>
|
|
2240
|
+
<td><code>frame_locked</code></td>
|
|
2241
|
+
<td>
|
|
2242
|
+
|
|
2243
|
+
boolean
|
|
2244
|
+
|
|
2245
|
+
</td>
|
|
2246
|
+
<td>
|
|
2247
|
+
|
|
2248
|
+
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)
|
|
2249
|
+
|
|
2250
|
+
</td>
|
|
2251
|
+
</tr>
|
|
2252
|
+
<tr>
|
|
2253
|
+
<td><code>metadata</code></td>
|
|
2254
|
+
<td>
|
|
2255
|
+
|
|
2256
|
+
[KeyValuePair](#keyvaluepair)[]
|
|
2257
|
+
|
|
2258
|
+
</td>
|
|
2259
|
+
<td>
|
|
2260
|
+
|
|
2261
|
+
Additional user-provided metadata associated with the entity. Keys must be unique.
|
|
2262
|
+
|
|
2263
|
+
</td>
|
|
2264
|
+
</tr>
|
|
2265
|
+
<tr>
|
|
2266
|
+
<td><code>arrows</code></td>
|
|
2267
|
+
<td>
|
|
2268
|
+
|
|
2269
|
+
[ArrowPrimitive](#arrowprimitive)[]
|
|
2270
|
+
|
|
2271
|
+
</td>
|
|
2272
|
+
<td>
|
|
2273
|
+
|
|
2274
|
+
Arrow primitives
|
|
2275
|
+
|
|
2276
|
+
</td>
|
|
2277
|
+
</tr>
|
|
2278
|
+
<tr>
|
|
2279
|
+
<td><code>cubes</code></td>
|
|
2280
|
+
<td>
|
|
2281
|
+
|
|
2282
|
+
[CubePrimitive](#cubeprimitive)[]
|
|
2283
|
+
|
|
2284
|
+
</td>
|
|
2285
|
+
<td>
|
|
2286
|
+
|
|
2287
|
+
Cube primitives
|
|
2288
|
+
|
|
2289
|
+
</td>
|
|
2290
|
+
</tr>
|
|
2291
|
+
<tr>
|
|
2292
|
+
<td><code>spheres</code></td>
|
|
2293
|
+
<td>
|
|
2294
|
+
|
|
2295
|
+
[SpherePrimitive](#sphereprimitive)[]
|
|
2296
|
+
|
|
2297
|
+
</td>
|
|
2298
|
+
<td>
|
|
2299
|
+
|
|
2300
|
+
Sphere primitives
|
|
2301
|
+
|
|
2302
|
+
</td>
|
|
2303
|
+
</tr>
|
|
2304
|
+
<tr>
|
|
2305
|
+
<td><code>cylinders</code></td>
|
|
2306
|
+
<td>
|
|
2307
|
+
|
|
2308
|
+
[CylinderPrimitive](#cylinderprimitive)[]
|
|
2309
|
+
|
|
2310
|
+
</td>
|
|
2311
|
+
<td>
|
|
2312
|
+
|
|
2313
|
+
Cylinder primitives
|
|
2314
|
+
|
|
2315
|
+
</td>
|
|
2316
|
+
</tr>
|
|
2317
|
+
<tr>
|
|
2318
|
+
<td><code>lines</code></td>
|
|
2319
|
+
<td>
|
|
2320
|
+
|
|
2321
|
+
[LinePrimitive](#lineprimitive)[]
|
|
2322
|
+
|
|
2323
|
+
</td>
|
|
2324
|
+
<td>
|
|
2325
|
+
|
|
2326
|
+
Line primitives
|
|
2327
|
+
|
|
2328
|
+
</td>
|
|
2329
|
+
</tr>
|
|
2330
|
+
<tr>
|
|
2331
|
+
<td><code>triangles</code></td>
|
|
2332
|
+
<td>
|
|
2333
|
+
|
|
2334
|
+
[TriangleListPrimitive](#trianglelistprimitive)[]
|
|
2335
|
+
|
|
2336
|
+
</td>
|
|
2337
|
+
<td>
|
|
2338
|
+
|
|
2339
|
+
Triangle list primitives
|
|
2340
|
+
|
|
2341
|
+
</td>
|
|
2342
|
+
</tr>
|
|
2343
|
+
<tr>
|
|
2344
|
+
<td><code>texts</code></td>
|
|
2345
|
+
<td>
|
|
2346
|
+
|
|
2347
|
+
[TextPrimitive](#textprimitive)[]
|
|
2348
|
+
|
|
2349
|
+
</td>
|
|
2350
|
+
<td>
|
|
2351
|
+
|
|
2352
|
+
Text primitives
|
|
2353
|
+
|
|
2354
|
+
</td>
|
|
2355
|
+
</tr>
|
|
2356
|
+
<tr>
|
|
2357
|
+
<td><code>models</code></td>
|
|
2358
|
+
<td>
|
|
2359
|
+
|
|
2360
|
+
[ModelPrimitive](#modelprimitive)[]
|
|
2361
|
+
|
|
2362
|
+
</td>
|
|
2363
|
+
<td>
|
|
2364
|
+
|
|
2365
|
+
Model primitives
|
|
2366
|
+
|
|
2367
|
+
</td>
|
|
2368
|
+
</tr>
|
|
2369
|
+
</table>
|
|
2370
|
+
|
|
2371
|
+
## SceneEntityDeletion
|
|
2372
|
+
|
|
2373
|
+
(Experimental, subject to change) Command to remove previously published entities
|
|
2374
|
+
|
|
2375
|
+
<table>
|
|
2376
|
+
<tr>
|
|
2377
|
+
<th>field</th>
|
|
2378
|
+
<th>type</th>
|
|
2379
|
+
<th>description</th>
|
|
2380
|
+
</tr>
|
|
2381
|
+
<tr>
|
|
2382
|
+
<td><code>timestamp</code></td>
|
|
2383
|
+
<td>
|
|
2384
|
+
|
|
2385
|
+
time
|
|
2386
|
+
|
|
2387
|
+
</td>
|
|
2388
|
+
<td>
|
|
2389
|
+
|
|
2390
|
+
Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted.
|
|
2391
|
+
|
|
2392
|
+
</td>
|
|
2393
|
+
</tr>
|
|
2394
|
+
<tr>
|
|
2395
|
+
<td><code>type</code></td>
|
|
2396
|
+
<td>
|
|
2397
|
+
|
|
2398
|
+
[enum SceneEntityDeletionType](#enum-sceneentitydeletiontype)
|
|
2399
|
+
|
|
2400
|
+
</td>
|
|
2401
|
+
<td>
|
|
2402
|
+
|
|
2403
|
+
Type of deletion action to perform
|
|
2404
|
+
|
|
2405
|
+
</td>
|
|
2406
|
+
</tr>
|
|
2407
|
+
<tr>
|
|
2408
|
+
<td><code>id</code></td>
|
|
2409
|
+
<td>
|
|
2410
|
+
|
|
2411
|
+
string
|
|
2412
|
+
|
|
2413
|
+
</td>
|
|
2414
|
+
<td>
|
|
2415
|
+
|
|
2416
|
+
Identifier which must match if `type` is `MATCHING_ID`.
|
|
2417
|
+
|
|
2418
|
+
</td>
|
|
2419
|
+
</tr>
|
|
2420
|
+
</table>
|
|
2421
|
+
|
|
2422
|
+
## SceneUpdate
|
|
2423
|
+
|
|
2424
|
+
(Experimental, subject to change) An update to the entities displayed in a 3D scene
|
|
2425
|
+
|
|
2426
|
+
<table>
|
|
2427
|
+
<tr>
|
|
2428
|
+
<th>field</th>
|
|
2429
|
+
<th>type</th>
|
|
2430
|
+
<th>description</th>
|
|
2431
|
+
</tr>
|
|
2432
|
+
<tr>
|
|
2433
|
+
<td><code>deletions</code></td>
|
|
2434
|
+
<td>
|
|
2435
|
+
|
|
2436
|
+
[SceneEntityDeletion](#sceneentitydeletion)[]
|
|
2437
|
+
|
|
2438
|
+
</td>
|
|
2439
|
+
<td>
|
|
2440
|
+
|
|
2441
|
+
Scene entities to delete
|
|
2442
|
+
|
|
2443
|
+
</td>
|
|
2444
|
+
</tr>
|
|
2445
|
+
<tr>
|
|
2446
|
+
<td><code>entities</code></td>
|
|
2447
|
+
<td>
|
|
2448
|
+
|
|
2449
|
+
[SceneEntity](#sceneentity)[]
|
|
2450
|
+
|
|
2451
|
+
</td>
|
|
2452
|
+
<td>
|
|
2453
|
+
|
|
2454
|
+
Scene entities to add or replace
|
|
2455
|
+
|
|
2456
|
+
</td>
|
|
2457
|
+
</tr>
|
|
2458
|
+
</table>
|
|
2459
|
+
|
|
2460
|
+
## SpherePrimitive
|
|
2461
|
+
|
|
2462
|
+
(Experimental, subject to change) A primitive representing a sphere or ellipsoid
|
|
2463
|
+
|
|
2464
|
+
<table>
|
|
2465
|
+
<tr>
|
|
2466
|
+
<th>field</th>
|
|
2467
|
+
<th>type</th>
|
|
2468
|
+
<th>description</th>
|
|
2469
|
+
</tr>
|
|
2470
|
+
<tr>
|
|
2471
|
+
<td><code>pose</code></td>
|
|
2472
|
+
<td>
|
|
2473
|
+
|
|
2474
|
+
[Pose](#pose)
|
|
2475
|
+
|
|
2476
|
+
</td>
|
|
2477
|
+
<td>
|
|
2478
|
+
|
|
2479
|
+
Position of the center of the sphere and orientation of the sphere
|
|
2480
|
+
|
|
2481
|
+
</td>
|
|
2482
|
+
</tr>
|
|
2483
|
+
<tr>
|
|
2484
|
+
<td><code>size</code></td>
|
|
2485
|
+
<td>
|
|
2486
|
+
|
|
2487
|
+
[Vector3](#vector3)
|
|
2488
|
+
|
|
2489
|
+
</td>
|
|
2490
|
+
<td>
|
|
2491
|
+
|
|
2492
|
+
Size (diameter) of the sphere along each axis
|
|
2493
|
+
|
|
2494
|
+
</td>
|
|
2495
|
+
</tr>
|
|
2496
|
+
<tr>
|
|
2497
|
+
<td><code>color</code></td>
|
|
2498
|
+
<td>
|
|
2499
|
+
|
|
2500
|
+
[Color](#color)
|
|
2501
|
+
|
|
2502
|
+
</td>
|
|
2503
|
+
<td>
|
|
2504
|
+
|
|
2505
|
+
Color of the sphere
|
|
2506
|
+
|
|
2507
|
+
</td>
|
|
2508
|
+
</tr>
|
|
2509
|
+
</table>
|
|
2510
|
+
|
|
2511
|
+
## TextPrimitive
|
|
2512
|
+
|
|
2513
|
+
(Experimental, subject to change) A primitive representing a text label
|
|
2514
|
+
|
|
2515
|
+
<table>
|
|
2516
|
+
<tr>
|
|
2517
|
+
<th>field</th>
|
|
2518
|
+
<th>type</th>
|
|
2519
|
+
<th>description</th>
|
|
2520
|
+
</tr>
|
|
2521
|
+
<tr>
|
|
2522
|
+
<td><code>pose</code></td>
|
|
2523
|
+
<td>
|
|
2524
|
+
|
|
2525
|
+
[Pose](#pose)
|
|
2526
|
+
|
|
2527
|
+
</td>
|
|
2528
|
+
<td>
|
|
2529
|
+
|
|
2530
|
+
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.
|
|
2531
|
+
|
|
2532
|
+
</td>
|
|
2533
|
+
</tr>
|
|
2534
|
+
<tr>
|
|
2535
|
+
<td><code>billboard</code></td>
|
|
2536
|
+
<td>
|
|
2537
|
+
|
|
2538
|
+
boolean
|
|
2539
|
+
|
|
2540
|
+
</td>
|
|
2541
|
+
<td>
|
|
2542
|
+
|
|
2543
|
+
Whether the text should respect `pose.orientation` (false) or always face the camera (true)
|
|
2544
|
+
|
|
2545
|
+
</td>
|
|
2546
|
+
</tr>
|
|
2547
|
+
<tr>
|
|
2548
|
+
<td><code>font_size</code></td>
|
|
2549
|
+
<td>
|
|
2550
|
+
|
|
2551
|
+
float64
|
|
2552
|
+
|
|
2553
|
+
</td>
|
|
2554
|
+
<td>
|
|
2555
|
+
|
|
2556
|
+
Font size (height of one line of text)
|
|
2557
|
+
|
|
2558
|
+
</td>
|
|
2559
|
+
</tr>
|
|
2560
|
+
<tr>
|
|
2561
|
+
<td><code>scale_invariant</code></td>
|
|
2562
|
+
<td>
|
|
2563
|
+
|
|
2564
|
+
boolean
|
|
2565
|
+
|
|
2566
|
+
</td>
|
|
2567
|
+
<td>
|
|
2568
|
+
|
|
2569
|
+
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)
|
|
2570
|
+
|
|
2571
|
+
</td>
|
|
2572
|
+
</tr>
|
|
2573
|
+
<tr>
|
|
2574
|
+
<td><code>color</code></td>
|
|
2575
|
+
<td>
|
|
2576
|
+
|
|
2577
|
+
[Color](#color)
|
|
2578
|
+
|
|
2579
|
+
</td>
|
|
2580
|
+
<td>
|
|
2581
|
+
|
|
2582
|
+
Color of the text
|
|
2583
|
+
|
|
2584
|
+
</td>
|
|
2585
|
+
</tr>
|
|
2586
|
+
<tr>
|
|
2587
|
+
<td><code>text</code></td>
|
|
2588
|
+
<td>
|
|
2589
|
+
|
|
2590
|
+
string
|
|
2591
|
+
|
|
2592
|
+
</td>
|
|
2593
|
+
<td>
|
|
2594
|
+
|
|
2595
|
+
Text
|
|
2596
|
+
|
|
2597
|
+
</td>
|
|
2598
|
+
</tr>
|
|
2599
|
+
</table>
|
|
2600
|
+
|
|
2601
|
+
## TriangleListPrimitive
|
|
2602
|
+
|
|
2603
|
+
(Experimental, subject to change) A primitive representing a set of triangles or a surface tiled by triangles
|
|
2604
|
+
|
|
2605
|
+
<table>
|
|
2606
|
+
<tr>
|
|
2607
|
+
<th>field</th>
|
|
2608
|
+
<th>type</th>
|
|
2609
|
+
<th>description</th>
|
|
2610
|
+
</tr>
|
|
2611
|
+
<tr>
|
|
2612
|
+
<td><code>pose</code></td>
|
|
2613
|
+
<td>
|
|
2614
|
+
|
|
2615
|
+
[Pose](#pose)
|
|
2616
|
+
|
|
2617
|
+
</td>
|
|
2618
|
+
<td>
|
|
2619
|
+
|
|
2620
|
+
Origin of triangles relative to reference frame
|
|
2621
|
+
|
|
2622
|
+
</td>
|
|
2623
|
+
</tr>
|
|
2624
|
+
<tr>
|
|
2625
|
+
<td><code>points</code></td>
|
|
2626
|
+
<td>
|
|
2627
|
+
|
|
2628
|
+
[Point3](#point3)[]
|
|
2629
|
+
|
|
2630
|
+
</td>
|
|
2631
|
+
<td>
|
|
2632
|
+
|
|
2633
|
+
Vertices to use for triangles, interpreted as a list of triples (0-1-2, 3-4-5, ...)
|
|
2634
|
+
|
|
2635
|
+
</td>
|
|
2636
|
+
</tr>
|
|
2637
|
+
<tr>
|
|
2638
|
+
<td><code>color</code></td>
|
|
2639
|
+
<td>
|
|
2640
|
+
|
|
2641
|
+
[Color](#color)
|
|
2642
|
+
|
|
2643
|
+
</td>
|
|
2644
|
+
<td>
|
|
2645
|
+
|
|
2646
|
+
Solid color to use for the whole shape. One of `color` or `colors` must be provided.
|
|
2647
|
+
|
|
2648
|
+
</td>
|
|
2649
|
+
</tr>
|
|
2650
|
+
<tr>
|
|
2651
|
+
<td><code>colors</code></td>
|
|
2652
|
+
<td>
|
|
2653
|
+
|
|
2654
|
+
[Color](#color)[]
|
|
2655
|
+
|
|
2656
|
+
</td>
|
|
2657
|
+
<td>
|
|
2658
|
+
|
|
2659
|
+
Per-vertex colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
|
|
2660
|
+
|
|
2661
|
+
</td>
|
|
2662
|
+
</tr>
|
|
2663
|
+
<tr>
|
|
2664
|
+
<td><code>indices</code></td>
|
|
2665
|
+
<td>
|
|
2666
|
+
|
|
2667
|
+
uint32[]
|
|
2668
|
+
|
|
2669
|
+
</td>
|
|
2670
|
+
<td>
|
|
2671
|
+
|
|
2672
|
+
Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
2673
|
+
|
|
2674
|
+
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).
|
|
2675
|
+
|
|
2676
|
+
</td>
|
|
2677
|
+
</tr>
|
|
2678
|
+
</table>
|
|
2679
|
+
|
|
1596
2680
|
## Vector2
|
|
1597
2681
|
|
|
1598
2682
|
A vector in 2D space that represents a direction only
|