@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,21 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Color.proto";
|
|
6
|
+
import "foxglove/Pose.proto";
|
|
7
|
+
import "foxglove/Vector3.proto";
|
|
8
|
+
|
|
9
|
+
package foxglove;
|
|
10
|
+
|
|
11
|
+
// (Experimental, subject to change) A primitive representing a sphere or ellipsoid
|
|
12
|
+
message SpherePrimitive {
|
|
13
|
+
// Position of the center of the sphere and orientation of the sphere
|
|
14
|
+
foxglove.Pose pose = 1;
|
|
15
|
+
|
|
16
|
+
// Size (diameter) of the sphere along each axis
|
|
17
|
+
foxglove.Vector3 size = 2;
|
|
18
|
+
|
|
19
|
+
// Color of the sphere
|
|
20
|
+
foxglove.Color color = 3;
|
|
21
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Color.proto";
|
|
6
|
+
import "foxglove/Pose.proto";
|
|
7
|
+
|
|
8
|
+
package foxglove;
|
|
9
|
+
|
|
10
|
+
// (Experimental, subject to change) A primitive representing a text label
|
|
11
|
+
message TextPrimitive {
|
|
12
|
+
// 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.
|
|
13
|
+
foxglove.Pose pose = 1;
|
|
14
|
+
|
|
15
|
+
// Whether the text should respect `pose.orientation` (false) or always face the camera (true)
|
|
16
|
+
bool billboard = 2;
|
|
17
|
+
|
|
18
|
+
// Font size (height of one line of text)
|
|
19
|
+
double font_size = 3;
|
|
20
|
+
|
|
21
|
+
// 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)
|
|
22
|
+
bool scale_invariant = 4;
|
|
23
|
+
|
|
24
|
+
// Color of the text
|
|
25
|
+
foxglove.Color color = 5;
|
|
26
|
+
|
|
27
|
+
// Text
|
|
28
|
+
string text = 6;
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Generated by https://github.com/foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Color.proto";
|
|
6
|
+
import "foxglove/Point3.proto";
|
|
7
|
+
import "foxglove/Pose.proto";
|
|
8
|
+
|
|
9
|
+
package foxglove;
|
|
10
|
+
|
|
11
|
+
// (Experimental, subject to change) A primitive representing a set of triangles or a surface tiled by triangles
|
|
12
|
+
message TriangleListPrimitive {
|
|
13
|
+
// Origin of triangles relative to reference frame
|
|
14
|
+
foxglove.Pose pose = 1;
|
|
15
|
+
|
|
16
|
+
// Vertices to use for triangles, interpreted as a list of triples (0-1-2, 3-4-5, ...)
|
|
17
|
+
repeated foxglove.Point3 points = 2;
|
|
18
|
+
|
|
19
|
+
// Solid color to use for the whole shape. One of `color` or `colors` must be provided.
|
|
20
|
+
foxglove.Color color = 3;
|
|
21
|
+
|
|
22
|
+
// Per-vertex colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
|
|
23
|
+
repeated foxglove.Color colors = 4;
|
|
24
|
+
|
|
25
|
+
// Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
26
|
+
//
|
|
27
|
+
// If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
|
|
28
|
+
repeated fixed32 indices = 5;
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# foxglove_msgs/ArrowPrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing an arrow
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Length of the arrow shaft
|
|
10
|
+
float64 shaft_length
|
|
11
|
+
|
|
12
|
+
# Diameter of the arrow shaft
|
|
13
|
+
float64 shaft_diameter
|
|
14
|
+
|
|
15
|
+
# Length of the arrow head
|
|
16
|
+
float64 head_length
|
|
17
|
+
|
|
18
|
+
# Diameter of the arrow head
|
|
19
|
+
float64 head_diameter
|
|
20
|
+
|
|
21
|
+
# Color of the arrow
|
|
22
|
+
foxglove_msgs/Color color
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
# Timestamp of calibration data
|
|
7
7
|
time timestamp
|
|
8
8
|
|
|
9
|
+
# 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.
|
|
10
|
+
string frame_id
|
|
11
|
+
|
|
9
12
|
# Image width
|
|
10
13
|
uint32 width
|
|
11
14
|
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
# Timestamp of image
|
|
7
7
|
time timestamp
|
|
8
8
|
|
|
9
|
+
# 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.
|
|
10
|
+
string frame_id
|
|
11
|
+
|
|
9
12
|
# Compressed image data
|
|
10
13
|
uint8[] data
|
|
11
14
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# foxglove_msgs/CubePrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a cube or rectangular prism
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Position of the center of the cube and orientation of the cube
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Size of the cube along each axis
|
|
10
|
+
geometry_msgs/Vector3 size
|
|
11
|
+
|
|
12
|
+
# Color of the arrow
|
|
13
|
+
foxglove_msgs/Color color
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# foxglove_msgs/CylinderPrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis.
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Size of the cylinder's bounding box
|
|
10
|
+
geometry_msgs/Vector3 size
|
|
11
|
+
|
|
12
|
+
# 0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box
|
|
13
|
+
float64 bottom_scale
|
|
14
|
+
|
|
15
|
+
# 0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box
|
|
16
|
+
float64 top_scale
|
|
17
|
+
|
|
18
|
+
# Color of the cylinder
|
|
19
|
+
foxglove_msgs/Color color
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# foxglove_msgs/LinePrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a series of points connected by lines
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# 0-1, 1-2, ..., (n-1)-n
|
|
7
|
+
uint8 LINE_STRIP=0
|
|
8
|
+
|
|
9
|
+
# 0-1, 1-2, ..., (n-1)-n, n-0
|
|
10
|
+
uint8 LINE_LOOP=1
|
|
11
|
+
|
|
12
|
+
# 0-1, 2-3, 4-5, ...
|
|
13
|
+
uint8 LINE_LIST=2
|
|
14
|
+
|
|
15
|
+
# Drawing primitive to use for lines
|
|
16
|
+
uint8 type
|
|
17
|
+
|
|
18
|
+
# Origin of lines relative to reference frame
|
|
19
|
+
geometry_msgs/Pose pose
|
|
20
|
+
|
|
21
|
+
# Line thickness
|
|
22
|
+
float64 thickness
|
|
23
|
+
|
|
24
|
+
# Indicates whether `thickness` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)
|
|
25
|
+
bool scale_invariant
|
|
26
|
+
|
|
27
|
+
# Points along the line
|
|
28
|
+
geometry_msgs/Point[] points
|
|
29
|
+
|
|
30
|
+
# Solid color to use for the whole line. One of `color` or `colors` must be provided.
|
|
31
|
+
foxglove_msgs/Color color
|
|
32
|
+
|
|
33
|
+
# Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
|
|
34
|
+
foxglove_msgs/Color[] colors
|
|
35
|
+
|
|
36
|
+
# Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
37
|
+
#
|
|
38
|
+
# If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
|
|
39
|
+
uint32[] indices
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# foxglove_msgs/ModelPrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Origin of model relative to reference frame
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Scale factor to apply to the model along each axis
|
|
10
|
+
geometry_msgs/Vector3 scale
|
|
11
|
+
|
|
12
|
+
# Solid color to use for the whole model if `override_color` is true.
|
|
13
|
+
foxglove_msgs/Color color
|
|
14
|
+
|
|
15
|
+
# Whether to use the color specified in `color` instead of any materials embedded in the original model.
|
|
16
|
+
bool override_color
|
|
17
|
+
|
|
18
|
+
# URL pointing to model file. One of `url` or `data` should be provided.
|
|
19
|
+
string url
|
|
20
|
+
|
|
21
|
+
# [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.
|
|
22
|
+
string media_type
|
|
23
|
+
|
|
24
|
+
# 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.
|
|
25
|
+
uint8[] data
|
|
@@ -18,8 +18,14 @@ uint8 type
|
|
|
18
18
|
# Points in 2D image coordinates
|
|
19
19
|
foxglove_msgs/Point2[] points
|
|
20
20
|
|
|
21
|
-
# Outline
|
|
21
|
+
# Outline color
|
|
22
|
+
foxglove_msgs/Color outline_color
|
|
23
|
+
|
|
24
|
+
# Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`.
|
|
22
25
|
foxglove_msgs/Color[] outline_colors
|
|
23
26
|
|
|
24
27
|
# Fill color
|
|
25
28
|
foxglove_msgs/Color fill_color
|
|
29
|
+
|
|
30
|
+
# Stroke thickness
|
|
31
|
+
float64 thickness
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
# Timestamp of image
|
|
7
7
|
time timestamp
|
|
8
8
|
|
|
9
|
+
# 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.
|
|
10
|
+
string frame_id
|
|
11
|
+
|
|
9
12
|
# Image width
|
|
10
13
|
uint32 width
|
|
11
14
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# foxglove_msgs/SceneEntity
|
|
2
|
+
# (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.
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Timestamp of the entity
|
|
7
|
+
time timestamp
|
|
8
|
+
|
|
9
|
+
# Frame of reference
|
|
10
|
+
string frame_id
|
|
11
|
+
|
|
12
|
+
# Identifier for the entity. A entity will replace any prior entity on the same topic with the same `id`.
|
|
13
|
+
string id
|
|
14
|
+
|
|
15
|
+
# 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.
|
|
16
|
+
duration lifetime
|
|
17
|
+
|
|
18
|
+
# 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)
|
|
19
|
+
bool frame_locked
|
|
20
|
+
|
|
21
|
+
# Additional user-provided metadata associated with the entity. Keys must be unique.
|
|
22
|
+
foxglove_msgs/KeyValuePair[] metadata
|
|
23
|
+
|
|
24
|
+
# Arrow primitives
|
|
25
|
+
foxglove_msgs/ArrowPrimitive[] arrows
|
|
26
|
+
|
|
27
|
+
# Cube primitives
|
|
28
|
+
foxglove_msgs/CubePrimitive[] cubes
|
|
29
|
+
|
|
30
|
+
# Sphere primitives
|
|
31
|
+
foxglove_msgs/SpherePrimitive[] spheres
|
|
32
|
+
|
|
33
|
+
# Cylinder primitives
|
|
34
|
+
foxglove_msgs/CylinderPrimitive[] cylinders
|
|
35
|
+
|
|
36
|
+
# Line primitives
|
|
37
|
+
foxglove_msgs/LinePrimitive[] lines
|
|
38
|
+
|
|
39
|
+
# Triangle list primitives
|
|
40
|
+
foxglove_msgs/TriangleListPrimitive[] triangles
|
|
41
|
+
|
|
42
|
+
# Text primitives
|
|
43
|
+
foxglove_msgs/TextPrimitive[] texts
|
|
44
|
+
|
|
45
|
+
# Model primitives
|
|
46
|
+
foxglove_msgs/ModelPrimitive[] models
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# foxglove_msgs/SceneEntityDeletion
|
|
2
|
+
# (Experimental, subject to change) Command to remove previously published entities
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted.
|
|
7
|
+
time timestamp
|
|
8
|
+
|
|
9
|
+
# Delete the existing entity on the same topic that has the provided `id`
|
|
10
|
+
uint8 MATCHING_ID=0
|
|
11
|
+
|
|
12
|
+
# Delete all existing entities on the same topic
|
|
13
|
+
uint8 ALL=1
|
|
14
|
+
|
|
15
|
+
# Type of deletion action to perform
|
|
16
|
+
uint8 type
|
|
17
|
+
|
|
18
|
+
# Identifier which must match if `type` is `MATCHING_ID`.
|
|
19
|
+
string id
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# foxglove_msgs/SceneUpdate
|
|
2
|
+
# (Experimental, subject to change) An update to the entities displayed in a 3D scene
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Scene entities to delete
|
|
7
|
+
foxglove_msgs/SceneEntityDeletion[] deletions
|
|
8
|
+
|
|
9
|
+
# Scene entities to add or replace
|
|
10
|
+
foxglove_msgs/SceneEntity[] entities
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# foxglove_msgs/SpherePrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a sphere or ellipsoid
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Position of the center of the sphere and orientation of the sphere
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Size (diameter) of the sphere along each axis
|
|
10
|
+
geometry_msgs/Vector3 size
|
|
11
|
+
|
|
12
|
+
# Color of the sphere
|
|
13
|
+
foxglove_msgs/Color color
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# foxglove_msgs/TextPrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a text label
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# 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.
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Whether the text should respect `pose.orientation` (false) or always face the camera (true)
|
|
10
|
+
bool billboard
|
|
11
|
+
|
|
12
|
+
# Font size (height of one line of text)
|
|
13
|
+
float64 font_size
|
|
14
|
+
|
|
15
|
+
# 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)
|
|
16
|
+
bool scale_invariant
|
|
17
|
+
|
|
18
|
+
# Color of the text
|
|
19
|
+
foxglove_msgs/Color color
|
|
20
|
+
|
|
21
|
+
# Text
|
|
22
|
+
string text
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# foxglove_msgs/TriangleListPrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a set of triangles or a surface tiled by triangles
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Origin of triangles relative to reference frame
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Vertices to use for triangles, interpreted as a list of triples (0-1-2, 3-4-5, ...)
|
|
10
|
+
geometry_msgs/Point[] points
|
|
11
|
+
|
|
12
|
+
# Solid color to use for the whole shape. One of `color` or `colors` must be provided.
|
|
13
|
+
foxglove_msgs/Color color
|
|
14
|
+
|
|
15
|
+
# Per-vertex colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
|
|
16
|
+
foxglove_msgs/Color[] colors
|
|
17
|
+
|
|
18
|
+
# Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
19
|
+
#
|
|
20
|
+
# If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
|
|
21
|
+
uint32[] indices
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# foxglove_msgs/msg/ArrowPrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing an arrow
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Length of the arrow shaft
|
|
10
|
+
float64 shaft_length
|
|
11
|
+
|
|
12
|
+
# Diameter of the arrow shaft
|
|
13
|
+
float64 shaft_diameter
|
|
14
|
+
|
|
15
|
+
# Length of the arrow head
|
|
16
|
+
float64 head_length
|
|
17
|
+
|
|
18
|
+
# Diameter of the arrow head
|
|
19
|
+
float64 head_diameter
|
|
20
|
+
|
|
21
|
+
# Color of the arrow
|
|
22
|
+
foxglove_msgs/Color color
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
# Timestamp of calibration data
|
|
7
7
|
builtin_interfaces/Time timestamp
|
|
8
8
|
|
|
9
|
+
# 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.
|
|
10
|
+
string frame_id
|
|
11
|
+
|
|
9
12
|
# Image width
|
|
10
13
|
uint32 width
|
|
11
14
|
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
# Timestamp of image
|
|
7
7
|
builtin_interfaces/Time timestamp
|
|
8
8
|
|
|
9
|
+
# 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.
|
|
10
|
+
string frame_id
|
|
11
|
+
|
|
9
12
|
# Compressed image data
|
|
10
13
|
uint8[] data
|
|
11
14
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# foxglove_msgs/msg/CubePrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a cube or rectangular prism
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Position of the center of the cube and orientation of the cube
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Size of the cube along each axis
|
|
10
|
+
geometry_msgs/Vector3 size
|
|
11
|
+
|
|
12
|
+
# Color of the arrow
|
|
13
|
+
foxglove_msgs/Color color
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# foxglove_msgs/msg/CylinderPrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis.
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Size of the cylinder's bounding box
|
|
10
|
+
geometry_msgs/Vector3 size
|
|
11
|
+
|
|
12
|
+
# 0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box
|
|
13
|
+
float64 bottom_scale
|
|
14
|
+
|
|
15
|
+
# 0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box
|
|
16
|
+
float64 top_scale
|
|
17
|
+
|
|
18
|
+
# Color of the cylinder
|
|
19
|
+
foxglove_msgs/Color color
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# foxglove_msgs/msg/LinePrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a series of points connected by lines
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# 0-1, 1-2, ..., (n-1)-n
|
|
7
|
+
uint8 LINE_STRIP=0
|
|
8
|
+
|
|
9
|
+
# 0-1, 1-2, ..., (n-1)-n, n-0
|
|
10
|
+
uint8 LINE_LOOP=1
|
|
11
|
+
|
|
12
|
+
# 0-1, 2-3, 4-5, ...
|
|
13
|
+
uint8 LINE_LIST=2
|
|
14
|
+
|
|
15
|
+
# Drawing primitive to use for lines
|
|
16
|
+
uint8 type
|
|
17
|
+
|
|
18
|
+
# Origin of lines relative to reference frame
|
|
19
|
+
geometry_msgs/Pose pose
|
|
20
|
+
|
|
21
|
+
# Line thickness
|
|
22
|
+
float64 thickness
|
|
23
|
+
|
|
24
|
+
# Indicates whether `thickness` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false)
|
|
25
|
+
bool scale_invariant
|
|
26
|
+
|
|
27
|
+
# Points along the line
|
|
28
|
+
geometry_msgs/Point[] points
|
|
29
|
+
|
|
30
|
+
# Solid color to use for the whole line. One of `color` or `colors` must be provided.
|
|
31
|
+
foxglove_msgs/Color color
|
|
32
|
+
|
|
33
|
+
# Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided.
|
|
34
|
+
foxglove_msgs/Color[] colors
|
|
35
|
+
|
|
36
|
+
# Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
37
|
+
#
|
|
38
|
+
# If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
|
|
39
|
+
uint32[] indices
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# foxglove_msgs/msg/ModelPrimitive
|
|
2
|
+
# (Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Origin of model relative to reference frame
|
|
7
|
+
geometry_msgs/Pose pose
|
|
8
|
+
|
|
9
|
+
# Scale factor to apply to the model along each axis
|
|
10
|
+
geometry_msgs/Vector3 scale
|
|
11
|
+
|
|
12
|
+
# Solid color to use for the whole model if `override_color` is true.
|
|
13
|
+
foxglove_msgs/Color color
|
|
14
|
+
|
|
15
|
+
# Whether to use the color specified in `color` instead of any materials embedded in the original model.
|
|
16
|
+
bool override_color
|
|
17
|
+
|
|
18
|
+
# URL pointing to model file. One of `url` or `data` should be provided.
|
|
19
|
+
string url
|
|
20
|
+
|
|
21
|
+
# [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.
|
|
22
|
+
string media_type
|
|
23
|
+
|
|
24
|
+
# 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.
|
|
25
|
+
uint8[] data
|
|
@@ -18,8 +18,14 @@ uint8 type
|
|
|
18
18
|
# Points in 2D image coordinates
|
|
19
19
|
foxglove_msgs/Point2[] points
|
|
20
20
|
|
|
21
|
-
# Outline
|
|
21
|
+
# Outline color
|
|
22
|
+
foxglove_msgs/Color outline_color
|
|
23
|
+
|
|
24
|
+
# Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`.
|
|
22
25
|
foxglove_msgs/Color[] outline_colors
|
|
23
26
|
|
|
24
27
|
# Fill color
|
|
25
28
|
foxglove_msgs/Color fill_color
|
|
29
|
+
|
|
30
|
+
# Stroke thickness
|
|
31
|
+
float64 thickness
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
# Timestamp of image
|
|
7
7
|
builtin_interfaces/Time timestamp
|
|
8
8
|
|
|
9
|
+
# 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.
|
|
10
|
+
string frame_id
|
|
11
|
+
|
|
9
12
|
# Image width
|
|
10
13
|
uint32 width
|
|
11
14
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# foxglove_msgs/msg/SceneEntity
|
|
2
|
+
# (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.
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Timestamp of the entity
|
|
7
|
+
builtin_interfaces/Time timestamp
|
|
8
|
+
|
|
9
|
+
# Frame of reference
|
|
10
|
+
string frame_id
|
|
11
|
+
|
|
12
|
+
# Identifier for the entity. A entity will replace any prior entity on the same topic with the same `id`.
|
|
13
|
+
string id
|
|
14
|
+
|
|
15
|
+
# 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.
|
|
16
|
+
builtin_interfaces/Duration lifetime
|
|
17
|
+
|
|
18
|
+
# 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)
|
|
19
|
+
bool frame_locked
|
|
20
|
+
|
|
21
|
+
# Additional user-provided metadata associated with the entity. Keys must be unique.
|
|
22
|
+
foxglove_msgs/KeyValuePair[] metadata
|
|
23
|
+
|
|
24
|
+
# Arrow primitives
|
|
25
|
+
foxglove_msgs/ArrowPrimitive[] arrows
|
|
26
|
+
|
|
27
|
+
# Cube primitives
|
|
28
|
+
foxglove_msgs/CubePrimitive[] cubes
|
|
29
|
+
|
|
30
|
+
# Sphere primitives
|
|
31
|
+
foxglove_msgs/SpherePrimitive[] spheres
|
|
32
|
+
|
|
33
|
+
# Cylinder primitives
|
|
34
|
+
foxglove_msgs/CylinderPrimitive[] cylinders
|
|
35
|
+
|
|
36
|
+
# Line primitives
|
|
37
|
+
foxglove_msgs/LinePrimitive[] lines
|
|
38
|
+
|
|
39
|
+
# Triangle list primitives
|
|
40
|
+
foxglove_msgs/TriangleListPrimitive[] triangles
|
|
41
|
+
|
|
42
|
+
# Text primitives
|
|
43
|
+
foxglove_msgs/TextPrimitive[] texts
|
|
44
|
+
|
|
45
|
+
# Model primitives
|
|
46
|
+
foxglove_msgs/ModelPrimitive[] models
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# foxglove_msgs/msg/SceneEntityDeletion
|
|
2
|
+
# (Experimental, subject to change) Command to remove previously published entities
|
|
3
|
+
|
|
4
|
+
# Generated by https://github.com/foxglove/schemas
|
|
5
|
+
|
|
6
|
+
# Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted.
|
|
7
|
+
builtin_interfaces/Time timestamp
|
|
8
|
+
|
|
9
|
+
# Delete the existing entity on the same topic that has the provided `id`
|
|
10
|
+
uint8 MATCHING_ID=0
|
|
11
|
+
|
|
12
|
+
# Delete all existing entities on the same topic
|
|
13
|
+
uint8 ALL=1
|
|
14
|
+
|
|
15
|
+
# Type of deletion action to perform
|
|
16
|
+
uint8 type
|
|
17
|
+
|
|
18
|
+
# Identifier which must match if `type` is `MATCHING_ID`.
|
|
19
|
+
string id
|