@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
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "foxglove.SpherePrimitive",
|
|
3
|
+
"description": "(Experimental, subject to change) A primitive representing a sphere or ellipsoid",
|
|
4
|
+
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"pose": {
|
|
8
|
+
"title": "foxglove.Pose",
|
|
9
|
+
"description": "Position of the center of the sphere and orientation of the sphere",
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"position": {
|
|
13
|
+
"title": "foxglove.Vector3",
|
|
14
|
+
"description": "Point denoting position in 3D space",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"x": {
|
|
18
|
+
"type": "number",
|
|
19
|
+
"description": "x coordinate length"
|
|
20
|
+
},
|
|
21
|
+
"y": {
|
|
22
|
+
"type": "number",
|
|
23
|
+
"description": "y coordinate length"
|
|
24
|
+
},
|
|
25
|
+
"z": {
|
|
26
|
+
"type": "number",
|
|
27
|
+
"description": "z coordinate length"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"orientation": {
|
|
32
|
+
"title": "foxglove.Quaternion",
|
|
33
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"x": {
|
|
37
|
+
"type": "number",
|
|
38
|
+
"description": "x value"
|
|
39
|
+
},
|
|
40
|
+
"y": {
|
|
41
|
+
"type": "number",
|
|
42
|
+
"description": "y value"
|
|
43
|
+
},
|
|
44
|
+
"z": {
|
|
45
|
+
"type": "number",
|
|
46
|
+
"description": "z value"
|
|
47
|
+
},
|
|
48
|
+
"w": {
|
|
49
|
+
"type": "number",
|
|
50
|
+
"description": "w value"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"size": {
|
|
57
|
+
"title": "foxglove.Vector3",
|
|
58
|
+
"description": "Size (diameter) of the sphere along each axis",
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"x": {
|
|
62
|
+
"type": "number",
|
|
63
|
+
"description": "x coordinate length"
|
|
64
|
+
},
|
|
65
|
+
"y": {
|
|
66
|
+
"type": "number",
|
|
67
|
+
"description": "y coordinate length"
|
|
68
|
+
},
|
|
69
|
+
"z": {
|
|
70
|
+
"type": "number",
|
|
71
|
+
"description": "z coordinate length"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"color": {
|
|
76
|
+
"title": "foxglove.Color",
|
|
77
|
+
"description": "Color of the sphere",
|
|
78
|
+
"type": "object",
|
|
79
|
+
"properties": {
|
|
80
|
+
"r": {
|
|
81
|
+
"type": "number",
|
|
82
|
+
"description": "Red value between 0 and 1"
|
|
83
|
+
},
|
|
84
|
+
"g": {
|
|
85
|
+
"type": "number",
|
|
86
|
+
"description": "Green value between 0 and 1"
|
|
87
|
+
},
|
|
88
|
+
"b": {
|
|
89
|
+
"type": "number",
|
|
90
|
+
"description": "Blue value between 0 and 1"
|
|
91
|
+
},
|
|
92
|
+
"a": {
|
|
93
|
+
"type": "number",
|
|
94
|
+
"description": "Alpha value between 0 and 1"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "foxglove.TextPrimitive",
|
|
3
|
+
"description": "(Experimental, subject to change) A primitive representing a text label",
|
|
4
|
+
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"pose": {
|
|
8
|
+
"title": "foxglove.Pose",
|
|
9
|
+
"description": "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.",
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"position": {
|
|
13
|
+
"title": "foxglove.Vector3",
|
|
14
|
+
"description": "Point denoting position in 3D space",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"x": {
|
|
18
|
+
"type": "number",
|
|
19
|
+
"description": "x coordinate length"
|
|
20
|
+
},
|
|
21
|
+
"y": {
|
|
22
|
+
"type": "number",
|
|
23
|
+
"description": "y coordinate length"
|
|
24
|
+
},
|
|
25
|
+
"z": {
|
|
26
|
+
"type": "number",
|
|
27
|
+
"description": "z coordinate length"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"orientation": {
|
|
32
|
+
"title": "foxglove.Quaternion",
|
|
33
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"x": {
|
|
37
|
+
"type": "number",
|
|
38
|
+
"description": "x value"
|
|
39
|
+
},
|
|
40
|
+
"y": {
|
|
41
|
+
"type": "number",
|
|
42
|
+
"description": "y value"
|
|
43
|
+
},
|
|
44
|
+
"z": {
|
|
45
|
+
"type": "number",
|
|
46
|
+
"description": "z value"
|
|
47
|
+
},
|
|
48
|
+
"w": {
|
|
49
|
+
"type": "number",
|
|
50
|
+
"description": "w value"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"billboard": {
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"description": "Whether the text should respect `pose.orientation` (false) or always face the camera (true)"
|
|
59
|
+
},
|
|
60
|
+
"font_size": {
|
|
61
|
+
"type": "number",
|
|
62
|
+
"description": "Font size (height of one line of text)"
|
|
63
|
+
},
|
|
64
|
+
"scale_invariant": {
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"description": "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)"
|
|
67
|
+
},
|
|
68
|
+
"color": {
|
|
69
|
+
"title": "foxglove.Color",
|
|
70
|
+
"description": "Color of the text",
|
|
71
|
+
"type": "object",
|
|
72
|
+
"properties": {
|
|
73
|
+
"r": {
|
|
74
|
+
"type": "number",
|
|
75
|
+
"description": "Red value between 0 and 1"
|
|
76
|
+
},
|
|
77
|
+
"g": {
|
|
78
|
+
"type": "number",
|
|
79
|
+
"description": "Green value between 0 and 1"
|
|
80
|
+
},
|
|
81
|
+
"b": {
|
|
82
|
+
"type": "number",
|
|
83
|
+
"description": "Blue value between 0 and 1"
|
|
84
|
+
},
|
|
85
|
+
"a": {
|
|
86
|
+
"type": "number",
|
|
87
|
+
"description": "Alpha value between 0 and 1"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"text": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "Text"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "foxglove.TriangleListPrimitive",
|
|
3
|
+
"description": "(Experimental, subject to change) A primitive representing a set of triangles or a surface tiled by triangles",
|
|
4
|
+
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"pose": {
|
|
8
|
+
"title": "foxglove.Pose",
|
|
9
|
+
"description": "Origin of triangles relative to reference frame",
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"position": {
|
|
13
|
+
"title": "foxglove.Vector3",
|
|
14
|
+
"description": "Point denoting position in 3D space",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"x": {
|
|
18
|
+
"type": "number",
|
|
19
|
+
"description": "x coordinate length"
|
|
20
|
+
},
|
|
21
|
+
"y": {
|
|
22
|
+
"type": "number",
|
|
23
|
+
"description": "y coordinate length"
|
|
24
|
+
},
|
|
25
|
+
"z": {
|
|
26
|
+
"type": "number",
|
|
27
|
+
"description": "z coordinate length"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"orientation": {
|
|
32
|
+
"title": "foxglove.Quaternion",
|
|
33
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"x": {
|
|
37
|
+
"type": "number",
|
|
38
|
+
"description": "x value"
|
|
39
|
+
},
|
|
40
|
+
"y": {
|
|
41
|
+
"type": "number",
|
|
42
|
+
"description": "y value"
|
|
43
|
+
},
|
|
44
|
+
"z": {
|
|
45
|
+
"type": "number",
|
|
46
|
+
"description": "z value"
|
|
47
|
+
},
|
|
48
|
+
"w": {
|
|
49
|
+
"type": "number",
|
|
50
|
+
"description": "w value"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"points": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"items": {
|
|
59
|
+
"title": "foxglove.Point3",
|
|
60
|
+
"description": "A point representing a position in 3D space",
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"x": {
|
|
64
|
+
"type": "number",
|
|
65
|
+
"description": "x coordinate position"
|
|
66
|
+
},
|
|
67
|
+
"y": {
|
|
68
|
+
"type": "number",
|
|
69
|
+
"description": "y coordinate position"
|
|
70
|
+
},
|
|
71
|
+
"z": {
|
|
72
|
+
"type": "number",
|
|
73
|
+
"description": "z coordinate position"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"description": "Vertices to use for triangles, interpreted as a list of triples (0-1-2, 3-4-5, ...)"
|
|
78
|
+
},
|
|
79
|
+
"color": {
|
|
80
|
+
"title": "foxglove.Color",
|
|
81
|
+
"description": "Solid color to use for the whole shape. One of `color` or `colors` must be provided.",
|
|
82
|
+
"type": "object",
|
|
83
|
+
"properties": {
|
|
84
|
+
"r": {
|
|
85
|
+
"type": "number",
|
|
86
|
+
"description": "Red value between 0 and 1"
|
|
87
|
+
},
|
|
88
|
+
"g": {
|
|
89
|
+
"type": "number",
|
|
90
|
+
"description": "Green value between 0 and 1"
|
|
91
|
+
},
|
|
92
|
+
"b": {
|
|
93
|
+
"type": "number",
|
|
94
|
+
"description": "Blue value between 0 and 1"
|
|
95
|
+
},
|
|
96
|
+
"a": {
|
|
97
|
+
"type": "number",
|
|
98
|
+
"description": "Alpha value between 0 and 1"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"colors": {
|
|
103
|
+
"type": "array",
|
|
104
|
+
"items": {
|
|
105
|
+
"title": "foxglove.Color",
|
|
106
|
+
"description": "A color in RGBA format",
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"r": {
|
|
110
|
+
"type": "number",
|
|
111
|
+
"description": "Red value between 0 and 1"
|
|
112
|
+
},
|
|
113
|
+
"g": {
|
|
114
|
+
"type": "number",
|
|
115
|
+
"description": "Green value between 0 and 1"
|
|
116
|
+
},
|
|
117
|
+
"b": {
|
|
118
|
+
"type": "number",
|
|
119
|
+
"description": "Blue value between 0 and 1"
|
|
120
|
+
},
|
|
121
|
+
"a": {
|
|
122
|
+
"type": "number",
|
|
123
|
+
"description": "Alpha value between 0 and 1"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"description": "Per-vertex colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided."
|
|
128
|
+
},
|
|
129
|
+
"indices": {
|
|
130
|
+
"type": "array",
|
|
131
|
+
"items": {
|
|
132
|
+
"type": "integer",
|
|
133
|
+
"minimum": 0
|
|
134
|
+
},
|
|
135
|
+
"description": "Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.\n\nIf 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)."
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Color.proto";
|
|
6
|
+
import "foxglove/Pose.proto";
|
|
7
|
+
|
|
8
|
+
package foxglove;
|
|
9
|
+
|
|
10
|
+
// (Experimental, subject to change) A primitive representing an arrow
|
|
11
|
+
message ArrowPrimitive {
|
|
12
|
+
// Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.
|
|
13
|
+
foxglove.Pose pose = 1;
|
|
14
|
+
|
|
15
|
+
// Length of the arrow shaft
|
|
16
|
+
double shaft_length = 2;
|
|
17
|
+
|
|
18
|
+
// Diameter of the arrow shaft
|
|
19
|
+
double shaft_diameter = 3;
|
|
20
|
+
|
|
21
|
+
// Length of the arrow head
|
|
22
|
+
double head_length = 4;
|
|
23
|
+
|
|
24
|
+
// Diameter of the arrow head
|
|
25
|
+
double head_diameter = 5;
|
|
26
|
+
|
|
27
|
+
// Color of the arrow
|
|
28
|
+
foxglove.Color color = 6;
|
|
29
|
+
}
|
|
@@ -11,6 +11,9 @@ message CameraCalibration {
|
|
|
11
11
|
// Timestamp of calibration data
|
|
12
12
|
google.protobuf.Timestamp timestamp = 1;
|
|
13
13
|
|
|
14
|
+
// 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.
|
|
15
|
+
string frame_id = 9;
|
|
16
|
+
|
|
14
17
|
// Image width
|
|
15
18
|
fixed32 width = 2;
|
|
16
19
|
|
|
@@ -11,6 +11,9 @@ message CompressedImage {
|
|
|
11
11
|
// Timestamp of image
|
|
12
12
|
google.protobuf.Timestamp timestamp = 1;
|
|
13
13
|
|
|
14
|
+
// 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.
|
|
15
|
+
string frame_id = 4;
|
|
16
|
+
|
|
14
17
|
// Compressed image data
|
|
15
18
|
bytes data = 2;
|
|
16
19
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Color.proto";
|
|
6
|
+
import "foxglove/Pose.proto";
|
|
7
|
+
import "foxglove/Vector3.proto";
|
|
8
|
+
|
|
9
|
+
package foxglove;
|
|
10
|
+
|
|
11
|
+
// (Experimental, subject to change) A primitive representing a cube or rectangular prism
|
|
12
|
+
message CubePrimitive {
|
|
13
|
+
// Position of the center of the cube and orientation of the cube
|
|
14
|
+
foxglove.Pose pose = 1;
|
|
15
|
+
|
|
16
|
+
// Size of the cube along each axis
|
|
17
|
+
foxglove.Vector3 size = 2;
|
|
18
|
+
|
|
19
|
+
// Color of the arrow
|
|
20
|
+
foxglove.Color color = 3;
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Color.proto";
|
|
6
|
+
import "foxglove/Pose.proto";
|
|
7
|
+
import "foxglove/Vector3.proto";
|
|
8
|
+
|
|
9
|
+
package foxglove;
|
|
10
|
+
|
|
11
|
+
// (Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone
|
|
12
|
+
message CylinderPrimitive {
|
|
13
|
+
// Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis.
|
|
14
|
+
foxglove.Pose pose = 1;
|
|
15
|
+
|
|
16
|
+
// Size of the cylinder's bounding box
|
|
17
|
+
foxglove.Vector3 size = 2;
|
|
18
|
+
|
|
19
|
+
// 0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box
|
|
20
|
+
double bottom_scale = 3;
|
|
21
|
+
|
|
22
|
+
// 0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box
|
|
23
|
+
double top_scale = 4;
|
|
24
|
+
|
|
25
|
+
// Color of the cylinder
|
|
26
|
+
foxglove.Color color = 5;
|
|
27
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
package foxglove;
|
|
6
|
+
|
|
7
|
+
// (Experimental, subject to change) A key with its associated value
|
|
8
|
+
message KeyValuePair {
|
|
9
|
+
// Key
|
|
10
|
+
string key = 1;
|
|
11
|
+
|
|
12
|
+
// Value
|
|
13
|
+
string value = 2;
|
|
14
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Color.proto";
|
|
6
|
+
import "foxglove/Point3.proto";
|
|
7
|
+
import "foxglove/Pose.proto";
|
|
8
|
+
|
|
9
|
+
package foxglove;
|
|
10
|
+
|
|
11
|
+
// (Experimental, subject to change) A primitive representing a series of points connected by lines
|
|
12
|
+
message LinePrimitive {
|
|
13
|
+
// (Experimental, subject to change) An enumeration indicating how input points should be interpreted to create lines
|
|
14
|
+
enum Type {
|
|
15
|
+
// 0-1, 1-2, ..., (n-1)-n
|
|
16
|
+
LINE_STRIP = 0;
|
|
17
|
+
|
|
18
|
+
// 0-1, 1-2, ..., (n-1)-n, n-0
|
|
19
|
+
LINE_LOOP = 1;
|
|
20
|
+
|
|
21
|
+
// 0-1, 2-3, 4-5, ...
|
|
22
|
+
LINE_LIST = 2;
|
|
23
|
+
}
|
|
24
|
+
// Drawing primitive to use for lines
|
|
25
|
+
Type type = 1;
|
|
26
|
+
|
|
27
|
+
// Origin of lines relative to reference frame
|
|
28
|
+
foxglove.Pose pose = 2;
|
|
29
|
+
|
|
30
|
+
// Line thickness
|
|
31
|
+
double thickness = 3;
|
|
32
|
+
|
|
33
|
+
// Indicates whether `thickness` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)
|
|
34
|
+
bool scale_invariant = 4;
|
|
35
|
+
|
|
36
|
+
// Points along the line
|
|
37
|
+
repeated foxglove.Point3 points = 5;
|
|
38
|
+
|
|
39
|
+
// Solid color to use for the whole line. One of `color` or `colors` must be provided.
|
|
40
|
+
foxglove.Color color = 6;
|
|
41
|
+
|
|
42
|
+
// Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
|
|
43
|
+
repeated foxglove.Color colors = 7;
|
|
44
|
+
|
|
45
|
+
// Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
46
|
+
//
|
|
47
|
+
// 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).
|
|
48
|
+
repeated fixed32 indices = 8;
|
|
49
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Color.proto";
|
|
6
|
+
import "foxglove/Pose.proto";
|
|
7
|
+
import "foxglove/Vector3.proto";
|
|
8
|
+
|
|
9
|
+
package foxglove;
|
|
10
|
+
|
|
11
|
+
// (Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data
|
|
12
|
+
message ModelPrimitive {
|
|
13
|
+
// Origin of model relative to reference frame
|
|
14
|
+
foxglove.Pose pose = 1;
|
|
15
|
+
|
|
16
|
+
// Scale factor to apply to the model along each axis
|
|
17
|
+
foxglove.Vector3 scale = 2;
|
|
18
|
+
|
|
19
|
+
// Solid color to use for the whole model if `override_color` is true.
|
|
20
|
+
foxglove.Color color = 3;
|
|
21
|
+
|
|
22
|
+
// Whether to use the color specified in `color` instead of any materials embedded in the original model.
|
|
23
|
+
bool override_color = 4;
|
|
24
|
+
|
|
25
|
+
// URL pointing to model file. One of `url` or `data` should be provided.
|
|
26
|
+
string url = 5;
|
|
27
|
+
|
|
28
|
+
// [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.
|
|
29
|
+
string media_type = 6;
|
|
30
|
+
|
|
31
|
+
// 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.
|
|
32
|
+
bytes data = 7;
|
|
33
|
+
}
|
|
@@ -31,9 +31,15 @@ message PointsAnnotation {
|
|
|
31
31
|
// Points in 2D image coordinates
|
|
32
32
|
repeated foxglove.Point2 points = 3;
|
|
33
33
|
|
|
34
|
-
// Outline
|
|
35
|
-
|
|
34
|
+
// Outline color
|
|
35
|
+
foxglove.Color outline_color = 4;
|
|
36
|
+
|
|
37
|
+
// Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`.
|
|
38
|
+
repeated foxglove.Color outline_colors = 5;
|
|
36
39
|
|
|
37
40
|
// Fill color
|
|
38
|
-
foxglove.Color fill_color =
|
|
41
|
+
foxglove.Color fill_color = 6;
|
|
42
|
+
|
|
43
|
+
// Stroke thickness
|
|
44
|
+
double thickness = 7;
|
|
39
45
|
}
|
|
@@ -11,6 +11,9 @@ message RawImage {
|
|
|
11
11
|
// Timestamp of image
|
|
12
12
|
google.protobuf.Timestamp timestamp = 1;
|
|
13
13
|
|
|
14
|
+
// 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.
|
|
15
|
+
string frame_id = 7;
|
|
16
|
+
|
|
14
17
|
// Image width
|
|
15
18
|
fixed32 width = 2;
|
|
16
19
|
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/ArrowPrimitive.proto";
|
|
6
|
+
import "foxglove/CubePrimitive.proto";
|
|
7
|
+
import "foxglove/CylinderPrimitive.proto";
|
|
8
|
+
import "foxglove/KeyValuePair.proto";
|
|
9
|
+
import "foxglove/LinePrimitive.proto";
|
|
10
|
+
import "foxglove/ModelPrimitive.proto";
|
|
11
|
+
import "foxglove/SpherePrimitive.proto";
|
|
12
|
+
import "foxglove/TextPrimitive.proto";
|
|
13
|
+
import "foxglove/TriangleListPrimitive.proto";
|
|
14
|
+
import "google/protobuf/duration.proto";
|
|
15
|
+
import "google/protobuf/timestamp.proto";
|
|
16
|
+
|
|
17
|
+
package foxglove;
|
|
18
|
+
|
|
19
|
+
// (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.
|
|
20
|
+
message SceneEntity {
|
|
21
|
+
// Timestamp of the entity
|
|
22
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
23
|
+
|
|
24
|
+
// Frame of reference
|
|
25
|
+
string frame_id = 2;
|
|
26
|
+
|
|
27
|
+
// Identifier for the entity. A entity will replace any prior entity on the same topic with the same `id`.
|
|
28
|
+
string id = 3;
|
|
29
|
+
|
|
30
|
+
// 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.
|
|
31
|
+
google.protobuf.Duration lifetime = 4;
|
|
32
|
+
|
|
33
|
+
// 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)
|
|
34
|
+
bool frame_locked = 5;
|
|
35
|
+
|
|
36
|
+
// Additional user-provided metadata associated with the entity. Keys must be unique.
|
|
37
|
+
repeated foxglove.KeyValuePair metadata = 6;
|
|
38
|
+
|
|
39
|
+
// Arrow primitives
|
|
40
|
+
repeated foxglove.ArrowPrimitive arrows = 7;
|
|
41
|
+
|
|
42
|
+
// Cube primitives
|
|
43
|
+
repeated foxglove.CubePrimitive cubes = 8;
|
|
44
|
+
|
|
45
|
+
// Sphere primitives
|
|
46
|
+
repeated foxglove.SpherePrimitive spheres = 9;
|
|
47
|
+
|
|
48
|
+
// Cylinder primitives
|
|
49
|
+
repeated foxglove.CylinderPrimitive cylinders = 10;
|
|
50
|
+
|
|
51
|
+
// Line primitives
|
|
52
|
+
repeated foxglove.LinePrimitive lines = 11;
|
|
53
|
+
|
|
54
|
+
// Triangle list primitives
|
|
55
|
+
repeated foxglove.TriangleListPrimitive triangles = 12;
|
|
56
|
+
|
|
57
|
+
// Text primitives
|
|
58
|
+
repeated foxglove.TextPrimitive texts = 13;
|
|
59
|
+
|
|
60
|
+
// Model primitives
|
|
61
|
+
repeated foxglove.ModelPrimitive models = 14;
|
|
62
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/timestamp.proto";
|
|
6
|
+
|
|
7
|
+
package foxglove;
|
|
8
|
+
|
|
9
|
+
// (Experimental, subject to change) Command to remove previously published entities
|
|
10
|
+
message SceneEntityDeletion {
|
|
11
|
+
// (Experimental, subject to change) An enumeration indicating which entities should match a SceneEntityDeletion command
|
|
12
|
+
enum Type {
|
|
13
|
+
// Delete the existing entity on the same topic that has the provided `id`
|
|
14
|
+
MATCHING_ID = 0;
|
|
15
|
+
|
|
16
|
+
// Delete all existing entities on the same topic
|
|
17
|
+
ALL = 1;
|
|
18
|
+
}
|
|
19
|
+
// Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted.
|
|
20
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
21
|
+
|
|
22
|
+
// Type of deletion action to perform
|
|
23
|
+
Type type = 2;
|
|
24
|
+
|
|
25
|
+
// Identifier which must match if `type` is `MATCHING_ID`.
|
|
26
|
+
string id = 3;
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/SceneEntity.proto";
|
|
6
|
+
import "foxglove/SceneEntityDeletion.proto";
|
|
7
|
+
|
|
8
|
+
package foxglove;
|
|
9
|
+
|
|
10
|
+
// (Experimental, subject to change) An update to the entities displayed in a 3D scene
|
|
11
|
+
message SceneUpdate {
|
|
12
|
+
// Scene entities to delete
|
|
13
|
+
repeated foxglove.SceneEntityDeletion deletions = 1;
|
|
14
|
+
|
|
15
|
+
// Scene entities to add or replace
|
|
16
|
+
repeated foxglove.SceneEntity entities = 2;
|
|
17
|
+
}
|