@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/dist/esm/src/schemas.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Color = {
|
|
2
2
|
type: "message",
|
|
3
3
|
name: "Color",
|
|
4
4
|
description: "A color in RGBA format",
|
|
@@ -25,7 +25,7 @@ const foxglove_Color = {
|
|
|
25
25
|
},
|
|
26
26
|
],
|
|
27
27
|
};
|
|
28
|
-
const
|
|
28
|
+
const Vector2 = {
|
|
29
29
|
type: "message",
|
|
30
30
|
name: "Vector2",
|
|
31
31
|
description: "A vector in 2D space that represents a direction only",
|
|
@@ -42,7 +42,7 @@ const foxglove_Vector2 = {
|
|
|
42
42
|
},
|
|
43
43
|
],
|
|
44
44
|
};
|
|
45
|
-
const
|
|
45
|
+
const Vector3 = {
|
|
46
46
|
type: "message",
|
|
47
47
|
name: "Vector3",
|
|
48
48
|
description: "A vector in 3D space that represents a direction only",
|
|
@@ -65,7 +65,7 @@ const foxglove_Vector3 = {
|
|
|
65
65
|
},
|
|
66
66
|
],
|
|
67
67
|
};
|
|
68
|
-
const
|
|
68
|
+
const Point2 = {
|
|
69
69
|
type: "message",
|
|
70
70
|
name: "Point2",
|
|
71
71
|
description: "A point representing a position in 2D space",
|
|
@@ -82,7 +82,7 @@ const foxglove_Point2 = {
|
|
|
82
82
|
},
|
|
83
83
|
],
|
|
84
84
|
};
|
|
85
|
-
const
|
|
85
|
+
const Point3 = {
|
|
86
86
|
type: "message",
|
|
87
87
|
name: "Point3",
|
|
88
88
|
description: "A point representing a position in 3D space",
|
|
@@ -105,7 +105,7 @@ const foxglove_Point3 = {
|
|
|
105
105
|
},
|
|
106
106
|
],
|
|
107
107
|
};
|
|
108
|
-
const
|
|
108
|
+
const Quaternion = {
|
|
109
109
|
type: "message",
|
|
110
110
|
name: "Quaternion",
|
|
111
111
|
description: "A [quaternion](https://eater.net/quaternions) representing a rotation in 3D space",
|
|
@@ -133,7 +133,7 @@ const foxglove_Quaternion = {
|
|
|
133
133
|
},
|
|
134
134
|
],
|
|
135
135
|
};
|
|
136
|
-
const
|
|
136
|
+
const Pose = {
|
|
137
137
|
type: "message",
|
|
138
138
|
name: "Pose",
|
|
139
139
|
description: "A position and orientation for an object or reference frame in 3D space",
|
|
@@ -141,17 +141,465 @@ const foxglove_Pose = {
|
|
|
141
141
|
fields: [
|
|
142
142
|
{
|
|
143
143
|
name: "position",
|
|
144
|
-
type: { type: "nested", schema:
|
|
144
|
+
type: { type: "nested", schema: Vector3 },
|
|
145
145
|
description: "Point denoting position in 3D space",
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
name: "orientation",
|
|
149
|
-
type: { type: "nested", schema:
|
|
149
|
+
type: { type: "nested", schema: Quaternion },
|
|
150
150
|
description: "Quaternion denoting orientation in 3D space",
|
|
151
151
|
},
|
|
152
152
|
],
|
|
153
153
|
};
|
|
154
|
-
const
|
|
154
|
+
const KeyValuePair = {
|
|
155
|
+
type: "message",
|
|
156
|
+
name: "KeyValuePair",
|
|
157
|
+
description: "(Experimental, subject to change) A key with its associated value",
|
|
158
|
+
fields: [
|
|
159
|
+
{
|
|
160
|
+
name: "key",
|
|
161
|
+
type: { type: "primitive", name: "string" },
|
|
162
|
+
description: "Key",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
name: "value",
|
|
166
|
+
type: { type: "primitive", name: "string" },
|
|
167
|
+
description: "Value",
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
};
|
|
171
|
+
const SceneEntityDeletionType = {
|
|
172
|
+
type: "enum",
|
|
173
|
+
name: "SceneEntityDeletionType",
|
|
174
|
+
protobufParentMessageName: "SceneEntityDeletion",
|
|
175
|
+
protobufEnumName: "Type",
|
|
176
|
+
description: "(Experimental, subject to change) An enumeration indicating which entities should match a SceneEntityDeletion command",
|
|
177
|
+
values: [
|
|
178
|
+
{
|
|
179
|
+
value: 0,
|
|
180
|
+
name: "MATCHING_ID",
|
|
181
|
+
description: "Delete the existing entity on the same topic that has the provided `id`",
|
|
182
|
+
},
|
|
183
|
+
{ value: 1, name: "ALL", description: "Delete all existing entities on the same topic" },
|
|
184
|
+
],
|
|
185
|
+
};
|
|
186
|
+
const SceneEntityDeletion = {
|
|
187
|
+
type: "message",
|
|
188
|
+
name: "SceneEntityDeletion",
|
|
189
|
+
description: "(Experimental, subject to change) Command to remove previously published entities",
|
|
190
|
+
fields: [
|
|
191
|
+
{
|
|
192
|
+
name: "timestamp",
|
|
193
|
+
type: { type: "primitive", name: "time" },
|
|
194
|
+
description: "Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted.",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: "type",
|
|
198
|
+
type: { type: "enum", enum: SceneEntityDeletionType },
|
|
199
|
+
description: "Type of deletion action to perform",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
name: "id",
|
|
203
|
+
type: { type: "primitive", name: "string" },
|
|
204
|
+
description: "Identifier which must match if `type` is `MATCHING_ID`.",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
};
|
|
208
|
+
const ArrowPrimitive = {
|
|
209
|
+
type: "message",
|
|
210
|
+
name: "ArrowPrimitive",
|
|
211
|
+
description: "(Experimental, subject to change) A primitive representing an arrow",
|
|
212
|
+
fields: [
|
|
213
|
+
{
|
|
214
|
+
name: "pose",
|
|
215
|
+
type: { type: "nested", schema: Pose },
|
|
216
|
+
description: "Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: "shaft_length",
|
|
220
|
+
type: { type: "primitive", name: "float64" },
|
|
221
|
+
description: "Length of the arrow shaft",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: "shaft_diameter",
|
|
225
|
+
type: { type: "primitive", name: "float64" },
|
|
226
|
+
description: "Diameter of the arrow shaft",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: "head_length",
|
|
230
|
+
type: { type: "primitive", name: "float64" },
|
|
231
|
+
description: "Length of the arrow head",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
name: "head_diameter",
|
|
235
|
+
type: { type: "primitive", name: "float64" },
|
|
236
|
+
description: "Diameter of the arrow head",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
name: "color",
|
|
240
|
+
type: { type: "nested", schema: Color },
|
|
241
|
+
description: "Color of the arrow",
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
};
|
|
245
|
+
const CubePrimitive = {
|
|
246
|
+
type: "message",
|
|
247
|
+
name: "CubePrimitive",
|
|
248
|
+
description: "(Experimental, subject to change) A primitive representing a cube or rectangular prism",
|
|
249
|
+
fields: [
|
|
250
|
+
{
|
|
251
|
+
name: "pose",
|
|
252
|
+
type: { type: "nested", schema: Pose },
|
|
253
|
+
description: "Position of the center of the cube and orientation of the cube",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: "size",
|
|
257
|
+
type: { type: "nested", schema: Vector3 },
|
|
258
|
+
description: "Size of the cube along each axis",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: "color",
|
|
262
|
+
type: { type: "nested", schema: Color },
|
|
263
|
+
description: "Color of the arrow",
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
};
|
|
267
|
+
const SpherePrimitive = {
|
|
268
|
+
type: "message",
|
|
269
|
+
name: "SpherePrimitive",
|
|
270
|
+
description: "(Experimental, subject to change) A primitive representing a sphere or ellipsoid",
|
|
271
|
+
fields: [
|
|
272
|
+
{
|
|
273
|
+
name: "pose",
|
|
274
|
+
type: { type: "nested", schema: Pose },
|
|
275
|
+
description: "Position of the center of the sphere and orientation of the sphere",
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: "size",
|
|
279
|
+
type: { type: "nested", schema: Vector3 },
|
|
280
|
+
description: "Size (diameter) of the sphere along each axis",
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
name: "color",
|
|
284
|
+
type: { type: "nested", schema: Color },
|
|
285
|
+
description: "Color of the sphere",
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
};
|
|
289
|
+
const CylinderPrimitive = {
|
|
290
|
+
type: "message",
|
|
291
|
+
name: "CylinderPrimitive",
|
|
292
|
+
description: "(Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone",
|
|
293
|
+
fields: [
|
|
294
|
+
{
|
|
295
|
+
name: "pose",
|
|
296
|
+
type: { type: "nested", schema: Pose },
|
|
297
|
+
description: "Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis.",
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
name: "size",
|
|
301
|
+
type: { type: "nested", schema: Vector3 },
|
|
302
|
+
description: "Size of the cylinder's bounding box",
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
name: "bottom_scale",
|
|
306
|
+
type: { type: "primitive", name: "float64" },
|
|
307
|
+
description: "0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
name: "top_scale",
|
|
311
|
+
type: { type: "primitive", name: "float64" },
|
|
312
|
+
description: "0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: "color",
|
|
316
|
+
type: { type: "nested", schema: Color },
|
|
317
|
+
description: "Color of the cylinder",
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
};
|
|
321
|
+
const LineType = {
|
|
322
|
+
type: "enum",
|
|
323
|
+
name: "LineType",
|
|
324
|
+
protobufParentMessageName: "LinePrimitive",
|
|
325
|
+
protobufEnumName: "Type",
|
|
326
|
+
description: "(Experimental, subject to change) An enumeration indicating how input points should be interpreted to create lines",
|
|
327
|
+
values: [
|
|
328
|
+
{ value: 0, name: "LINE_STRIP", description: "0-1, 1-2, ..., (n-1)-n" },
|
|
329
|
+
{ value: 1, name: "LINE_LOOP", description: "0-1, 1-2, ..., (n-1)-n, n-0" },
|
|
330
|
+
{ value: 2, name: "LINE_LIST", description: "0-1, 2-3, 4-5, ..." },
|
|
331
|
+
],
|
|
332
|
+
};
|
|
333
|
+
const LinePrimitive = {
|
|
334
|
+
type: "message",
|
|
335
|
+
name: "LinePrimitive",
|
|
336
|
+
description: "(Experimental, subject to change) A primitive representing a series of points connected by lines",
|
|
337
|
+
fields: [
|
|
338
|
+
{
|
|
339
|
+
name: "type",
|
|
340
|
+
type: { type: "enum", enum: LineType },
|
|
341
|
+
description: "Drawing primitive to use for lines",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
name: "pose",
|
|
345
|
+
type: { type: "nested", schema: Pose },
|
|
346
|
+
description: "Origin of lines relative to reference frame",
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
name: "thickness",
|
|
350
|
+
type: { type: "primitive", name: "float64" },
|
|
351
|
+
description: "Line thickness",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
name: "scale_invariant",
|
|
355
|
+
type: { type: "primitive", name: "boolean" },
|
|
356
|
+
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)",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
name: "points",
|
|
360
|
+
type: { type: "nested", schema: Point3 },
|
|
361
|
+
array: true,
|
|
362
|
+
description: "Points along the line",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
name: "color",
|
|
366
|
+
type: { type: "nested", schema: Color },
|
|
367
|
+
description: "Solid color to use for the whole line. One of `color` or `colors` must be provided.",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
name: "colors",
|
|
371
|
+
type: { type: "nested", schema: Color },
|
|
372
|
+
array: true,
|
|
373
|
+
description: "Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: "indices",
|
|
377
|
+
type: { type: "primitive", name: "uint32" },
|
|
378
|
+
array: true,
|
|
379
|
+
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).",
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
};
|
|
383
|
+
const TextPrimitive = {
|
|
384
|
+
type: "message",
|
|
385
|
+
name: "TextPrimitive",
|
|
386
|
+
description: "(Experimental, subject to change) A primitive representing a text label",
|
|
387
|
+
fields: [
|
|
388
|
+
{
|
|
389
|
+
name: "pose",
|
|
390
|
+
type: { type: "nested", schema: Pose },
|
|
391
|
+
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.",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
name: "billboard",
|
|
395
|
+
type: { type: "primitive", name: "boolean" },
|
|
396
|
+
description: "Whether the text should respect `pose.orientation` (false) or always face the camera (true)",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
name: "font_size",
|
|
400
|
+
type: { type: "primitive", name: "float64" },
|
|
401
|
+
description: "Font size (height of one line of text)",
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
name: "scale_invariant",
|
|
405
|
+
type: { type: "primitive", name: "boolean" },
|
|
406
|
+
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)",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
name: "color",
|
|
410
|
+
type: { type: "nested", schema: Color },
|
|
411
|
+
description: "Color of the text",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
name: "text",
|
|
415
|
+
type: { type: "primitive", name: "string" },
|
|
416
|
+
description: "Text",
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
};
|
|
420
|
+
const TriangleListPrimitive = {
|
|
421
|
+
type: "message",
|
|
422
|
+
name: "TriangleListPrimitive",
|
|
423
|
+
description: "(Experimental, subject to change) A primitive representing a set of triangles or a surface tiled by triangles",
|
|
424
|
+
fields: [
|
|
425
|
+
{
|
|
426
|
+
name: "pose",
|
|
427
|
+
type: { type: "nested", schema: Pose },
|
|
428
|
+
description: "Origin of triangles relative to reference frame",
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
name: "points",
|
|
432
|
+
type: { type: "nested", schema: Point3 },
|
|
433
|
+
array: true,
|
|
434
|
+
description: "Vertices to use for triangles, interpreted as a list of triples (0-1-2, 3-4-5, ...)",
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
name: "color",
|
|
438
|
+
type: { type: "nested", schema: Color },
|
|
439
|
+
description: "Solid color to use for the whole shape. One of `color` or `colors` must be provided.",
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
name: "colors",
|
|
443
|
+
type: { type: "nested", schema: Color },
|
|
444
|
+
array: true,
|
|
445
|
+
description: "Per-vertex colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.",
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
name: "indices",
|
|
449
|
+
type: { type: "primitive", name: "uint32" },
|
|
450
|
+
array: true,
|
|
451
|
+
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).",
|
|
452
|
+
},
|
|
453
|
+
],
|
|
454
|
+
};
|
|
455
|
+
const ModelPrimitive = {
|
|
456
|
+
type: "message",
|
|
457
|
+
name: "ModelPrimitive",
|
|
458
|
+
description: "(Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data",
|
|
459
|
+
fields: [
|
|
460
|
+
{
|
|
461
|
+
name: "pose",
|
|
462
|
+
type: { type: "nested", schema: Pose },
|
|
463
|
+
description: "Origin of model relative to reference frame",
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
name: "scale",
|
|
467
|
+
type: { type: "nested", schema: Vector3 },
|
|
468
|
+
description: "Scale factor to apply to the model along each axis",
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
name: "color",
|
|
472
|
+
type: { type: "nested", schema: Color },
|
|
473
|
+
description: "Solid color to use for the whole model if `override_color` is true.",
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
name: "override_color",
|
|
477
|
+
type: { type: "primitive", name: "boolean" },
|
|
478
|
+
description: "Whether to use the color specified in `color` instead of any materials embedded in the original model.",
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: "url",
|
|
482
|
+
type: { type: "primitive", name: "string" },
|
|
483
|
+
description: "URL pointing to model file. One of `url` or `data` should be provided.",
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
name: "media_type",
|
|
487
|
+
type: { type: "primitive", name: "string" },
|
|
488
|
+
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.",
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
name: "data",
|
|
492
|
+
type: { type: "primitive", name: "bytes" },
|
|
493
|
+
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.",
|
|
494
|
+
},
|
|
495
|
+
],
|
|
496
|
+
};
|
|
497
|
+
const SceneEntity = {
|
|
498
|
+
type: "message",
|
|
499
|
+
name: "SceneEntity",
|
|
500
|
+
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.",
|
|
501
|
+
fields: [
|
|
502
|
+
{
|
|
503
|
+
name: "timestamp",
|
|
504
|
+
type: { type: "primitive", name: "time" },
|
|
505
|
+
description: "Timestamp of the entity",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
name: "frame_id",
|
|
509
|
+
type: { type: "primitive", name: "string" },
|
|
510
|
+
description: "Frame of reference",
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
name: "id",
|
|
514
|
+
type: { type: "primitive", name: "string" },
|
|
515
|
+
description: "Identifier for the entity. A entity will replace any prior entity on the same topic with the same `id`.",
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
name: "lifetime",
|
|
519
|
+
type: { type: "primitive", name: "duration" },
|
|
520
|
+
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.",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
name: "frame_locked",
|
|
524
|
+
type: { type: "primitive", name: "boolean" },
|
|
525
|
+
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)",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
name: "metadata",
|
|
529
|
+
type: { type: "nested", schema: KeyValuePair },
|
|
530
|
+
array: true,
|
|
531
|
+
description: "Additional user-provided metadata associated with the entity. Keys must be unique.",
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
name: "arrows",
|
|
535
|
+
type: { type: "nested", schema: ArrowPrimitive },
|
|
536
|
+
array: true,
|
|
537
|
+
description: "Arrow primitives",
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
name: "cubes",
|
|
541
|
+
type: { type: "nested", schema: CubePrimitive },
|
|
542
|
+
array: true,
|
|
543
|
+
description: "Cube primitives",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
name: "spheres",
|
|
547
|
+
type: { type: "nested", schema: SpherePrimitive },
|
|
548
|
+
array: true,
|
|
549
|
+
description: "Sphere primitives",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
name: "cylinders",
|
|
553
|
+
type: { type: "nested", schema: CylinderPrimitive },
|
|
554
|
+
array: true,
|
|
555
|
+
description: "Cylinder primitives",
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
name: "lines",
|
|
559
|
+
type: { type: "nested", schema: LinePrimitive },
|
|
560
|
+
array: true,
|
|
561
|
+
description: "Line primitives",
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
name: "triangles",
|
|
565
|
+
type: { type: "nested", schema: TriangleListPrimitive },
|
|
566
|
+
array: true,
|
|
567
|
+
description: "Triangle list primitives",
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
name: "texts",
|
|
571
|
+
type: { type: "nested", schema: TextPrimitive },
|
|
572
|
+
array: true,
|
|
573
|
+
description: "Text primitives",
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
name: "models",
|
|
577
|
+
type: { type: "nested", schema: ModelPrimitive },
|
|
578
|
+
array: true,
|
|
579
|
+
description: "Model primitives",
|
|
580
|
+
},
|
|
581
|
+
],
|
|
582
|
+
};
|
|
583
|
+
const SceneUpdate = {
|
|
584
|
+
type: "message",
|
|
585
|
+
name: "SceneUpdate",
|
|
586
|
+
description: "(Experimental, subject to change) An update to the entities displayed in a 3D scene",
|
|
587
|
+
fields: [
|
|
588
|
+
{
|
|
589
|
+
name: "deletions",
|
|
590
|
+
type: { type: "nested", schema: SceneEntityDeletion },
|
|
591
|
+
array: true,
|
|
592
|
+
description: "Scene entities to delete",
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
name: "entities",
|
|
596
|
+
type: { type: "nested", schema: SceneEntity },
|
|
597
|
+
array: true,
|
|
598
|
+
description: "Scene entities to add or replace",
|
|
599
|
+
},
|
|
600
|
+
],
|
|
601
|
+
};
|
|
602
|
+
const CameraCalibration = {
|
|
155
603
|
type: "message",
|
|
156
604
|
name: "CameraCalibration",
|
|
157
605
|
description: "Camera calibration parameters",
|
|
@@ -161,6 +609,12 @@ const foxglove_CameraCalibration = {
|
|
|
161
609
|
type: { type: "primitive", name: "time" },
|
|
162
610
|
description: "Timestamp of calibration data",
|
|
163
611
|
},
|
|
612
|
+
{
|
|
613
|
+
name: "frame_id",
|
|
614
|
+
type: { type: "primitive", name: "string" },
|
|
615
|
+
description: "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.",
|
|
616
|
+
protobufFieldNumber: 9,
|
|
617
|
+
},
|
|
164
618
|
{
|
|
165
619
|
name: "width",
|
|
166
620
|
type: { type: "primitive", name: "uint32" },
|
|
@@ -240,7 +694,7 @@ This holds for both images of a stereo pair.
|
|
|
240
694
|
},
|
|
241
695
|
],
|
|
242
696
|
};
|
|
243
|
-
const
|
|
697
|
+
const CompressedImage = {
|
|
244
698
|
type: "message",
|
|
245
699
|
name: "CompressedImage",
|
|
246
700
|
description: "A compressed image",
|
|
@@ -250,6 +704,12 @@ const foxglove_CompressedImage = {
|
|
|
250
704
|
type: { type: "primitive", name: "time" },
|
|
251
705
|
description: "Timestamp of image",
|
|
252
706
|
},
|
|
707
|
+
{
|
|
708
|
+
name: "frame_id",
|
|
709
|
+
type: { type: "primitive", name: "string" },
|
|
710
|
+
description: "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.",
|
|
711
|
+
protobufFieldNumber: 4,
|
|
712
|
+
},
|
|
253
713
|
{
|
|
254
714
|
name: "data",
|
|
255
715
|
type: { type: "primitive", name: "bytes" },
|
|
@@ -262,7 +722,7 @@ const foxglove_CompressedImage = {
|
|
|
262
722
|
},
|
|
263
723
|
],
|
|
264
724
|
};
|
|
265
|
-
const
|
|
725
|
+
const RawImage = {
|
|
266
726
|
type: "message",
|
|
267
727
|
name: "RawImage",
|
|
268
728
|
description: "A raw image",
|
|
@@ -272,6 +732,12 @@ const foxglove_RawImage = {
|
|
|
272
732
|
type: { type: "primitive", name: "time" },
|
|
273
733
|
description: "Timestamp of image",
|
|
274
734
|
},
|
|
735
|
+
{
|
|
736
|
+
name: "frame_id",
|
|
737
|
+
type: { type: "primitive", name: "string" },
|
|
738
|
+
description: "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.",
|
|
739
|
+
protobufFieldNumber: 7,
|
|
740
|
+
},
|
|
275
741
|
{
|
|
276
742
|
name: "width",
|
|
277
743
|
type: { type: "primitive", name: "uint32" },
|
|
@@ -299,7 +765,7 @@ const foxglove_RawImage = {
|
|
|
299
765
|
},
|
|
300
766
|
],
|
|
301
767
|
};
|
|
302
|
-
const
|
|
768
|
+
const FrameTransform = {
|
|
303
769
|
type: "message",
|
|
304
770
|
name: "FrameTransform",
|
|
305
771
|
description: "A transform between two reference frames in 3D space",
|
|
@@ -321,17 +787,17 @@ const foxglove_FrameTransform = {
|
|
|
321
787
|
},
|
|
322
788
|
{
|
|
323
789
|
name: "translation",
|
|
324
|
-
type: { type: "nested", schema:
|
|
790
|
+
type: { type: "nested", schema: Vector3 },
|
|
325
791
|
description: "Translation component of the transform",
|
|
326
792
|
},
|
|
327
793
|
{
|
|
328
794
|
name: "rotation",
|
|
329
|
-
type: { type: "nested", schema:
|
|
795
|
+
type: { type: "nested", schema: Quaternion },
|
|
330
796
|
description: "Rotation component of the transform",
|
|
331
797
|
},
|
|
332
798
|
],
|
|
333
799
|
};
|
|
334
|
-
const
|
|
800
|
+
const PoseInFrame = {
|
|
335
801
|
type: "message",
|
|
336
802
|
name: "PoseInFrame",
|
|
337
803
|
description: "A timestamped pose for an object or reference frame in 3D space",
|
|
@@ -348,12 +814,12 @@ const foxglove_PoseInFrame = {
|
|
|
348
814
|
},
|
|
349
815
|
{
|
|
350
816
|
name: "pose",
|
|
351
|
-
type: { type: "nested", schema:
|
|
817
|
+
type: { type: "nested", schema: Pose },
|
|
352
818
|
description: "Pose in 3D space",
|
|
353
819
|
},
|
|
354
820
|
],
|
|
355
821
|
};
|
|
356
|
-
const
|
|
822
|
+
const PosesInFrame = {
|
|
357
823
|
type: "message",
|
|
358
824
|
name: "PosesInFrame",
|
|
359
825
|
description: "An array of timestamped poses for an object or reference frame in 3D space",
|
|
@@ -370,13 +836,13 @@ const foxglove_PosesInFrame = {
|
|
|
370
836
|
},
|
|
371
837
|
{
|
|
372
838
|
name: "poses",
|
|
373
|
-
type: { type: "nested", schema:
|
|
839
|
+
type: { type: "nested", schema: Pose },
|
|
374
840
|
description: "Poses in 3D space",
|
|
375
841
|
array: true,
|
|
376
842
|
},
|
|
377
843
|
],
|
|
378
844
|
};
|
|
379
|
-
const
|
|
845
|
+
const GeoJSON = {
|
|
380
846
|
type: "message",
|
|
381
847
|
name: "GeoJSON",
|
|
382
848
|
description: "GeoJSON data for annotating maps",
|
|
@@ -388,7 +854,7 @@ const foxglove_GeoJSON = {
|
|
|
388
854
|
},
|
|
389
855
|
],
|
|
390
856
|
};
|
|
391
|
-
const
|
|
857
|
+
const NumericType = {
|
|
392
858
|
type: "enum",
|
|
393
859
|
name: "NumericType",
|
|
394
860
|
description: "Numeric type",
|
|
@@ -406,7 +872,7 @@ const foxglove_NumericType = {
|
|
|
406
872
|
{ name: "FLOAT64", value: 8 },
|
|
407
873
|
],
|
|
408
874
|
};
|
|
409
|
-
const
|
|
875
|
+
const PackedElementField = {
|
|
410
876
|
type: "message",
|
|
411
877
|
name: "PackedElementField",
|
|
412
878
|
description: "A field present within each element in a byte array of packed elements.",
|
|
@@ -423,12 +889,12 @@ const foxglove_PackedElementField = {
|
|
|
423
889
|
},
|
|
424
890
|
{
|
|
425
891
|
name: "type",
|
|
426
|
-
type: { type: "enum", enum:
|
|
892
|
+
type: { type: "enum", enum: NumericType },
|
|
427
893
|
description: "Type of data in the field. Integers are stored using little-endian byte order.",
|
|
428
894
|
},
|
|
429
895
|
],
|
|
430
896
|
};
|
|
431
|
-
const
|
|
897
|
+
const Grid = {
|
|
432
898
|
type: "message",
|
|
433
899
|
name: "Grid",
|
|
434
900
|
description: "A 2D grid of data",
|
|
@@ -445,7 +911,7 @@ const foxglove_Grid = {
|
|
|
445
911
|
},
|
|
446
912
|
{
|
|
447
913
|
name: "pose",
|
|
448
|
-
type: { type: "nested", schema:
|
|
914
|
+
type: { type: "nested", schema: Pose },
|
|
449
915
|
description: "Origin of grid's corner relative to frame of reference; grid is positioned in the x-y plane relative to this origin",
|
|
450
916
|
},
|
|
451
917
|
{
|
|
@@ -455,7 +921,7 @@ const foxglove_Grid = {
|
|
|
455
921
|
},
|
|
456
922
|
{
|
|
457
923
|
name: "cell_size",
|
|
458
|
-
type: { type: "nested", schema:
|
|
924
|
+
type: { type: "nested", schema: Vector2 },
|
|
459
925
|
description: "Size of single grid cell along x and y axes, relative to `pose`",
|
|
460
926
|
},
|
|
461
927
|
{
|
|
@@ -470,7 +936,7 @@ const foxglove_Grid = {
|
|
|
470
936
|
},
|
|
471
937
|
{
|
|
472
938
|
name: "fields",
|
|
473
|
-
type: { type: "nested", schema:
|
|
939
|
+
type: { type: "nested", schema: PackedElementField },
|
|
474
940
|
array: true,
|
|
475
941
|
description: "Fields in `data`",
|
|
476
942
|
},
|
|
@@ -481,7 +947,7 @@ const foxglove_Grid = {
|
|
|
481
947
|
},
|
|
482
948
|
],
|
|
483
949
|
};
|
|
484
|
-
const
|
|
950
|
+
const CircleAnnotation = {
|
|
485
951
|
type: "message",
|
|
486
952
|
name: "CircleAnnotation",
|
|
487
953
|
description: "A circle annotation on a 2D image",
|
|
@@ -493,7 +959,7 @@ const foxglove_CircleAnnotation = {
|
|
|
493
959
|
},
|
|
494
960
|
{
|
|
495
961
|
name: "position",
|
|
496
|
-
type: { type: "nested", schema:
|
|
962
|
+
type: { type: "nested", schema: Point2 },
|
|
497
963
|
description: "Center of the circle in 2D image coordinates",
|
|
498
964
|
},
|
|
499
965
|
{
|
|
@@ -508,17 +974,17 @@ const foxglove_CircleAnnotation = {
|
|
|
508
974
|
},
|
|
509
975
|
{
|
|
510
976
|
name: "fill_color",
|
|
511
|
-
type: { type: "nested", schema:
|
|
977
|
+
type: { type: "nested", schema: Color },
|
|
512
978
|
description: "Fill color",
|
|
513
979
|
},
|
|
514
980
|
{
|
|
515
981
|
name: "outline_color",
|
|
516
|
-
type: { type: "nested", schema:
|
|
982
|
+
type: { type: "nested", schema: Color },
|
|
517
983
|
description: "Outline color",
|
|
518
984
|
},
|
|
519
985
|
],
|
|
520
986
|
};
|
|
521
|
-
const
|
|
987
|
+
const PointsAnnotationType = {
|
|
522
988
|
type: "enum",
|
|
523
989
|
name: "PointsAnnotationType",
|
|
524
990
|
description: "Type of points annotation",
|
|
@@ -532,7 +998,7 @@ const foxglove_PointsAnnotationType = {
|
|
|
532
998
|
{ name: "LINE_LIST", value: 4 },
|
|
533
999
|
],
|
|
534
1000
|
};
|
|
535
|
-
const
|
|
1001
|
+
const PointsAnnotation = {
|
|
536
1002
|
type: "message",
|
|
537
1003
|
name: "PointsAnnotation",
|
|
538
1004
|
description: "An array of points on a 2D image",
|
|
@@ -544,48 +1010,58 @@ const foxglove_PointsAnnotation = {
|
|
|
544
1010
|
},
|
|
545
1011
|
{
|
|
546
1012
|
name: "type",
|
|
547
|
-
type: { type: "enum", enum:
|
|
1013
|
+
type: { type: "enum", enum: PointsAnnotationType },
|
|
548
1014
|
description: "Type of points annotation to draw",
|
|
549
1015
|
},
|
|
550
1016
|
{
|
|
551
1017
|
name: "points",
|
|
552
|
-
type: { type: "nested", schema:
|
|
1018
|
+
type: { type: "nested", schema: Point2 },
|
|
553
1019
|
description: "Points in 2D image coordinates",
|
|
554
1020
|
array: true,
|
|
555
1021
|
},
|
|
1022
|
+
{
|
|
1023
|
+
name: "outline_color",
|
|
1024
|
+
type: { type: "nested", schema: Color },
|
|
1025
|
+
description: "Outline color",
|
|
1026
|
+
},
|
|
556
1027
|
{
|
|
557
1028
|
name: "outline_colors",
|
|
558
|
-
type: { type: "nested", schema:
|
|
559
|
-
description: "
|
|
1029
|
+
type: { type: "nested", schema: Color },
|
|
1030
|
+
description: "Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`.",
|
|
560
1031
|
array: true,
|
|
561
1032
|
},
|
|
562
1033
|
{
|
|
563
1034
|
name: "fill_color",
|
|
564
|
-
type: { type: "nested", schema:
|
|
1035
|
+
type: { type: "nested", schema: Color },
|
|
565
1036
|
description: "Fill color",
|
|
566
1037
|
},
|
|
1038
|
+
{
|
|
1039
|
+
name: "thickness",
|
|
1040
|
+
type: { type: "primitive", name: "float64" },
|
|
1041
|
+
description: "Stroke thickness",
|
|
1042
|
+
},
|
|
567
1043
|
],
|
|
568
1044
|
};
|
|
569
|
-
const
|
|
1045
|
+
const ImageAnnotations = {
|
|
570
1046
|
type: "message",
|
|
571
1047
|
name: "ImageAnnotations",
|
|
572
1048
|
description: "Array of annotations for a 2D image",
|
|
573
1049
|
fields: [
|
|
574
1050
|
{
|
|
575
1051
|
name: "circles",
|
|
576
|
-
type: { type: "nested", schema:
|
|
1052
|
+
type: { type: "nested", schema: CircleAnnotation },
|
|
577
1053
|
description: "Circle annotations",
|
|
578
1054
|
array: true,
|
|
579
1055
|
},
|
|
580
1056
|
{
|
|
581
1057
|
name: "points",
|
|
582
|
-
type: { type: "nested", schema:
|
|
1058
|
+
type: { type: "nested", schema: PointsAnnotation },
|
|
583
1059
|
description: "Points annotations",
|
|
584
1060
|
array: true,
|
|
585
1061
|
},
|
|
586
1062
|
],
|
|
587
1063
|
};
|
|
588
|
-
const
|
|
1064
|
+
const PositionCovarianceType = {
|
|
589
1065
|
type: "enum",
|
|
590
1066
|
name: "PositionCovarianceType",
|
|
591
1067
|
description: "Type of position covariance",
|
|
@@ -598,7 +1074,7 @@ const foxglove_PositionCovarianceType = {
|
|
|
598
1074
|
{ name: "KNOWN", value: 3 },
|
|
599
1075
|
],
|
|
600
1076
|
};
|
|
601
|
-
const
|
|
1077
|
+
const LocationFix = {
|
|
602
1078
|
type: "message",
|
|
603
1079
|
name: "LocationFix",
|
|
604
1080
|
description: "A navigation satellite fix for any Global Navigation Satellite System",
|
|
@@ -626,12 +1102,12 @@ const foxglove_LocationFix = {
|
|
|
626
1102
|
},
|
|
627
1103
|
{
|
|
628
1104
|
name: "position_covariance_type",
|
|
629
|
-
type: { type: "enum", enum:
|
|
1105
|
+
type: { type: "enum", enum: PositionCovarianceType },
|
|
630
1106
|
description: "If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.",
|
|
631
1107
|
},
|
|
632
1108
|
],
|
|
633
1109
|
};
|
|
634
|
-
const
|
|
1110
|
+
const LogLevel = {
|
|
635
1111
|
type: "enum",
|
|
636
1112
|
name: "LogLevel",
|
|
637
1113
|
description: "Log level",
|
|
@@ -646,7 +1122,7 @@ const foxglove_LogLevel = {
|
|
|
646
1122
|
{ name: "FATAL", value: 5 },
|
|
647
1123
|
],
|
|
648
1124
|
};
|
|
649
|
-
const
|
|
1125
|
+
const Log = {
|
|
650
1126
|
type: "message",
|
|
651
1127
|
name: "Log",
|
|
652
1128
|
description: "A log message",
|
|
@@ -658,7 +1134,7 @@ const foxglove_Log = {
|
|
|
658
1134
|
},
|
|
659
1135
|
{
|
|
660
1136
|
name: "level",
|
|
661
|
-
type: { type: "enum", enum:
|
|
1137
|
+
type: { type: "enum", enum: LogLevel },
|
|
662
1138
|
description: "Log level",
|
|
663
1139
|
},
|
|
664
1140
|
{
|
|
@@ -683,7 +1159,7 @@ const foxglove_Log = {
|
|
|
683
1159
|
},
|
|
684
1160
|
],
|
|
685
1161
|
};
|
|
686
|
-
const
|
|
1162
|
+
const PointCloud = {
|
|
687
1163
|
type: "message",
|
|
688
1164
|
name: "PointCloud",
|
|
689
1165
|
description: "A collection of N-dimensional points, which may contain additional fields with information like normals, intensity, etc.",
|
|
@@ -700,7 +1176,7 @@ const foxglove_PointCloud = {
|
|
|
700
1176
|
},
|
|
701
1177
|
{
|
|
702
1178
|
name: "pose",
|
|
703
|
-
type: { type: "nested", schema:
|
|
1179
|
+
type: { type: "nested", schema: Pose },
|
|
704
1180
|
description: "The origin of the point cloud relative to the frame of reference",
|
|
705
1181
|
},
|
|
706
1182
|
{
|
|
@@ -710,7 +1186,7 @@ const foxglove_PointCloud = {
|
|
|
710
1186
|
},
|
|
711
1187
|
{
|
|
712
1188
|
name: "fields",
|
|
713
|
-
type: { type: "nested", schema:
|
|
1189
|
+
type: { type: "nested", schema: PackedElementField },
|
|
714
1190
|
array: true,
|
|
715
1191
|
description: "Fields in the `data`",
|
|
716
1192
|
},
|
|
@@ -721,7 +1197,7 @@ const foxglove_PointCloud = {
|
|
|
721
1197
|
},
|
|
722
1198
|
],
|
|
723
1199
|
};
|
|
724
|
-
const
|
|
1200
|
+
const LaserScan = {
|
|
725
1201
|
type: "message",
|
|
726
1202
|
name: "LaserScan",
|
|
727
1203
|
description: "A single scan from a planar laser range-finder",
|
|
@@ -738,7 +1214,7 @@ const foxglove_LaserScan = {
|
|
|
738
1214
|
},
|
|
739
1215
|
{
|
|
740
1216
|
name: "pose",
|
|
741
|
-
type: { type: "nested", schema:
|
|
1217
|
+
type: { type: "nested", schema: Pose },
|
|
742
1218
|
description: "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",
|
|
743
1219
|
},
|
|
744
1220
|
{
|
|
@@ -766,34 +1242,48 @@ const foxglove_LaserScan = {
|
|
|
766
1242
|
],
|
|
767
1243
|
};
|
|
768
1244
|
export const foxgloveMessageSchemas = {
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
1245
|
+
ArrowPrimitive,
|
|
1246
|
+
CameraCalibration,
|
|
1247
|
+
CircleAnnotation,
|
|
1248
|
+
Color,
|
|
1249
|
+
CompressedImage,
|
|
1250
|
+
CylinderPrimitive,
|
|
1251
|
+
CubePrimitive,
|
|
1252
|
+
FrameTransform,
|
|
1253
|
+
GeoJSON,
|
|
1254
|
+
Grid,
|
|
1255
|
+
ImageAnnotations,
|
|
1256
|
+
KeyValuePair,
|
|
1257
|
+
LaserScan,
|
|
1258
|
+
LinePrimitive,
|
|
1259
|
+
LocationFix,
|
|
1260
|
+
Log,
|
|
1261
|
+
SceneEntityDeletion,
|
|
1262
|
+
SceneEntity,
|
|
1263
|
+
SceneUpdate,
|
|
1264
|
+
ModelPrimitive,
|
|
1265
|
+
PackedElementField,
|
|
1266
|
+
Point2,
|
|
1267
|
+
Point3,
|
|
1268
|
+
PointCloud,
|
|
1269
|
+
PointsAnnotation,
|
|
1270
|
+
Pose,
|
|
1271
|
+
PoseInFrame,
|
|
1272
|
+
PosesInFrame,
|
|
1273
|
+
Quaternion,
|
|
1274
|
+
RawImage,
|
|
1275
|
+
SpherePrimitive,
|
|
1276
|
+
TextPrimitive,
|
|
1277
|
+
TriangleListPrimitive,
|
|
1278
|
+
Vector2,
|
|
1279
|
+
Vector3,
|
|
792
1280
|
};
|
|
793
1281
|
export const foxgloveEnumSchemas = {
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
1282
|
+
LineType,
|
|
1283
|
+
LogLevel,
|
|
1284
|
+
SceneEntityDeletionType,
|
|
1285
|
+
NumericType,
|
|
1286
|
+
PointsAnnotationType,
|
|
1287
|
+
PositionCovarianceType,
|
|
798
1288
|
};
|
|
799
1289
|
//# sourceMappingURL=schemas.js.map
|