@foxglove/schemas 1.11.0 → 1.12.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/dist/internal/generatePyclass.d.ts +9 -3
- package/dist/internal/generatePyclass.d.ts.map +1 -1
- package/dist/internal/generatePyclass.js +98 -34
- package/dist/internal/generatePyclass.js.map +1 -1
- package/dist/internal/generatePyclass.test.js +14 -14
- package/dist/internal/generatePyclass.test.js.map +1 -1
- package/dist/internal/generateRos.d.ts.map +1 -1
- package/dist/internal/generateRos.js +9 -1
- package/dist/internal/generateRos.js.map +1 -1
- package/dist/internal/generateRos.test.js +6 -6
- package/dist/internal/generateSdkCpp.d.ts.map +1 -1
- package/dist/internal/generateSdkCpp.js +28 -10
- package/dist/internal/generateSdkCpp.js.map +1 -1
- package/dist/internal/schemas.d.ts +1 -0
- package/dist/internal/schemas.d.ts.map +1 -1
- package/dist/internal/schemas.js +56 -5
- package/dist/internal/schemas.js.map +1 -1
- package/dist/jsonschema/index.d.ts +69 -0
- package/dist/jsonschema/index.d.ts.map +1 -1
- package/dist/jsonschema/index.js +91 -10
- package/dist/jsonschema/index.js.map +1 -1
- package/dist/types/JointState.d.ts +4 -4
- package/dist/types/JointState.d.ts.map +1 -1
- package/dist/types/LocationFix.d.ts +5 -0
- package/dist/types/LocationFix.d.ts.map +1 -1
- package/dist/types/RawImage.d.ts +10 -1
- package/dist/types/RawImage.d.ts.map +1 -1
- package/dist/types/Velocity3.d.ts +10 -0
- package/dist/types/Velocity3.d.ts.map +1 -0
- package/dist/types/Velocity3.js +5 -0
- package/dist/types/Velocity3.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/jsonschema/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Generated by https://github.com/foxglove/foxglove-sdk
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Time = exports.Vector3 = exports.Vector2 = exports.TriangleListPrimitive = exports.Timestamp = exports.TextPrimitive = exports.TextAnnotation = exports.SpherePrimitive = exports.RawImage = exports.RawAudio = exports.Quaternion = exports.PosesInFrame = exports.PoseInFrame = exports.Pose = exports.PointsAnnotation = exports.PointCloud = exports.Point3InFrame = exports.Point3 = exports.Point2 = exports.PackedElementField = exports.ModelPrimitive = exports.SceneUpdate = exports.SceneEntity = exports.SceneEntityDeletion = exports.Log = exports.LocationFixes = exports.LocationFix = exports.LinePrimitive = exports.LaserScan = exports.KeyValuePair = exports.JointStates = exports.JointState = exports.ImageAnnotations = exports.VoxelGrid = exports.Grid = exports.GeoJSON = exports.FrameTransforms = exports.FrameTransform = exports.Duration = exports.CubePrimitive = exports.CylinderPrimitive = exports.CompressedVideo = exports.CompressedImage = exports.Color = exports.CircleAnnotation = exports.CameraCalibration = exports.ArrowPrimitive = void 0;
|
|
4
|
+
exports.Time = exports.Velocity3 = exports.Vector3 = exports.Vector2 = exports.TriangleListPrimitive = exports.Timestamp = exports.TextPrimitive = exports.TextAnnotation = exports.SpherePrimitive = exports.RawImage = exports.RawAudio = exports.Quaternion = exports.PosesInFrame = exports.PoseInFrame = exports.Pose = exports.PointsAnnotation = exports.PointCloud = exports.Point3InFrame = exports.Point3 = exports.Point2 = exports.PackedElementField = exports.ModelPrimitive = exports.SceneUpdate = exports.SceneEntity = exports.SceneEntityDeletion = exports.Log = exports.LocationFixes = exports.LocationFix = exports.LinePrimitive = exports.LaserScan = exports.KeyValuePair = exports.JointStates = exports.JointState = exports.ImageAnnotations = exports.VoxelGrid = exports.Grid = exports.GeoJSON = exports.FrameTransforms = exports.FrameTransform = exports.Duration = exports.CubePrimitive = exports.CylinderPrimitive = exports.CompressedVideo = exports.CompressedImage = exports.Color = exports.CircleAnnotation = exports.CameraCalibration = exports.ArrowPrimitive = void 0;
|
|
5
5
|
exports.ArrowPrimitive = {
|
|
6
6
|
"title": "foxglove.ArrowPrimitive",
|
|
7
7
|
"description": "A primitive representing an arrow",
|
|
@@ -1985,19 +1985,19 @@ exports.JointState = {
|
|
|
1985
1985
|
},
|
|
1986
1986
|
"position": {
|
|
1987
1987
|
"type": "number",
|
|
1988
|
-
"description": "Joint position. Radians for revolute joints, meters for prismatic joints.
|
|
1988
|
+
"description": "Joint position. Radians for revolute joints, meters for prismatic joints."
|
|
1989
1989
|
},
|
|
1990
1990
|
"velocity": {
|
|
1991
1991
|
"type": "number",
|
|
1992
|
-
"description": "Joint velocity. Rad/s for revolute joints, m/s for prismatic joints.
|
|
1992
|
+
"description": "Joint velocity. Rad/s for revolute joints, m/s for prismatic joints."
|
|
1993
1993
|
},
|
|
1994
1994
|
"acceleration": {
|
|
1995
1995
|
"type": "number",
|
|
1996
|
-
"description": "Joint acceleration. Rad/s² for revolute joints, m/s² for prismatic joints.
|
|
1996
|
+
"description": "Joint acceleration. Rad/s² for revolute joints, m/s² for prismatic joints."
|
|
1997
1997
|
},
|
|
1998
1998
|
"effort": {
|
|
1999
1999
|
"type": "number",
|
|
2000
|
-
"description": "Joint effort (force or torque). Nm for revolute joints, N for prismatic joints.
|
|
2000
|
+
"description": "Joint effort (force or torque). Nm for revolute joints, N for prismatic joints."
|
|
2001
2001
|
}
|
|
2002
2002
|
},
|
|
2003
2003
|
"required": [
|
|
@@ -2039,19 +2039,19 @@ exports.JointStates = {
|
|
|
2039
2039
|
},
|
|
2040
2040
|
"position": {
|
|
2041
2041
|
"type": "number",
|
|
2042
|
-
"description": "Joint position. Radians for revolute joints, meters for prismatic joints.
|
|
2042
|
+
"description": "Joint position. Radians for revolute joints, meters for prismatic joints."
|
|
2043
2043
|
},
|
|
2044
2044
|
"velocity": {
|
|
2045
2045
|
"type": "number",
|
|
2046
|
-
"description": "Joint velocity. Rad/s for revolute joints, m/s for prismatic joints.
|
|
2046
|
+
"description": "Joint velocity. Rad/s for revolute joints, m/s for prismatic joints."
|
|
2047
2047
|
},
|
|
2048
2048
|
"acceleration": {
|
|
2049
2049
|
"type": "number",
|
|
2050
|
-
"description": "Joint acceleration. Rad/s² for revolute joints, m/s² for prismatic joints.
|
|
2050
|
+
"description": "Joint acceleration. Rad/s² for revolute joints, m/s² for prismatic joints."
|
|
2051
2051
|
},
|
|
2052
2052
|
"effort": {
|
|
2053
2053
|
"type": "number",
|
|
2054
|
-
"description": "Joint effort (force or torque). Nm for revolute joints, N for prismatic joints.
|
|
2054
|
+
"description": "Joint effort (force or torque). Nm for revolute joints, N for prismatic joints."
|
|
2055
2055
|
}
|
|
2056
2056
|
},
|
|
2057
2057
|
"required": [
|
|
@@ -2491,6 +2491,34 @@ exports.LocationFix = {
|
|
|
2491
2491
|
}
|
|
2492
2492
|
]
|
|
2493
2493
|
},
|
|
2494
|
+
"heading": {
|
|
2495
|
+
"type": "number",
|
|
2496
|
+
"description": "Heading (yaw angle), in radians, measured clockwise from north"
|
|
2497
|
+
},
|
|
2498
|
+
"velocity": {
|
|
2499
|
+
"title": "foxglove.Velocity3",
|
|
2500
|
+
"description": "Velocity in local East-North-Up (ENU) frame in m/s",
|
|
2501
|
+
"type": "object",
|
|
2502
|
+
"properties": {
|
|
2503
|
+
"x": {
|
|
2504
|
+
"type": "number",
|
|
2505
|
+
"description": "x component"
|
|
2506
|
+
},
|
|
2507
|
+
"y": {
|
|
2508
|
+
"type": "number",
|
|
2509
|
+
"description": "y component"
|
|
2510
|
+
},
|
|
2511
|
+
"z": {
|
|
2512
|
+
"type": "number",
|
|
2513
|
+
"description": "z component"
|
|
2514
|
+
}
|
|
2515
|
+
},
|
|
2516
|
+
"required": [
|
|
2517
|
+
"x",
|
|
2518
|
+
"y",
|
|
2519
|
+
"z"
|
|
2520
|
+
]
|
|
2521
|
+
},
|
|
2494
2522
|
"color": {
|
|
2495
2523
|
"title": "foxglove.Color",
|
|
2496
2524
|
"description": "Color used to visualize the location",
|
|
@@ -2634,6 +2662,34 @@ exports.LocationFixes = {
|
|
|
2634
2662
|
}
|
|
2635
2663
|
]
|
|
2636
2664
|
},
|
|
2665
|
+
"heading": {
|
|
2666
|
+
"type": "number",
|
|
2667
|
+
"description": "Heading (yaw angle), in radians, measured clockwise from north"
|
|
2668
|
+
},
|
|
2669
|
+
"velocity": {
|
|
2670
|
+
"title": "foxglove.Velocity3",
|
|
2671
|
+
"description": "Velocity in local East-North-Up (ENU) frame in m/s",
|
|
2672
|
+
"type": "object",
|
|
2673
|
+
"properties": {
|
|
2674
|
+
"x": {
|
|
2675
|
+
"type": "number",
|
|
2676
|
+
"description": "x component"
|
|
2677
|
+
},
|
|
2678
|
+
"y": {
|
|
2679
|
+
"type": "number",
|
|
2680
|
+
"description": "y component"
|
|
2681
|
+
},
|
|
2682
|
+
"z": {
|
|
2683
|
+
"type": "number",
|
|
2684
|
+
"description": "z component"
|
|
2685
|
+
}
|
|
2686
|
+
},
|
|
2687
|
+
"required": [
|
|
2688
|
+
"x",
|
|
2689
|
+
"y",
|
|
2690
|
+
"z"
|
|
2691
|
+
]
|
|
2692
|
+
},
|
|
2637
2693
|
"color": {
|
|
2638
2694
|
"title": "foxglove.Color",
|
|
2639
2695
|
"description": "Color used to visualize the location",
|
|
@@ -6615,7 +6671,7 @@ exports.RawImage = {
|
|
|
6615
6671
|
"data": {
|
|
6616
6672
|
"type": "string",
|
|
6617
6673
|
"contentEncoding": "base64",
|
|
6618
|
-
"description": "Raw image data.\n\nFor each `encoding` value, the `data` field contains image pixel data serialized as follows:\n\n- `yuv422` or `uyvy`:\n - Pixel colors are decomposed into [Y'UV](https://en.wikipedia.org/wiki/Y%E2%80%B2UV) channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - U and V values are shared between horizontal pairs of pixels. Each pair of output pixels is serialized as [U, Y1, V, Y2].\n - `step` must be greater than or equal to `width` * 2.\n- `yuv422_yuy2` or `yuyv`:\n - Pixel colors are decomposed into [Y'UV](https://en.wikipedia.org/wiki/Y%E2%80%B2UV) channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - U and V values are shared between horizontal pairs of pixels. Each pair of output pixels is encoded as [Y1, U, Y2, V].\n - `step` must be greater than or equal to `width` * 2.\n- `rgb8`:\n - Pixel colors are decomposed into Red, Green, and Blue channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is serialized as [R, G, B].\n - `step` must be greater than or equal to `width` * 3.\n- `rgba8`:\n - Pixel colors are decomposed into Red, Green, Blue, and Alpha channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is serialized as [R, G, B, Alpha].\n - `step` must be greater than or equal to `width` * 4.\n- `bgr8` or `8UC3`:\n - Pixel colors are decomposed into Blue, Green, and Red channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is serialized as [B, G, R].\n - `step` must be greater than or equal to `width` * 3.\n- `bgra8`:\n - Pixel colors are decomposed into Blue, Green, Red, and Alpha channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is encoded as [B, G, R, Alpha].\n - `step` must be greater than or equal to `width` * 4.\n- `32FC1`:\n - Pixel brightness is represented as a single-channel, 32-bit little-endian IEEE 754 floating-point value, ranging from 0.0 (black) to 1.0 (white).\n - `step` must be greater than or equal to `width` * 4.\n- `bayer_rggb8`, `bayer_bggr8`, `bayer_gbrg8`, or `bayer_grbg8`:\n - Pixel colors are decomposed into Red, Blue and Green channels.\n - Pixel channel values are represented as unsigned 8-bit integers, and serialized in a 2x2 bayer filter pattern.\n - The order of the four letters after `bayer_` determine the layout, so for `bayer_wxyz8` the pattern is:\n ```
|
|
6674
|
+
"description": "Raw image data.\n\nFor each `encoding` value, the `data` field contains image pixel data serialized as follows:\n\n- `yuv422` or `uyvy`:\n - Pixel colors are decomposed into [Y'UV](https://en.wikipedia.org/wiki/Y%E2%80%B2UV) channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - U and V values are shared between horizontal pairs of pixels. Each pair of output pixels is serialized as [U, Y1, V, Y2].\n - `step` must be greater than or equal to `width` * 2.\n- `yuv422_yuy2` or `yuyv`:\n - Pixel colors are decomposed into [Y'UV](https://en.wikipedia.org/wiki/Y%E2%80%B2UV) channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - U and V values are shared between horizontal pairs of pixels. Each pair of output pixels is encoded as [Y1, U, Y2, V].\n - `step` must be greater than or equal to `width` * 2.\n- `nv12`:\n - Pixel colors are decomposed into [Y'UV](https://en.wikipedia.org/wiki/Y%E2%80%B2UV) channels using 4:2:0 chroma subsampling. The data is stored in [NV12](https://www.kernel.org/doc/html/v4.10/media/uapi/v4l/pixfmt-nv12.html) semi-planar layout with two contiguous planes: a Y (luma) plane followed by an interleaved UV (chroma) plane.\n - All channel values are represented as unsigned 8-bit integers.\n - Both planes use `step` as their row stride.\n - The Y plane contains one luma value per pixel (`step` * `height` bytes).\n - The UV plane contains interleaved U, V chroma pairs, subsampled by a factor of 2 in both dimensions (`width`/2 pairs per row, `height`/2 rows, `step` * `height`/2 bytes). Each U, V pair is shared by a 2x2 block of pixels.\n - `width` and `height` must be even.\n - `step` must be greater than or equal to `width`.\n - Total `data` length is `step` * `height` * 3/2 bytes.\n- `rgb8`:\n - Pixel colors are decomposed into Red, Green, and Blue channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is serialized as [R, G, B].\n - `step` must be greater than or equal to `width` * 3.\n- `rgba8`:\n - Pixel colors are decomposed into Red, Green, Blue, and Alpha channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is serialized as [R, G, B, Alpha].\n - `step` must be greater than or equal to `width` * 4.\n- `bgr8` or `8UC3`:\n - Pixel colors are decomposed into Blue, Green, and Red channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is serialized as [B, G, R].\n - `step` must be greater than or equal to `width` * 3.\n- `bgra8`:\n - Pixel colors are decomposed into Blue, Green, Red, and Alpha channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is encoded as [B, G, R, Alpha].\n - `step` must be greater than or equal to `width` * 4.\n- `32FC1`:\n - Pixel brightness is represented as a single-channel, 32-bit little-endian IEEE 754 floating-point value, ranging from 0.0 (black) to 1.0 (white).\n - `step` must be greater than or equal to `width` * 4.\n- `bayer_rggb8`, `bayer_bggr8`, `bayer_gbrg8`, or `bayer_grbg8`:\n - Pixel colors are decomposed into Red, Blue and Green channels.\n - Pixel channel values are represented as unsigned 8-bit integers, and serialized in a 2x2 bayer filter pattern.\n - The order of the four letters after `bayer_` determine the layout, so for `bayer_wxyz8` the pattern is:\n ```text\n w | x\n - + -\n y | z\n ```\n - `step` must be greater than or equal to `width`.\n- `mono8` or `8UC1`:\n - Pixel brightness is represented as unsigned 8-bit integers.\n - `step` must be greater than or equal to `width`.\n- `mono16` or `16UC1`:\n - Pixel brightness is represented as 16-bit unsigned little-endian integers. Rendering of these values is controlled in [Image panel color mode settings](https://docs.foxglove.dev/docs/visualization/panels/image#general).\n - `step` must be greater than or equal to `width` * 2.\n"
|
|
6619
6675
|
}
|
|
6620
6676
|
},
|
|
6621
6677
|
"required": [
|
|
@@ -7267,5 +7323,30 @@ exports.Vector3 = {
|
|
|
7267
7323
|
"z"
|
|
7268
7324
|
]
|
|
7269
7325
|
};
|
|
7326
|
+
exports.Velocity3 = {
|
|
7327
|
+
"title": "foxglove.Velocity3",
|
|
7328
|
+
"description": "A velocity vector in 3D space",
|
|
7329
|
+
"$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
|
|
7330
|
+
"type": "object",
|
|
7331
|
+
"properties": {
|
|
7332
|
+
"x": {
|
|
7333
|
+
"type": "number",
|
|
7334
|
+
"description": "x component"
|
|
7335
|
+
},
|
|
7336
|
+
"y": {
|
|
7337
|
+
"type": "number",
|
|
7338
|
+
"description": "y component"
|
|
7339
|
+
},
|
|
7340
|
+
"z": {
|
|
7341
|
+
"type": "number",
|
|
7342
|
+
"description": "z component"
|
|
7343
|
+
}
|
|
7344
|
+
},
|
|
7345
|
+
"required": [
|
|
7346
|
+
"x",
|
|
7347
|
+
"y",
|
|
7348
|
+
"z"
|
|
7349
|
+
]
|
|
7350
|
+
};
|
|
7270
7351
|
exports.Time = exports.Timestamp;
|
|
7271
7352
|
//# sourceMappingURL=index.js.map
|