@foxglove/schemas 0.7.0 → 0.7.2
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/.github/workflows/ci.yml +39 -1
- package/.vscode/settings.json +10 -1
- package/internal/schemas.d.ts.map +1 -1
- package/internal/schemas.js +18 -18
- package/internal/schemas.js.map +1 -1
- package/internal/schemas.ts +20 -24
- package/package.json +1 -1
- package/python/Makefile +39 -0
- package/python/Pipfile +17 -0
- package/python/Pipfile.lock +329 -0
- package/python/foxglove-schemas-protobuf/README.md +23 -0
- package/python/foxglove-schemas-protobuf/foxglove_schemas_protobuf/__init__.py +0 -0
- package/python/foxglove-schemas-protobuf/foxglove_schemas_protobuf/py.typed +0 -0
- package/python/foxglove-schemas-protobuf/pyproject.toml +11 -0
- package/python/foxglove-schemas-protobuf/setup.cfg +21 -0
- package/python/foxglove-schemas-protobuf/tests/test_schemas.py +5 -0
- package/schemas/README.md +21 -15
- package/schemas/jsonschema/ArrowPrimitive.json +1 -1
- package/schemas/jsonschema/CameraCalibration.json +2 -2
- package/schemas/jsonschema/CompressedImage.json +1 -1
- package/schemas/jsonschema/CubePrimitive.json +1 -1
- package/schemas/jsonschema/CylinderPrimitive.json +1 -1
- package/schemas/jsonschema/KeyValuePair.json +1 -1
- package/schemas/jsonschema/LinePrimitive.json +1 -1
- package/schemas/jsonschema/ModelPrimitive.json +1 -1
- package/schemas/jsonschema/RawImage.json +1 -1
- package/schemas/jsonschema/SceneEntity.json +10 -10
- package/schemas/jsonschema/SceneEntityDeletion.json +1 -1
- package/schemas/jsonschema/SceneUpdate.json +12 -12
- package/schemas/jsonschema/SpherePrimitive.json +1 -1
- package/schemas/jsonschema/TextPrimitive.json +1 -1
- package/schemas/jsonschema/TriangleListPrimitive.json +1 -1
- package/schemas/jsonschema/index.d.ts +4510 -35
- package/schemas/jsonschema/index.d.ts.map +1 -1
- package/schemas/jsonschema/index.js +36 -36
- package/schemas/jsonschema/index.js.map +1 -1
- package/schemas/jsonschema/index.ts +71 -71
- package/schemas/proto/foxglove/ArrowPrimitive.proto +1 -1
- package/schemas/proto/foxglove/CameraCalibration.proto +3 -1
- package/schemas/proto/foxglove/CompressedImage.proto +2 -0
- package/schemas/proto/foxglove/CubePrimitive.proto +1 -1
- package/schemas/proto/foxglove/CylinderPrimitive.proto +1 -1
- package/schemas/proto/foxglove/KeyValuePair.proto +1 -1
- package/schemas/proto/foxglove/LinePrimitive.proto +2 -2
- package/schemas/proto/foxglove/ModelPrimitive.proto +1 -1
- package/schemas/proto/foxglove/RawImage.proto +2 -0
- package/schemas/proto/foxglove/SceneEntity.proto +1 -1
- package/schemas/proto/foxglove/SceneEntityDeletion.proto +2 -2
- package/schemas/proto/foxglove/SceneUpdate.proto +1 -1
- package/schemas/proto/foxglove/SpherePrimitive.proto +1 -1
- package/schemas/proto/foxglove/TextPrimitive.proto +1 -1
- package/schemas/proto/foxglove/TriangleListPrimitive.proto +1 -1
- package/schemas/ros1/ArrowPrimitive.msg +1 -1
- package/schemas/ros1/CameraCalibration.msg +3 -1
- package/schemas/ros1/CompressedImage.msg +2 -0
- package/schemas/ros1/CubePrimitive.msg +1 -1
- package/schemas/ros1/CylinderPrimitive.msg +1 -1
- package/schemas/ros1/KeyValuePair.msg +1 -1
- package/schemas/ros1/LinePrimitive.msg +1 -1
- package/schemas/ros1/ModelPrimitive.msg +1 -1
- package/schemas/ros1/RawImage.msg +2 -0
- package/schemas/ros1/SceneEntity.msg +1 -1
- package/schemas/ros1/SceneEntityDeletion.msg +1 -1
- package/schemas/ros1/SceneUpdate.msg +1 -1
- package/schemas/ros1/SpherePrimitive.msg +1 -1
- package/schemas/ros1/TextPrimitive.msg +1 -1
- package/schemas/ros1/TriangleListPrimitive.msg +1 -1
- package/schemas/ros2/ArrowPrimitive.msg +1 -1
- package/schemas/ros2/CameraCalibration.msg +3 -1
- package/schemas/ros2/CompressedImage.msg +2 -0
- package/schemas/ros2/CubePrimitive.msg +1 -1
- package/schemas/ros2/CylinderPrimitive.msg +1 -1
- package/schemas/ros2/KeyValuePair.msg +1 -1
- package/schemas/ros2/LinePrimitive.msg +1 -1
- package/schemas/ros2/ModelPrimitive.msg +1 -1
- package/schemas/ros2/RawImage.msg +2 -0
- package/schemas/ros2/SceneEntity.msg +1 -1
- package/schemas/ros2/SceneEntityDeletion.msg +1 -1
- package/schemas/ros2/SceneUpdate.msg +1 -1
- package/schemas/ros2/SpherePrimitive.msg +1 -1
- package/schemas/ros2/TextPrimitive.msg +1 -1
- package/schemas/ros2/TriangleListPrimitive.msg +1 -1
- package/schemas/typescript/ArrowPrimitive.d.ts +1 -1
- package/schemas/typescript/ArrowPrimitive.d.ts.map +1 -1
- package/schemas/typescript/ArrowPrimitive.ts +1 -1
- package/schemas/typescript/CameraCalibration.d.ts +6 -2
- package/schemas/typescript/CameraCalibration.d.ts.map +1 -1
- package/schemas/typescript/CameraCalibration.ts +6 -2
- package/schemas/typescript/CompressedImage.d.ts +5 -1
- package/schemas/typescript/CompressedImage.d.ts.map +1 -1
- package/schemas/typescript/CompressedImage.ts +5 -1
- package/schemas/typescript/CubePrimitive.d.ts +1 -1
- package/schemas/typescript/CubePrimitive.d.ts.map +1 -1
- package/schemas/typescript/CubePrimitive.ts +1 -1
- package/schemas/typescript/CylinderPrimitive.d.ts +1 -1
- package/schemas/typescript/CylinderPrimitive.d.ts.map +1 -1
- package/schemas/typescript/CylinderPrimitive.ts +1 -1
- package/schemas/typescript/KeyValuePair.d.ts +1 -1
- package/schemas/typescript/KeyValuePair.d.ts.map +1 -1
- package/schemas/typescript/KeyValuePair.ts +1 -1
- package/schemas/typescript/LinePrimitive.d.ts +1 -1
- package/schemas/typescript/LinePrimitive.d.ts.map +1 -1
- package/schemas/typescript/LinePrimitive.ts +1 -1
- package/schemas/typescript/LineType.d.ts +1 -1
- package/schemas/typescript/LineType.d.ts.map +1 -1
- package/schemas/typescript/LineType.js +1 -1
- package/schemas/typescript/LineType.js.map +1 -1
- package/schemas/typescript/LineType.ts +1 -1
- package/schemas/typescript/ModelPrimitive.d.ts +1 -1
- package/schemas/typescript/ModelPrimitive.d.ts.map +1 -1
- package/schemas/typescript/ModelPrimitive.ts +1 -1
- package/schemas/typescript/RawImage.d.ts +5 -1
- package/schemas/typescript/RawImage.d.ts.map +1 -1
- package/schemas/typescript/RawImage.ts +5 -1
- package/schemas/typescript/SceneEntity.d.ts +1 -1
- package/schemas/typescript/SceneEntity.d.ts.map +1 -1
- package/schemas/typescript/SceneEntity.ts +1 -1
- package/schemas/typescript/SceneEntityDeletion.d.ts +1 -1
- package/schemas/typescript/SceneEntityDeletion.d.ts.map +1 -1
- package/schemas/typescript/SceneEntityDeletion.ts +1 -1
- package/schemas/typescript/SceneEntityDeletionType.d.ts +1 -1
- package/schemas/typescript/SceneEntityDeletionType.d.ts.map +1 -1
- package/schemas/typescript/SceneEntityDeletionType.js +1 -1
- package/schemas/typescript/SceneEntityDeletionType.js.map +1 -1
- package/schemas/typescript/SceneEntityDeletionType.ts +1 -1
- package/schemas/typescript/SceneUpdate.d.ts +1 -1
- package/schemas/typescript/SceneUpdate.d.ts.map +1 -1
- package/schemas/typescript/SceneUpdate.ts +1 -1
- package/schemas/typescript/SpherePrimitive.d.ts +1 -1
- package/schemas/typescript/SpherePrimitive.d.ts.map +1 -1
- package/schemas/typescript/SpherePrimitive.ts +1 -1
- package/schemas/typescript/TextPrimitive.d.ts +1 -1
- package/schemas/typescript/TextPrimitive.d.ts.map +1 -1
- package/schemas/typescript/TextPrimitive.ts +1 -1
- package/schemas/typescript/TriangleListPrimitive.d.ts +1 -1
- package/schemas/typescript/TriangleListPrimitive.d.ts.map +1 -1
- package/schemas/typescript/TriangleListPrimitive.ts +1 -1
- package/scripts/updateGeneratedFiles.js +1 -1
- package/scripts/updateGeneratedFiles.js.map +1 -1
- package/scripts/updateGeneratedFiles.ts +1 -1
|
@@ -6,9 +6,9 @@ import "google/protobuf/timestamp.proto";
|
|
|
6
6
|
|
|
7
7
|
package foxglove;
|
|
8
8
|
|
|
9
|
-
//
|
|
9
|
+
// Command to remove previously published entities
|
|
10
10
|
message SceneEntityDeletion {
|
|
11
|
-
//
|
|
11
|
+
// An enumeration indicating which entities should match a SceneEntityDeletion command
|
|
12
12
|
enum Type {
|
|
13
13
|
// Delete the existing entity on the same topic that has the provided `id`
|
|
14
14
|
MATCHING_ID = 0;
|
|
@@ -7,7 +7,7 @@ import "foxglove/SceneEntityDeletion.proto";
|
|
|
7
7
|
|
|
8
8
|
package foxglove;
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// An update to the entities displayed in a 3D scene
|
|
11
11
|
message SceneUpdate {
|
|
12
12
|
// Scene entities to delete
|
|
13
13
|
repeated foxglove.SceneEntityDeletion deletions = 1;
|
|
@@ -8,7 +8,7 @@ import "foxglove/Vector3.proto";
|
|
|
8
8
|
|
|
9
9
|
package foxglove;
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// A primitive representing a sphere or ellipsoid
|
|
12
12
|
message SpherePrimitive {
|
|
13
13
|
// Position of the center of the sphere and orientation of the sphere
|
|
14
14
|
foxglove.Pose pose = 1;
|
|
@@ -7,7 +7,7 @@ import "foxglove/Pose.proto";
|
|
|
7
7
|
|
|
8
8
|
package foxglove;
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// A primitive representing a text label
|
|
11
11
|
message TextPrimitive {
|
|
12
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
13
|
foxglove.Pose pose = 1;
|
|
@@ -8,7 +8,7 @@ import "foxglove/Pose.proto";
|
|
|
8
8
|
|
|
9
9
|
package foxglove;
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// A primitive representing a set of triangles or a surface tiled by triangles
|
|
12
12
|
message TriangleListPrimitive {
|
|
13
13
|
// Origin of triangles relative to reference frame
|
|
14
14
|
foxglove.Pose pose = 1;
|
|
@@ -16,6 +16,8 @@ uint32 width
|
|
|
16
16
|
uint32 height
|
|
17
17
|
|
|
18
18
|
# Name of distortion model
|
|
19
|
+
#
|
|
20
|
+
# Supported values: `plumb_bob` and `rational_polynomial`
|
|
19
21
|
string distortion_model
|
|
20
22
|
|
|
21
23
|
# Distortion parameters
|
|
@@ -34,7 +36,7 @@ float64[] D
|
|
|
34
36
|
# ```
|
|
35
37
|
float64[9] K
|
|
36
38
|
|
|
37
|
-
# Rectification matrix (3x3 row-major matrix)
|
|
39
|
+
# Rectification matrix (stereo cameras only, 3x3 row-major matrix)
|
|
38
40
|
#
|
|
39
41
|
# A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
40
42
|
float64[9] R
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# foxglove_msgs/CylinderPrimitive
|
|
2
|
-
#
|
|
2
|
+
# A primitive representing a cylinder, elliptic cylinder, or truncated cone
|
|
3
3
|
|
|
4
4
|
# Generated by https://github.com/foxglove/schemas
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# foxglove_msgs/ModelPrimitive
|
|
2
|
-
#
|
|
2
|
+
# A primitive representing a 3D model file loaded from an external URL or embedded data
|
|
3
3
|
|
|
4
4
|
# Generated by https://github.com/foxglove/schemas
|
|
5
5
|
|
|
@@ -16,6 +16,8 @@ uint32 width
|
|
|
16
16
|
uint32 height
|
|
17
17
|
|
|
18
18
|
# Encoding of the raw image data
|
|
19
|
+
#
|
|
20
|
+
# Supported values: `8UC1`, `8UC3`, `16UC1`, `32FC1`, `bayer_bggr8`, `bayer_gbrg8`, `bayer_grbg8`, `bayer_rggb8`, `bgr8`, `bgra8`, `mono8`, `mono16`, `rgb8`, `rgba8`, `yuv422`
|
|
19
21
|
string encoding
|
|
20
22
|
|
|
21
23
|
# Byte length of a single row
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# foxglove_msgs/SceneEntity
|
|
2
|
-
#
|
|
2
|
+
# A visual element in a 3D scene. An entity may be composed of multiple primitives which all share the same frame of reference.
|
|
3
3
|
|
|
4
4
|
# Generated by https://github.com/foxglove/schemas
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# foxglove_msgs/TriangleListPrimitive
|
|
2
|
-
#
|
|
2
|
+
# A primitive representing a set of triangles or a surface tiled by triangles
|
|
3
3
|
|
|
4
4
|
# Generated by https://github.com/foxglove/schemas
|
|
5
5
|
|
|
@@ -16,6 +16,8 @@ uint32 width
|
|
|
16
16
|
uint32 height
|
|
17
17
|
|
|
18
18
|
# Name of distortion model
|
|
19
|
+
#
|
|
20
|
+
# Supported values: `plumb_bob` and `rational_polynomial`
|
|
19
21
|
string distortion_model
|
|
20
22
|
|
|
21
23
|
# Distortion parameters
|
|
@@ -34,7 +36,7 @@ float64[] d
|
|
|
34
36
|
# ```
|
|
35
37
|
float64[9] k
|
|
36
38
|
|
|
37
|
-
# Rectification matrix (3x3 row-major matrix)
|
|
39
|
+
# Rectification matrix (stereo cameras only, 3x3 row-major matrix)
|
|
38
40
|
#
|
|
39
41
|
# A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
40
42
|
float64[9] r
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# foxglove_msgs/msg/CylinderPrimitive
|
|
2
|
-
#
|
|
2
|
+
# A primitive representing a cylinder, elliptic cylinder, or truncated cone
|
|
3
3
|
|
|
4
4
|
# Generated by https://github.com/foxglove/schemas
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# foxglove_msgs/msg/ModelPrimitive
|
|
2
|
-
#
|
|
2
|
+
# A primitive representing a 3D model file loaded from an external URL or embedded data
|
|
3
3
|
|
|
4
4
|
# Generated by https://github.com/foxglove/schemas
|
|
5
5
|
|
|
@@ -16,6 +16,8 @@ uint32 width
|
|
|
16
16
|
uint32 height
|
|
17
17
|
|
|
18
18
|
# Encoding of the raw image data
|
|
19
|
+
#
|
|
20
|
+
# Supported values: `8UC1`, `8UC3`, `16UC1`, `32FC1`, `bayer_bggr8`, `bayer_gbrg8`, `bayer_grbg8`, `bayer_rggb8`, `bgr8`, `bgra8`, `mono8`, `mono16`, `rgb8`, `rgba8`, `yuv422`
|
|
19
21
|
string encoding
|
|
20
22
|
|
|
21
23
|
# Byte length of a single row
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# foxglove_msgs/msg/SceneEntity
|
|
2
|
-
#
|
|
2
|
+
# A visual element in a 3D scene. An entity may be composed of multiple primitives which all share the same frame of reference.
|
|
3
3
|
|
|
4
4
|
# Generated by https://github.com/foxglove/schemas
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# foxglove_msgs/msg/TriangleListPrimitive
|
|
2
|
-
#
|
|
2
|
+
# A primitive representing a set of triangles or a surface tiled by triangles
|
|
3
3
|
|
|
4
4
|
# Generated by https://github.com/foxglove/schemas
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Color } from "./Color";
|
|
2
2
|
import { Pose } from "./Pose";
|
|
3
|
-
/**
|
|
3
|
+
/** A primitive representing an arrow */
|
|
4
4
|
export declare type ArrowPrimitive = {
|
|
5
5
|
/** Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction. */
|
|
6
6
|
pose: Pose;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowPrimitive.d.ts","sourceRoot":"","sources":["ArrowPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,
|
|
1
|
+
{"version":3,"file":"ArrowPrimitive.d.ts","sourceRoot":"","sources":["ArrowPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,wCAAwC;AACxC,oBAAY,cAAc,GAAG;IAC3B,kIAAkI;IAClI,IAAI,EAAE,IAAI,CAAC;IAEX,gCAAgC;IAChC,YAAY,EAAE,MAAM,CAAC;IAErB,kCAAkC;IAClC,cAAc,EAAE,MAAM,CAAC;IAEvB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IAEpB,iCAAiC;IACjC,aAAa,EAAE,MAAM,CAAC;IAEtB,yBAAyB;IACzB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { Color } from "./Color";
|
|
4
4
|
import { Pose } from "./Pose";
|
|
5
5
|
|
|
6
|
-
/**
|
|
6
|
+
/** A primitive representing an arrow */
|
|
7
7
|
export type ArrowPrimitive = {
|
|
8
8
|
/** Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction. */
|
|
9
9
|
pose: Pose;
|
|
@@ -9,7 +9,11 @@ export declare type CameraCalibration = {
|
|
|
9
9
|
width: number;
|
|
10
10
|
/** Image height */
|
|
11
11
|
height: number;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Name of distortion model
|
|
14
|
+
*
|
|
15
|
+
* Supported values: `plumb_bob` and `rational_polynomial`
|
|
16
|
+
*/
|
|
13
17
|
distortion_model: string;
|
|
14
18
|
/** Distortion parameters */
|
|
15
19
|
D: number[];
|
|
@@ -28,7 +32,7 @@ export declare type CameraCalibration = {
|
|
|
28
32
|
*/
|
|
29
33
|
K: [number, number, number, number, number, number, number, number, number];
|
|
30
34
|
/**
|
|
31
|
-
* Rectification matrix (3x3 row-major matrix)
|
|
35
|
+
* Rectification matrix (stereo cameras only, 3x3 row-major matrix)
|
|
32
36
|
*
|
|
33
37
|
* A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
34
38
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CameraCalibration.d.ts","sourceRoot":"","sources":["CameraCalibration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,oCAAoC;AACpC,oBAAY,iBAAiB,GAAG;IAC9B,oCAAoC;IACpC,SAAS,EAAE,IAAI,CAAC;IAEhB,sMAAsM;IACtM,QAAQ,EAAE,MAAM,CAAC;IAEjB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IAEd,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IAEf
|
|
1
|
+
{"version":3,"file":"CameraCalibration.d.ts","sourceRoot":"","sources":["CameraCalibration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,oCAAoC;AACpC,oBAAY,iBAAiB,GAAG;IAC9B,oCAAoC;IACpC,SAAS,EAAE,IAAI,CAAC;IAEhB,sMAAsM;IACtM,QAAQ,EAAE,MAAM,CAAC;IAEjB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IAEd,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB,4BAA4B;IAC5B,CAAC,EAAE,MAAM,EAAE,CAAC;IAEZ;;;;;;;;;;;;OAYG;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAE5E;;;;OAIG;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CACrG,CAAC"}
|
|
@@ -16,7 +16,11 @@ export type CameraCalibration = {
|
|
|
16
16
|
/** Image height */
|
|
17
17
|
height: number;
|
|
18
18
|
|
|
19
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Name of distortion model
|
|
21
|
+
*
|
|
22
|
+
* Supported values: `plumb_bob` and `rational_polynomial`
|
|
23
|
+
*/
|
|
20
24
|
distortion_model: string;
|
|
21
25
|
|
|
22
26
|
/** Distortion parameters */
|
|
@@ -38,7 +42,7 @@ export type CameraCalibration = {
|
|
|
38
42
|
K: [number, number, number, number, number, number, number, number, number];
|
|
39
43
|
|
|
40
44
|
/**
|
|
41
|
-
* Rectification matrix (3x3 row-major matrix)
|
|
45
|
+
* Rectification matrix (stereo cameras only, 3x3 row-major matrix)
|
|
42
46
|
*
|
|
43
47
|
* A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
44
48
|
*/
|
|
@@ -7,7 +7,11 @@ export declare type CompressedImage = {
|
|
|
7
7
|
frame_id: string;
|
|
8
8
|
/** Compressed image data */
|
|
9
9
|
data: Uint8Array;
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Image format
|
|
12
|
+
*
|
|
13
|
+
* Supported values: `webp`, `jpeg`, `png`
|
|
14
|
+
*/
|
|
11
15
|
format: string;
|
|
12
16
|
};
|
|
13
17
|
//# sourceMappingURL=CompressedImage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompressedImage.d.ts","sourceRoot":"","sources":["CompressedImage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,yBAAyB;AACzB,oBAAY,eAAe,GAAG;IAC5B,yBAAyB;IACzB,SAAS,EAAE,IAAI,CAAC;IAEhB,qMAAqM;IACrM,QAAQ,EAAE,MAAM,CAAC;IAEjB,4BAA4B;IAC5B,IAAI,EAAE,UAAU,CAAC;IAEjB
|
|
1
|
+
{"version":3,"file":"CompressedImage.d.ts","sourceRoot":"","sources":["CompressedImage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,yBAAyB;AACzB,oBAAY,eAAe,GAAG;IAC5B,yBAAyB;IACzB,SAAS,EAAE,IAAI,CAAC;IAEhB,qMAAqM;IACrM,QAAQ,EAAE,MAAM,CAAC;IAEjB,4BAA4B;IAC5B,IAAI,EAAE,UAAU,CAAC;IAEjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Color } from "./Color";
|
|
2
2
|
import { Pose } from "./Pose";
|
|
3
3
|
import { Vector3 } from "./Vector3";
|
|
4
|
-
/**
|
|
4
|
+
/** A primitive representing a cube or rectangular prism */
|
|
5
5
|
export declare type CubePrimitive = {
|
|
6
6
|
/** Position of the center of the cube and orientation of the cube */
|
|
7
7
|
pose: Pose;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CubePrimitive.d.ts","sourceRoot":"","sources":["CubePrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,
|
|
1
|
+
{"version":3,"file":"CubePrimitive.d.ts","sourceRoot":"","sources":["CubePrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,2DAA2D;AAC3D,oBAAY,aAAa,GAAG;IAC1B,qEAAqE;IACrE,IAAI,EAAE,IAAI,CAAC;IAEX,uCAAuC;IACvC,IAAI,EAAE,OAAO,CAAC;IAEd,yBAAyB;IACzB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { Color } from "./Color";
|
|
|
4
4
|
import { Pose } from "./Pose";
|
|
5
5
|
import { Vector3 } from "./Vector3";
|
|
6
6
|
|
|
7
|
-
/**
|
|
7
|
+
/** A primitive representing a cube or rectangular prism */
|
|
8
8
|
export type CubePrimitive = {
|
|
9
9
|
/** Position of the center of the cube and orientation of the cube */
|
|
10
10
|
pose: Pose;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Color } from "./Color";
|
|
2
2
|
import { Pose } from "./Pose";
|
|
3
3
|
import { Vector3 } from "./Vector3";
|
|
4
|
-
/**
|
|
4
|
+
/** A primitive representing a cylinder, elliptic cylinder, or truncated cone */
|
|
5
5
|
export declare type CylinderPrimitive = {
|
|
6
6
|
/** Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis. */
|
|
7
7
|
pose: Pose;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CylinderPrimitive.d.ts","sourceRoot":"","sources":["CylinderPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,
|
|
1
|
+
{"version":3,"file":"CylinderPrimitive.d.ts","sourceRoot":"","sources":["CylinderPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,gFAAgF;AAChF,oBAAY,iBAAiB,GAAG;IAC9B,gIAAgI;IAChI,IAAI,EAAE,IAAI,CAAC;IAEX,0CAA0C;IAC1C,IAAI,EAAE,OAAO,CAAC;IAEd,yGAAyG;IACzG,YAAY,EAAE,MAAM,CAAC;IAErB,mGAAmG;IACnG,SAAS,EAAE,MAAM,CAAC;IAElB,4BAA4B;IAC5B,KAAK,EAAE,KAAK,CAAC;CACd,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { Color } from "./Color";
|
|
|
4
4
|
import { Pose } from "./Pose";
|
|
5
5
|
import { Vector3 } from "./Vector3";
|
|
6
6
|
|
|
7
|
-
/**
|
|
7
|
+
/** A primitive representing a cylinder, elliptic cylinder, or truncated cone */
|
|
8
8
|
export type CylinderPrimitive = {
|
|
9
9
|
/** Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis. */
|
|
10
10
|
pose: Pose;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyValuePair.d.ts","sourceRoot":"","sources":["KeyValuePair.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"KeyValuePair.d.ts","sourceRoot":"","sources":["KeyValuePair.ts"],"names":[],"mappings":"AAEA,sCAAsC;AACtC,oBAAY,YAAY,GAAG;IACzB,UAAU;IACV,GAAG,EAAE,MAAM,CAAC;IAEZ,YAAY;IACZ,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { Color } from "./Color";
|
|
|
2
2
|
import { LineType } from "./LineType";
|
|
3
3
|
import { Point3 } from "./Point3";
|
|
4
4
|
import { Pose } from "./Pose";
|
|
5
|
-
/**
|
|
5
|
+
/** A primitive representing a series of points connected by lines */
|
|
6
6
|
export declare type LinePrimitive = {
|
|
7
7
|
/** Drawing primitive to use for lines */
|
|
8
8
|
type: LineType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinePrimitive.d.ts","sourceRoot":"","sources":["LinePrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,
|
|
1
|
+
{"version":3,"file":"LinePrimitive.d.ts","sourceRoot":"","sources":["LinePrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,qEAAqE;AACrE,oBAAY,aAAa,GAAG;IAC1B,yCAAyC;IACzC,IAAI,EAAE,QAAQ,CAAC;IAEf,kDAAkD;IAClD,IAAI,EAAE,IAAI,CAAC;IAEX,qBAAqB;IACrB,SAAS,EAAE,MAAM,CAAC;IAElB,gKAAgK;IAChK,eAAe,EAAE,OAAO,CAAC;IAEzB,4BAA4B;IAC5B,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,0FAA0F;IAC1F,KAAK,EAAE,KAAK,CAAC;IAEb,2HAA2H;IAC3H,MAAM,EAAE,KAAK,EAAE,CAAC;IAEhB;;;;OAIG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { LineType } from "./LineType";
|
|
|
5
5
|
import { Point3 } from "./Point3";
|
|
6
6
|
import { Pose } from "./Pose";
|
|
7
7
|
|
|
8
|
-
/**
|
|
8
|
+
/** A primitive representing a series of points connected by lines */
|
|
9
9
|
export type LinePrimitive = {
|
|
10
10
|
/** Drawing primitive to use for lines */
|
|
11
11
|
type: LineType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** An enumeration indicating how input points should be interpreted to create lines */
|
|
2
2
|
export declare enum LineType {
|
|
3
3
|
/** 0-1, 1-2, ..., (n-1)-n */
|
|
4
4
|
LINE_STRIP = 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineType.d.ts","sourceRoot":"","sources":["LineType.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"LineType.d.ts","sourceRoot":"","sources":["LineType.ts"],"names":[],"mappings":"AAEA,uFAAuF;AACvF,oBAAY,QAAQ;IAClB,6BAA6B;IAC7B,UAAU,IAAI;IAEd,kCAAkC;IAClC,SAAS,IAAI;IAEb,yBAAyB;IACzB,SAAS,IAAI;CACd"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Generated by https://github.com/foxglove/schemas
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.LineType = void 0;
|
|
5
|
-
/**
|
|
5
|
+
/** An enumeration indicating how input points should be interpreted to create lines */
|
|
6
6
|
var LineType;
|
|
7
7
|
(function (LineType) {
|
|
8
8
|
/** 0-1, 1-2, ..., (n-1)-n */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineType.js","sourceRoot":"","sources":["LineType.ts"],"names":[],"mappings":";AAAA,mDAAmD;;;AAEnD,
|
|
1
|
+
{"version":3,"file":"LineType.js","sourceRoot":"","sources":["LineType.ts"],"names":[],"mappings":";AAAA,mDAAmD;;;AAEnD,uFAAuF;AACvF,IAAY,QASX;AATD,WAAY,QAAQ;IAClB,6BAA6B;IAC7B,mDAAc,CAAA;IAEd,kCAAkC;IAClC,iDAAa,CAAA;IAEb,yBAAyB;IACzB,iDAAa,CAAA;AACf,CAAC,EATW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QASnB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by https://github.com/foxglove/schemas
|
|
2
2
|
|
|
3
|
-
/**
|
|
3
|
+
/** An enumeration indicating how input points should be interpreted to create lines */
|
|
4
4
|
export enum LineType {
|
|
5
5
|
/** 0-1, 1-2, ..., (n-1)-n */
|
|
6
6
|
LINE_STRIP = 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Color } from "./Color";
|
|
2
2
|
import { Pose } from "./Pose";
|
|
3
3
|
import { Vector3 } from "./Vector3";
|
|
4
|
-
/**
|
|
4
|
+
/** A primitive representing a 3D model file loaded from an external URL or embedded data */
|
|
5
5
|
export declare type ModelPrimitive = {
|
|
6
6
|
/** Origin of model relative to reference frame */
|
|
7
7
|
pose: Pose;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelPrimitive.d.ts","sourceRoot":"","sources":["ModelPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,
|
|
1
|
+
{"version":3,"file":"ModelPrimitive.d.ts","sourceRoot":"","sources":["ModelPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,4FAA4F;AAC5F,oBAAY,cAAc,GAAG;IAC3B,kDAAkD;IAClD,IAAI,EAAE,IAAI,CAAC;IAEX,yDAAyD;IACzD,KAAK,EAAE,OAAO,CAAC;IAEf,0EAA0E;IAC1E,KAAK,EAAE,KAAK,CAAC;IAEb,6GAA6G;IAC7G,cAAc,EAAE,OAAO,CAAC;IAExB,6EAA6E;IAC7E,GAAG,EAAE,MAAM,CAAC;IAEZ,uPAAuP;IACvP,UAAU,EAAE,MAAM,CAAC;IAEnB,mJAAmJ;IACnJ,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { Color } from "./Color";
|
|
|
4
4
|
import { Pose } from "./Pose";
|
|
5
5
|
import { Vector3 } from "./Vector3";
|
|
6
6
|
|
|
7
|
-
/**
|
|
7
|
+
/** A primitive representing a 3D model file loaded from an external URL or embedded data */
|
|
8
8
|
export type ModelPrimitive = {
|
|
9
9
|
/** Origin of model relative to reference frame */
|
|
10
10
|
pose: Pose;
|
|
@@ -9,7 +9,11 @@ export declare type RawImage = {
|
|
|
9
9
|
width: number;
|
|
10
10
|
/** Image height */
|
|
11
11
|
height: number;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Encoding of the raw image data
|
|
14
|
+
*
|
|
15
|
+
* Supported values: `8UC1`, `8UC3`, `16UC1`, `32FC1`, `bayer_bggr8`, `bayer_gbrg8`, `bayer_grbg8`, `bayer_rggb8`, `bgr8`, `bgra8`, `mono8`, `mono16`, `rgb8`, `rgba8`, `yuv422`
|
|
16
|
+
*/
|
|
13
17
|
encoding: string;
|
|
14
18
|
/** Byte length of a single row */
|
|
15
19
|
step: number;
|