@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,1070 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "foxglove.SceneUpdate",
|
|
3
|
+
"description": "(Experimental, subject to change) An update to the entities displayed in a 3D scene",
|
|
4
|
+
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"deletions": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"title": "foxglove.SceneEntityDeletion",
|
|
11
|
+
"description": "(Experimental, subject to change) Command to remove previously published entities",
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"timestamp": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"title": "time",
|
|
17
|
+
"properties": {
|
|
18
|
+
"sec": {
|
|
19
|
+
"type": "integer",
|
|
20
|
+
"minimum": 0
|
|
21
|
+
},
|
|
22
|
+
"nsec": {
|
|
23
|
+
"type": "integer",
|
|
24
|
+
"minimum": 0,
|
|
25
|
+
"maximum": 999999999
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"description": "Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted."
|
|
29
|
+
},
|
|
30
|
+
"type": {
|
|
31
|
+
"title": "foxglove.SceneEntityDeletionType",
|
|
32
|
+
"description": "Type of deletion action to perform",
|
|
33
|
+
"oneOf": [
|
|
34
|
+
{
|
|
35
|
+
"title": "MATCHING_ID",
|
|
36
|
+
"const": 0,
|
|
37
|
+
"description": "Delete the existing entity on the same topic that has the provided `id`"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"title": "ALL",
|
|
41
|
+
"const": 1,
|
|
42
|
+
"description": "Delete all existing entities on the same topic"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"id": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Identifier which must match if `type` is `MATCHING_ID`."
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"description": "Scene entities to delete"
|
|
53
|
+
},
|
|
54
|
+
"entities": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"title": "foxglove.SceneEntity",
|
|
58
|
+
"description": "(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.",
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"timestamp": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"title": "time",
|
|
64
|
+
"properties": {
|
|
65
|
+
"sec": {
|
|
66
|
+
"type": "integer",
|
|
67
|
+
"minimum": 0
|
|
68
|
+
},
|
|
69
|
+
"nsec": {
|
|
70
|
+
"type": "integer",
|
|
71
|
+
"minimum": 0,
|
|
72
|
+
"maximum": 999999999
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"description": "Timestamp of the entity"
|
|
76
|
+
},
|
|
77
|
+
"frame_id": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "Frame of reference"
|
|
80
|
+
},
|
|
81
|
+
"id": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"description": "Identifier for the entity. A entity will replace any prior entity on the same topic with the same `id`."
|
|
84
|
+
},
|
|
85
|
+
"lifetime": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"title": "duration",
|
|
88
|
+
"properties": {
|
|
89
|
+
"sec": {
|
|
90
|
+
"type": "integer"
|
|
91
|
+
},
|
|
92
|
+
"nsec": {
|
|
93
|
+
"type": "integer",
|
|
94
|
+
"minimum": 0,
|
|
95
|
+
"maximum": 999999999
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"description": "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."
|
|
99
|
+
},
|
|
100
|
+
"frame_locked": {
|
|
101
|
+
"type": "boolean",
|
|
102
|
+
"description": "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)"
|
|
103
|
+
},
|
|
104
|
+
"metadata": {
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": {
|
|
107
|
+
"title": "foxglove.KeyValuePair",
|
|
108
|
+
"description": "(Experimental, subject to change) A key with its associated value",
|
|
109
|
+
"type": "object",
|
|
110
|
+
"properties": {
|
|
111
|
+
"key": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"description": "Key"
|
|
114
|
+
},
|
|
115
|
+
"value": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"description": "Value"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"description": "Additional user-provided metadata associated with the entity. Keys must be unique."
|
|
122
|
+
},
|
|
123
|
+
"arrows": {
|
|
124
|
+
"type": "array",
|
|
125
|
+
"items": {
|
|
126
|
+
"title": "foxglove.ArrowPrimitive",
|
|
127
|
+
"description": "(Experimental, subject to change) A primitive representing an arrow",
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"pose": {
|
|
131
|
+
"title": "foxglove.Pose",
|
|
132
|
+
"description": "Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.",
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"position": {
|
|
136
|
+
"title": "foxglove.Vector3",
|
|
137
|
+
"description": "Point denoting position in 3D space",
|
|
138
|
+
"type": "object",
|
|
139
|
+
"properties": {
|
|
140
|
+
"x": {
|
|
141
|
+
"type": "number",
|
|
142
|
+
"description": "x coordinate length"
|
|
143
|
+
},
|
|
144
|
+
"y": {
|
|
145
|
+
"type": "number",
|
|
146
|
+
"description": "y coordinate length"
|
|
147
|
+
},
|
|
148
|
+
"z": {
|
|
149
|
+
"type": "number",
|
|
150
|
+
"description": "z coordinate length"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"orientation": {
|
|
155
|
+
"title": "foxglove.Quaternion",
|
|
156
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
157
|
+
"type": "object",
|
|
158
|
+
"properties": {
|
|
159
|
+
"x": {
|
|
160
|
+
"type": "number",
|
|
161
|
+
"description": "x value"
|
|
162
|
+
},
|
|
163
|
+
"y": {
|
|
164
|
+
"type": "number",
|
|
165
|
+
"description": "y value"
|
|
166
|
+
},
|
|
167
|
+
"z": {
|
|
168
|
+
"type": "number",
|
|
169
|
+
"description": "z value"
|
|
170
|
+
},
|
|
171
|
+
"w": {
|
|
172
|
+
"type": "number",
|
|
173
|
+
"description": "w value"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"shaft_length": {
|
|
180
|
+
"type": "number",
|
|
181
|
+
"description": "Length of the arrow shaft"
|
|
182
|
+
},
|
|
183
|
+
"shaft_diameter": {
|
|
184
|
+
"type": "number",
|
|
185
|
+
"description": "Diameter of the arrow shaft"
|
|
186
|
+
},
|
|
187
|
+
"head_length": {
|
|
188
|
+
"type": "number",
|
|
189
|
+
"description": "Length of the arrow head"
|
|
190
|
+
},
|
|
191
|
+
"head_diameter": {
|
|
192
|
+
"type": "number",
|
|
193
|
+
"description": "Diameter of the arrow head"
|
|
194
|
+
},
|
|
195
|
+
"color": {
|
|
196
|
+
"title": "foxglove.Color",
|
|
197
|
+
"description": "Color of the arrow",
|
|
198
|
+
"type": "object",
|
|
199
|
+
"properties": {
|
|
200
|
+
"r": {
|
|
201
|
+
"type": "number",
|
|
202
|
+
"description": "Red value between 0 and 1"
|
|
203
|
+
},
|
|
204
|
+
"g": {
|
|
205
|
+
"type": "number",
|
|
206
|
+
"description": "Green value between 0 and 1"
|
|
207
|
+
},
|
|
208
|
+
"b": {
|
|
209
|
+
"type": "number",
|
|
210
|
+
"description": "Blue value between 0 and 1"
|
|
211
|
+
},
|
|
212
|
+
"a": {
|
|
213
|
+
"type": "number",
|
|
214
|
+
"description": "Alpha value between 0 and 1"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"description": "Arrow primitives"
|
|
221
|
+
},
|
|
222
|
+
"cubes": {
|
|
223
|
+
"type": "array",
|
|
224
|
+
"items": {
|
|
225
|
+
"title": "foxglove.CubePrimitive",
|
|
226
|
+
"description": "(Experimental, subject to change) A primitive representing a cube or rectangular prism",
|
|
227
|
+
"type": "object",
|
|
228
|
+
"properties": {
|
|
229
|
+
"pose": {
|
|
230
|
+
"title": "foxglove.Pose",
|
|
231
|
+
"description": "Position of the center of the cube and orientation of the cube",
|
|
232
|
+
"type": "object",
|
|
233
|
+
"properties": {
|
|
234
|
+
"position": {
|
|
235
|
+
"title": "foxglove.Vector3",
|
|
236
|
+
"description": "Point denoting position in 3D space",
|
|
237
|
+
"type": "object",
|
|
238
|
+
"properties": {
|
|
239
|
+
"x": {
|
|
240
|
+
"type": "number",
|
|
241
|
+
"description": "x coordinate length"
|
|
242
|
+
},
|
|
243
|
+
"y": {
|
|
244
|
+
"type": "number",
|
|
245
|
+
"description": "y coordinate length"
|
|
246
|
+
},
|
|
247
|
+
"z": {
|
|
248
|
+
"type": "number",
|
|
249
|
+
"description": "z coordinate length"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"orientation": {
|
|
254
|
+
"title": "foxglove.Quaternion",
|
|
255
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
256
|
+
"type": "object",
|
|
257
|
+
"properties": {
|
|
258
|
+
"x": {
|
|
259
|
+
"type": "number",
|
|
260
|
+
"description": "x value"
|
|
261
|
+
},
|
|
262
|
+
"y": {
|
|
263
|
+
"type": "number",
|
|
264
|
+
"description": "y value"
|
|
265
|
+
},
|
|
266
|
+
"z": {
|
|
267
|
+
"type": "number",
|
|
268
|
+
"description": "z value"
|
|
269
|
+
},
|
|
270
|
+
"w": {
|
|
271
|
+
"type": "number",
|
|
272
|
+
"description": "w value"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"size": {
|
|
279
|
+
"title": "foxglove.Vector3",
|
|
280
|
+
"description": "Size of the cube along each axis",
|
|
281
|
+
"type": "object",
|
|
282
|
+
"properties": {
|
|
283
|
+
"x": {
|
|
284
|
+
"type": "number",
|
|
285
|
+
"description": "x coordinate length"
|
|
286
|
+
},
|
|
287
|
+
"y": {
|
|
288
|
+
"type": "number",
|
|
289
|
+
"description": "y coordinate length"
|
|
290
|
+
},
|
|
291
|
+
"z": {
|
|
292
|
+
"type": "number",
|
|
293
|
+
"description": "z coordinate length"
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"color": {
|
|
298
|
+
"title": "foxglove.Color",
|
|
299
|
+
"description": "Color of the arrow",
|
|
300
|
+
"type": "object",
|
|
301
|
+
"properties": {
|
|
302
|
+
"r": {
|
|
303
|
+
"type": "number",
|
|
304
|
+
"description": "Red value between 0 and 1"
|
|
305
|
+
},
|
|
306
|
+
"g": {
|
|
307
|
+
"type": "number",
|
|
308
|
+
"description": "Green value between 0 and 1"
|
|
309
|
+
},
|
|
310
|
+
"b": {
|
|
311
|
+
"type": "number",
|
|
312
|
+
"description": "Blue value between 0 and 1"
|
|
313
|
+
},
|
|
314
|
+
"a": {
|
|
315
|
+
"type": "number",
|
|
316
|
+
"description": "Alpha value between 0 and 1"
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"description": "Cube primitives"
|
|
323
|
+
},
|
|
324
|
+
"spheres": {
|
|
325
|
+
"type": "array",
|
|
326
|
+
"items": {
|
|
327
|
+
"title": "foxglove.SpherePrimitive",
|
|
328
|
+
"description": "(Experimental, subject to change) A primitive representing a sphere or ellipsoid",
|
|
329
|
+
"type": "object",
|
|
330
|
+
"properties": {
|
|
331
|
+
"pose": {
|
|
332
|
+
"title": "foxglove.Pose",
|
|
333
|
+
"description": "Position of the center of the sphere and orientation of the sphere",
|
|
334
|
+
"type": "object",
|
|
335
|
+
"properties": {
|
|
336
|
+
"position": {
|
|
337
|
+
"title": "foxglove.Vector3",
|
|
338
|
+
"description": "Point denoting position in 3D space",
|
|
339
|
+
"type": "object",
|
|
340
|
+
"properties": {
|
|
341
|
+
"x": {
|
|
342
|
+
"type": "number",
|
|
343
|
+
"description": "x coordinate length"
|
|
344
|
+
},
|
|
345
|
+
"y": {
|
|
346
|
+
"type": "number",
|
|
347
|
+
"description": "y coordinate length"
|
|
348
|
+
},
|
|
349
|
+
"z": {
|
|
350
|
+
"type": "number",
|
|
351
|
+
"description": "z coordinate length"
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"orientation": {
|
|
356
|
+
"title": "foxglove.Quaternion",
|
|
357
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
358
|
+
"type": "object",
|
|
359
|
+
"properties": {
|
|
360
|
+
"x": {
|
|
361
|
+
"type": "number",
|
|
362
|
+
"description": "x value"
|
|
363
|
+
},
|
|
364
|
+
"y": {
|
|
365
|
+
"type": "number",
|
|
366
|
+
"description": "y value"
|
|
367
|
+
},
|
|
368
|
+
"z": {
|
|
369
|
+
"type": "number",
|
|
370
|
+
"description": "z value"
|
|
371
|
+
},
|
|
372
|
+
"w": {
|
|
373
|
+
"type": "number",
|
|
374
|
+
"description": "w value"
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"size": {
|
|
381
|
+
"title": "foxglove.Vector3",
|
|
382
|
+
"description": "Size (diameter) of the sphere along each axis",
|
|
383
|
+
"type": "object",
|
|
384
|
+
"properties": {
|
|
385
|
+
"x": {
|
|
386
|
+
"type": "number",
|
|
387
|
+
"description": "x coordinate length"
|
|
388
|
+
},
|
|
389
|
+
"y": {
|
|
390
|
+
"type": "number",
|
|
391
|
+
"description": "y coordinate length"
|
|
392
|
+
},
|
|
393
|
+
"z": {
|
|
394
|
+
"type": "number",
|
|
395
|
+
"description": "z coordinate length"
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"color": {
|
|
400
|
+
"title": "foxglove.Color",
|
|
401
|
+
"description": "Color of the sphere",
|
|
402
|
+
"type": "object",
|
|
403
|
+
"properties": {
|
|
404
|
+
"r": {
|
|
405
|
+
"type": "number",
|
|
406
|
+
"description": "Red value between 0 and 1"
|
|
407
|
+
},
|
|
408
|
+
"g": {
|
|
409
|
+
"type": "number",
|
|
410
|
+
"description": "Green value between 0 and 1"
|
|
411
|
+
},
|
|
412
|
+
"b": {
|
|
413
|
+
"type": "number",
|
|
414
|
+
"description": "Blue value between 0 and 1"
|
|
415
|
+
},
|
|
416
|
+
"a": {
|
|
417
|
+
"type": "number",
|
|
418
|
+
"description": "Alpha value between 0 and 1"
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"description": "Sphere primitives"
|
|
425
|
+
},
|
|
426
|
+
"cylinders": {
|
|
427
|
+
"type": "array",
|
|
428
|
+
"items": {
|
|
429
|
+
"title": "foxglove.CylinderPrimitive",
|
|
430
|
+
"description": "(Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone",
|
|
431
|
+
"type": "object",
|
|
432
|
+
"properties": {
|
|
433
|
+
"pose": {
|
|
434
|
+
"title": "foxglove.Pose",
|
|
435
|
+
"description": "Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis.",
|
|
436
|
+
"type": "object",
|
|
437
|
+
"properties": {
|
|
438
|
+
"position": {
|
|
439
|
+
"title": "foxglove.Vector3",
|
|
440
|
+
"description": "Point denoting position in 3D space",
|
|
441
|
+
"type": "object",
|
|
442
|
+
"properties": {
|
|
443
|
+
"x": {
|
|
444
|
+
"type": "number",
|
|
445
|
+
"description": "x coordinate length"
|
|
446
|
+
},
|
|
447
|
+
"y": {
|
|
448
|
+
"type": "number",
|
|
449
|
+
"description": "y coordinate length"
|
|
450
|
+
},
|
|
451
|
+
"z": {
|
|
452
|
+
"type": "number",
|
|
453
|
+
"description": "z coordinate length"
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"orientation": {
|
|
458
|
+
"title": "foxglove.Quaternion",
|
|
459
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
460
|
+
"type": "object",
|
|
461
|
+
"properties": {
|
|
462
|
+
"x": {
|
|
463
|
+
"type": "number",
|
|
464
|
+
"description": "x value"
|
|
465
|
+
},
|
|
466
|
+
"y": {
|
|
467
|
+
"type": "number",
|
|
468
|
+
"description": "y value"
|
|
469
|
+
},
|
|
470
|
+
"z": {
|
|
471
|
+
"type": "number",
|
|
472
|
+
"description": "z value"
|
|
473
|
+
},
|
|
474
|
+
"w": {
|
|
475
|
+
"type": "number",
|
|
476
|
+
"description": "w value"
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"size": {
|
|
483
|
+
"title": "foxglove.Vector3",
|
|
484
|
+
"description": "Size of the cylinder's bounding box",
|
|
485
|
+
"type": "object",
|
|
486
|
+
"properties": {
|
|
487
|
+
"x": {
|
|
488
|
+
"type": "number",
|
|
489
|
+
"description": "x coordinate length"
|
|
490
|
+
},
|
|
491
|
+
"y": {
|
|
492
|
+
"type": "number",
|
|
493
|
+
"description": "y coordinate length"
|
|
494
|
+
},
|
|
495
|
+
"z": {
|
|
496
|
+
"type": "number",
|
|
497
|
+
"description": "z coordinate length"
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"bottom_scale": {
|
|
502
|
+
"type": "number",
|
|
503
|
+
"description": "0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box"
|
|
504
|
+
},
|
|
505
|
+
"top_scale": {
|
|
506
|
+
"type": "number",
|
|
507
|
+
"description": "0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box"
|
|
508
|
+
},
|
|
509
|
+
"color": {
|
|
510
|
+
"title": "foxglove.Color",
|
|
511
|
+
"description": "Color of the cylinder",
|
|
512
|
+
"type": "object",
|
|
513
|
+
"properties": {
|
|
514
|
+
"r": {
|
|
515
|
+
"type": "number",
|
|
516
|
+
"description": "Red value between 0 and 1"
|
|
517
|
+
},
|
|
518
|
+
"g": {
|
|
519
|
+
"type": "number",
|
|
520
|
+
"description": "Green value between 0 and 1"
|
|
521
|
+
},
|
|
522
|
+
"b": {
|
|
523
|
+
"type": "number",
|
|
524
|
+
"description": "Blue value between 0 and 1"
|
|
525
|
+
},
|
|
526
|
+
"a": {
|
|
527
|
+
"type": "number",
|
|
528
|
+
"description": "Alpha value between 0 and 1"
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"description": "Cylinder primitives"
|
|
535
|
+
},
|
|
536
|
+
"lines": {
|
|
537
|
+
"type": "array",
|
|
538
|
+
"items": {
|
|
539
|
+
"title": "foxglove.LinePrimitive",
|
|
540
|
+
"description": "(Experimental, subject to change) A primitive representing a series of points connected by lines",
|
|
541
|
+
"type": "object",
|
|
542
|
+
"properties": {
|
|
543
|
+
"type": {
|
|
544
|
+
"title": "foxglove.LineType",
|
|
545
|
+
"description": "Drawing primitive to use for lines",
|
|
546
|
+
"oneOf": [
|
|
547
|
+
{
|
|
548
|
+
"title": "LINE_STRIP",
|
|
549
|
+
"const": 0,
|
|
550
|
+
"description": "0-1, 1-2, ..., (n-1)-n"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"title": "LINE_LOOP",
|
|
554
|
+
"const": 1,
|
|
555
|
+
"description": "0-1, 1-2, ..., (n-1)-n, n-0"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"title": "LINE_LIST",
|
|
559
|
+
"const": 2,
|
|
560
|
+
"description": "0-1, 2-3, 4-5, ..."
|
|
561
|
+
}
|
|
562
|
+
]
|
|
563
|
+
},
|
|
564
|
+
"pose": {
|
|
565
|
+
"title": "foxglove.Pose",
|
|
566
|
+
"description": "Origin of lines relative to reference frame",
|
|
567
|
+
"type": "object",
|
|
568
|
+
"properties": {
|
|
569
|
+
"position": {
|
|
570
|
+
"title": "foxglove.Vector3",
|
|
571
|
+
"description": "Point denoting position in 3D space",
|
|
572
|
+
"type": "object",
|
|
573
|
+
"properties": {
|
|
574
|
+
"x": {
|
|
575
|
+
"type": "number",
|
|
576
|
+
"description": "x coordinate length"
|
|
577
|
+
},
|
|
578
|
+
"y": {
|
|
579
|
+
"type": "number",
|
|
580
|
+
"description": "y coordinate length"
|
|
581
|
+
},
|
|
582
|
+
"z": {
|
|
583
|
+
"type": "number",
|
|
584
|
+
"description": "z coordinate length"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
"orientation": {
|
|
589
|
+
"title": "foxglove.Quaternion",
|
|
590
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
591
|
+
"type": "object",
|
|
592
|
+
"properties": {
|
|
593
|
+
"x": {
|
|
594
|
+
"type": "number",
|
|
595
|
+
"description": "x value"
|
|
596
|
+
},
|
|
597
|
+
"y": {
|
|
598
|
+
"type": "number",
|
|
599
|
+
"description": "y value"
|
|
600
|
+
},
|
|
601
|
+
"z": {
|
|
602
|
+
"type": "number",
|
|
603
|
+
"description": "z value"
|
|
604
|
+
},
|
|
605
|
+
"w": {
|
|
606
|
+
"type": "number",
|
|
607
|
+
"description": "w value"
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"thickness": {
|
|
614
|
+
"type": "number",
|
|
615
|
+
"description": "Line thickness"
|
|
616
|
+
},
|
|
617
|
+
"scale_invariant": {
|
|
618
|
+
"type": "boolean",
|
|
619
|
+
"description": "Indicates whether `thickness` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)"
|
|
620
|
+
},
|
|
621
|
+
"points": {
|
|
622
|
+
"type": "array",
|
|
623
|
+
"items": {
|
|
624
|
+
"title": "foxglove.Point3",
|
|
625
|
+
"description": "A point representing a position in 3D space",
|
|
626
|
+
"type": "object",
|
|
627
|
+
"properties": {
|
|
628
|
+
"x": {
|
|
629
|
+
"type": "number",
|
|
630
|
+
"description": "x coordinate position"
|
|
631
|
+
},
|
|
632
|
+
"y": {
|
|
633
|
+
"type": "number",
|
|
634
|
+
"description": "y coordinate position"
|
|
635
|
+
},
|
|
636
|
+
"z": {
|
|
637
|
+
"type": "number",
|
|
638
|
+
"description": "z coordinate position"
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"description": "Points along the line"
|
|
643
|
+
},
|
|
644
|
+
"color": {
|
|
645
|
+
"title": "foxglove.Color",
|
|
646
|
+
"description": "Solid color to use for the whole line. One of `color` or `colors` must be provided.",
|
|
647
|
+
"type": "object",
|
|
648
|
+
"properties": {
|
|
649
|
+
"r": {
|
|
650
|
+
"type": "number",
|
|
651
|
+
"description": "Red value between 0 and 1"
|
|
652
|
+
},
|
|
653
|
+
"g": {
|
|
654
|
+
"type": "number",
|
|
655
|
+
"description": "Green value between 0 and 1"
|
|
656
|
+
},
|
|
657
|
+
"b": {
|
|
658
|
+
"type": "number",
|
|
659
|
+
"description": "Blue value between 0 and 1"
|
|
660
|
+
},
|
|
661
|
+
"a": {
|
|
662
|
+
"type": "number",
|
|
663
|
+
"description": "Alpha value between 0 and 1"
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
"colors": {
|
|
668
|
+
"type": "array",
|
|
669
|
+
"items": {
|
|
670
|
+
"title": "foxglove.Color",
|
|
671
|
+
"description": "A color in RGBA format",
|
|
672
|
+
"type": "object",
|
|
673
|
+
"properties": {
|
|
674
|
+
"r": {
|
|
675
|
+
"type": "number",
|
|
676
|
+
"description": "Red value between 0 and 1"
|
|
677
|
+
},
|
|
678
|
+
"g": {
|
|
679
|
+
"type": "number",
|
|
680
|
+
"description": "Green value between 0 and 1"
|
|
681
|
+
},
|
|
682
|
+
"b": {
|
|
683
|
+
"type": "number",
|
|
684
|
+
"description": "Blue value between 0 and 1"
|
|
685
|
+
},
|
|
686
|
+
"a": {
|
|
687
|
+
"type": "number",
|
|
688
|
+
"description": "Alpha value between 0 and 1"
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"description": "Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided."
|
|
693
|
+
},
|
|
694
|
+
"indices": {
|
|
695
|
+
"type": "array",
|
|
696
|
+
"items": {
|
|
697
|
+
"type": "integer",
|
|
698
|
+
"minimum": 0
|
|
699
|
+
},
|
|
700
|
+
"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)."
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
"description": "Line primitives"
|
|
705
|
+
},
|
|
706
|
+
"triangles": {
|
|
707
|
+
"type": "array",
|
|
708
|
+
"items": {
|
|
709
|
+
"title": "foxglove.TriangleListPrimitive",
|
|
710
|
+
"description": "(Experimental, subject to change) A primitive representing a set of triangles or a surface tiled by triangles",
|
|
711
|
+
"type": "object",
|
|
712
|
+
"properties": {
|
|
713
|
+
"pose": {
|
|
714
|
+
"title": "foxglove.Pose",
|
|
715
|
+
"description": "Origin of triangles relative to reference frame",
|
|
716
|
+
"type": "object",
|
|
717
|
+
"properties": {
|
|
718
|
+
"position": {
|
|
719
|
+
"title": "foxglove.Vector3",
|
|
720
|
+
"description": "Point denoting position in 3D space",
|
|
721
|
+
"type": "object",
|
|
722
|
+
"properties": {
|
|
723
|
+
"x": {
|
|
724
|
+
"type": "number",
|
|
725
|
+
"description": "x coordinate length"
|
|
726
|
+
},
|
|
727
|
+
"y": {
|
|
728
|
+
"type": "number",
|
|
729
|
+
"description": "y coordinate length"
|
|
730
|
+
},
|
|
731
|
+
"z": {
|
|
732
|
+
"type": "number",
|
|
733
|
+
"description": "z coordinate length"
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
"orientation": {
|
|
738
|
+
"title": "foxglove.Quaternion",
|
|
739
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
740
|
+
"type": "object",
|
|
741
|
+
"properties": {
|
|
742
|
+
"x": {
|
|
743
|
+
"type": "number",
|
|
744
|
+
"description": "x value"
|
|
745
|
+
},
|
|
746
|
+
"y": {
|
|
747
|
+
"type": "number",
|
|
748
|
+
"description": "y value"
|
|
749
|
+
},
|
|
750
|
+
"z": {
|
|
751
|
+
"type": "number",
|
|
752
|
+
"description": "z value"
|
|
753
|
+
},
|
|
754
|
+
"w": {
|
|
755
|
+
"type": "number",
|
|
756
|
+
"description": "w value"
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"points": {
|
|
763
|
+
"type": "array",
|
|
764
|
+
"items": {
|
|
765
|
+
"title": "foxglove.Point3",
|
|
766
|
+
"description": "A point representing a position in 3D space",
|
|
767
|
+
"type": "object",
|
|
768
|
+
"properties": {
|
|
769
|
+
"x": {
|
|
770
|
+
"type": "number",
|
|
771
|
+
"description": "x coordinate position"
|
|
772
|
+
},
|
|
773
|
+
"y": {
|
|
774
|
+
"type": "number",
|
|
775
|
+
"description": "y coordinate position"
|
|
776
|
+
},
|
|
777
|
+
"z": {
|
|
778
|
+
"type": "number",
|
|
779
|
+
"description": "z coordinate position"
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"description": "Vertices to use for triangles, interpreted as a list of triples (0-1-2, 3-4-5, ...)"
|
|
784
|
+
},
|
|
785
|
+
"color": {
|
|
786
|
+
"title": "foxglove.Color",
|
|
787
|
+
"description": "Solid color to use for the whole shape. One of `color` or `colors` must be provided.",
|
|
788
|
+
"type": "object",
|
|
789
|
+
"properties": {
|
|
790
|
+
"r": {
|
|
791
|
+
"type": "number",
|
|
792
|
+
"description": "Red value between 0 and 1"
|
|
793
|
+
},
|
|
794
|
+
"g": {
|
|
795
|
+
"type": "number",
|
|
796
|
+
"description": "Green value between 0 and 1"
|
|
797
|
+
},
|
|
798
|
+
"b": {
|
|
799
|
+
"type": "number",
|
|
800
|
+
"description": "Blue value between 0 and 1"
|
|
801
|
+
},
|
|
802
|
+
"a": {
|
|
803
|
+
"type": "number",
|
|
804
|
+
"description": "Alpha value between 0 and 1"
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"colors": {
|
|
809
|
+
"type": "array",
|
|
810
|
+
"items": {
|
|
811
|
+
"title": "foxglove.Color",
|
|
812
|
+
"description": "A color in RGBA format",
|
|
813
|
+
"type": "object",
|
|
814
|
+
"properties": {
|
|
815
|
+
"r": {
|
|
816
|
+
"type": "number",
|
|
817
|
+
"description": "Red value between 0 and 1"
|
|
818
|
+
},
|
|
819
|
+
"g": {
|
|
820
|
+
"type": "number",
|
|
821
|
+
"description": "Green value between 0 and 1"
|
|
822
|
+
},
|
|
823
|
+
"b": {
|
|
824
|
+
"type": "number",
|
|
825
|
+
"description": "Blue value between 0 and 1"
|
|
826
|
+
},
|
|
827
|
+
"a": {
|
|
828
|
+
"type": "number",
|
|
829
|
+
"description": "Alpha value between 0 and 1"
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
"description": "Per-vertex colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided."
|
|
834
|
+
},
|
|
835
|
+
"indices": {
|
|
836
|
+
"type": "array",
|
|
837
|
+
"items": {
|
|
838
|
+
"type": "integer",
|
|
839
|
+
"minimum": 0
|
|
840
|
+
},
|
|
841
|
+
"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)."
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
"description": "Triangle list primitives"
|
|
846
|
+
},
|
|
847
|
+
"texts": {
|
|
848
|
+
"type": "array",
|
|
849
|
+
"items": {
|
|
850
|
+
"title": "foxglove.TextPrimitive",
|
|
851
|
+
"description": "(Experimental, subject to change) A primitive representing a text label",
|
|
852
|
+
"type": "object",
|
|
853
|
+
"properties": {
|
|
854
|
+
"pose": {
|
|
855
|
+
"title": "foxglove.Pose",
|
|
856
|
+
"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.",
|
|
857
|
+
"type": "object",
|
|
858
|
+
"properties": {
|
|
859
|
+
"position": {
|
|
860
|
+
"title": "foxglove.Vector3",
|
|
861
|
+
"description": "Point denoting position in 3D space",
|
|
862
|
+
"type": "object",
|
|
863
|
+
"properties": {
|
|
864
|
+
"x": {
|
|
865
|
+
"type": "number",
|
|
866
|
+
"description": "x coordinate length"
|
|
867
|
+
},
|
|
868
|
+
"y": {
|
|
869
|
+
"type": "number",
|
|
870
|
+
"description": "y coordinate length"
|
|
871
|
+
},
|
|
872
|
+
"z": {
|
|
873
|
+
"type": "number",
|
|
874
|
+
"description": "z coordinate length"
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"orientation": {
|
|
879
|
+
"title": "foxglove.Quaternion",
|
|
880
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
881
|
+
"type": "object",
|
|
882
|
+
"properties": {
|
|
883
|
+
"x": {
|
|
884
|
+
"type": "number",
|
|
885
|
+
"description": "x value"
|
|
886
|
+
},
|
|
887
|
+
"y": {
|
|
888
|
+
"type": "number",
|
|
889
|
+
"description": "y value"
|
|
890
|
+
},
|
|
891
|
+
"z": {
|
|
892
|
+
"type": "number",
|
|
893
|
+
"description": "z value"
|
|
894
|
+
},
|
|
895
|
+
"w": {
|
|
896
|
+
"type": "number",
|
|
897
|
+
"description": "w value"
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
},
|
|
903
|
+
"billboard": {
|
|
904
|
+
"type": "boolean",
|
|
905
|
+
"description": "Whether the text should respect `pose.orientation` (false) or always face the camera (true)"
|
|
906
|
+
},
|
|
907
|
+
"font_size": {
|
|
908
|
+
"type": "number",
|
|
909
|
+
"description": "Font size (height of one line of text)"
|
|
910
|
+
},
|
|
911
|
+
"scale_invariant": {
|
|
912
|
+
"type": "boolean",
|
|
913
|
+
"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)"
|
|
914
|
+
},
|
|
915
|
+
"color": {
|
|
916
|
+
"title": "foxglove.Color",
|
|
917
|
+
"description": "Color of the text",
|
|
918
|
+
"type": "object",
|
|
919
|
+
"properties": {
|
|
920
|
+
"r": {
|
|
921
|
+
"type": "number",
|
|
922
|
+
"description": "Red value between 0 and 1"
|
|
923
|
+
},
|
|
924
|
+
"g": {
|
|
925
|
+
"type": "number",
|
|
926
|
+
"description": "Green value between 0 and 1"
|
|
927
|
+
},
|
|
928
|
+
"b": {
|
|
929
|
+
"type": "number",
|
|
930
|
+
"description": "Blue value between 0 and 1"
|
|
931
|
+
},
|
|
932
|
+
"a": {
|
|
933
|
+
"type": "number",
|
|
934
|
+
"description": "Alpha value between 0 and 1"
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
},
|
|
938
|
+
"text": {
|
|
939
|
+
"type": "string",
|
|
940
|
+
"description": "Text"
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
"description": "Text primitives"
|
|
945
|
+
},
|
|
946
|
+
"models": {
|
|
947
|
+
"type": "array",
|
|
948
|
+
"items": {
|
|
949
|
+
"title": "foxglove.ModelPrimitive",
|
|
950
|
+
"description": "(Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data",
|
|
951
|
+
"type": "object",
|
|
952
|
+
"properties": {
|
|
953
|
+
"pose": {
|
|
954
|
+
"title": "foxglove.Pose",
|
|
955
|
+
"description": "Origin of model relative to reference frame",
|
|
956
|
+
"type": "object",
|
|
957
|
+
"properties": {
|
|
958
|
+
"position": {
|
|
959
|
+
"title": "foxglove.Vector3",
|
|
960
|
+
"description": "Point denoting position in 3D space",
|
|
961
|
+
"type": "object",
|
|
962
|
+
"properties": {
|
|
963
|
+
"x": {
|
|
964
|
+
"type": "number",
|
|
965
|
+
"description": "x coordinate length"
|
|
966
|
+
},
|
|
967
|
+
"y": {
|
|
968
|
+
"type": "number",
|
|
969
|
+
"description": "y coordinate length"
|
|
970
|
+
},
|
|
971
|
+
"z": {
|
|
972
|
+
"type": "number",
|
|
973
|
+
"description": "z coordinate length"
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"orientation": {
|
|
978
|
+
"title": "foxglove.Quaternion",
|
|
979
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
980
|
+
"type": "object",
|
|
981
|
+
"properties": {
|
|
982
|
+
"x": {
|
|
983
|
+
"type": "number",
|
|
984
|
+
"description": "x value"
|
|
985
|
+
},
|
|
986
|
+
"y": {
|
|
987
|
+
"type": "number",
|
|
988
|
+
"description": "y value"
|
|
989
|
+
},
|
|
990
|
+
"z": {
|
|
991
|
+
"type": "number",
|
|
992
|
+
"description": "z value"
|
|
993
|
+
},
|
|
994
|
+
"w": {
|
|
995
|
+
"type": "number",
|
|
996
|
+
"description": "w value"
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
"scale": {
|
|
1003
|
+
"title": "foxglove.Vector3",
|
|
1004
|
+
"description": "Scale factor to apply to the model along each axis",
|
|
1005
|
+
"type": "object",
|
|
1006
|
+
"properties": {
|
|
1007
|
+
"x": {
|
|
1008
|
+
"type": "number",
|
|
1009
|
+
"description": "x coordinate length"
|
|
1010
|
+
},
|
|
1011
|
+
"y": {
|
|
1012
|
+
"type": "number",
|
|
1013
|
+
"description": "y coordinate length"
|
|
1014
|
+
},
|
|
1015
|
+
"z": {
|
|
1016
|
+
"type": "number",
|
|
1017
|
+
"description": "z coordinate length"
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
},
|
|
1021
|
+
"color": {
|
|
1022
|
+
"title": "foxglove.Color",
|
|
1023
|
+
"description": "Solid color to use for the whole model if `override_color` is true.",
|
|
1024
|
+
"type": "object",
|
|
1025
|
+
"properties": {
|
|
1026
|
+
"r": {
|
|
1027
|
+
"type": "number",
|
|
1028
|
+
"description": "Red value between 0 and 1"
|
|
1029
|
+
},
|
|
1030
|
+
"g": {
|
|
1031
|
+
"type": "number",
|
|
1032
|
+
"description": "Green value between 0 and 1"
|
|
1033
|
+
},
|
|
1034
|
+
"b": {
|
|
1035
|
+
"type": "number",
|
|
1036
|
+
"description": "Blue value between 0 and 1"
|
|
1037
|
+
},
|
|
1038
|
+
"a": {
|
|
1039
|
+
"type": "number",
|
|
1040
|
+
"description": "Alpha value between 0 and 1"
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"override_color": {
|
|
1045
|
+
"type": "boolean",
|
|
1046
|
+
"description": "Whether to use the color specified in `color` instead of any materials embedded in the original model."
|
|
1047
|
+
},
|
|
1048
|
+
"url": {
|
|
1049
|
+
"type": "string",
|
|
1050
|
+
"description": "URL pointing to model file. One of `url` or `data` should be provided."
|
|
1051
|
+
},
|
|
1052
|
+
"media_type": {
|
|
1053
|
+
"type": "string",
|
|
1054
|
+
"description": "[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."
|
|
1055
|
+
},
|
|
1056
|
+
"data": {
|
|
1057
|
+
"type": "string",
|
|
1058
|
+
"contentEncoding": "base64",
|
|
1059
|
+
"description": "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."
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
"description": "Model primitives"
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"description": "Scene entities to add or replace"
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
}
|