@foxglove/schemas 0.7.1 → 0.7.3
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 +51 -1
- package/.vscode/settings.json +10 -1
- package/Linux.flatc.binary.clang++-12.zip +0 -0
- package/README.md +5 -25
- package/flatc +0 -0
- package/internal/generateFlatbufferSchema.d.ts +6 -0
- package/internal/generateFlatbufferSchema.d.ts.map +1 -0
- package/internal/generateFlatbufferSchema.js +172 -0
- package/internal/generateFlatbufferSchema.js.map +1 -0
- package/internal/generateFlatbufferSchema.test.d.ts +2 -0
- package/internal/generateFlatbufferSchema.test.d.ts.map +1 -0
- package/internal/generateFlatbufferSchema.test.js +120 -0
- package/internal/generateFlatbufferSchema.test.js.map +1 -0
- package/internal/generateFlatbufferSchema.test.ts +118 -0
- package/internal/generateFlatbufferSchema.ts +189 -0
- package/internal/generateProto.test.js +1 -1
- package/internal/generateProto.test.js.map +1 -1
- package/internal/generateProto.test.ts +1 -1
- package/internal/schemas.d.ts.map +1 -1
- package/internal/schemas.js +21 -11
- package/internal/schemas.js.map +1 -1
- package/internal/schemas.test.js +1 -1
- package/internal/schemas.test.js.map +1 -1
- package/internal/schemas.test.ts +1 -1
- package/internal/schemas.ts +23 -11
- package/internal/testFixtures.d.ts.map +1 -1
- package/internal/testFixtures.js +11 -1
- package/internal/testFixtures.js.map +1 -1
- package/internal/testFixtures.ts +12 -1
- package/internal/types.d.ts +2 -1
- package/internal/types.d.ts.map +1 -1
- package/internal/types.ts +2 -1
- 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 +8 -2
- package/schemas/flatbuffer/ArrowPrimitive.fbs +29 -0
- package/schemas/flatbuffer/ByteVector.fbs +8 -0
- package/schemas/flatbuffer/CameraCalibration.fbs +78 -0
- package/schemas/flatbuffer/CircleAnnotation.fbs +30 -0
- package/schemas/flatbuffer/Color.fbs +20 -0
- package/schemas/flatbuffer/CompressedImage.fbs +24 -0
- package/schemas/flatbuffer/CubePrimitive.fbs +21 -0
- package/schemas/flatbuffer/CylinderPrimitive.fbs +27 -0
- package/schemas/flatbuffer/Duration.fbs +10 -0
- package/schemas/flatbuffer/FrameTransform.fbs +27 -0
- package/schemas/flatbuffer/GeoJSON.fbs +11 -0
- package/schemas/flatbuffer/Grid.fbs +40 -0
- package/schemas/flatbuffer/ImageAnnotations.fbs +17 -0
- package/schemas/flatbuffer/KeyValuePair.fbs +14 -0
- package/schemas/flatbuffer/LaserScan.fbs +32 -0
- package/schemas/flatbuffer/LinePrimitive.fbs +49 -0
- package/schemas/flatbuffer/LocationFix.fbs +34 -0
- package/schemas/flatbuffer/Log.fbs +42 -0
- package/schemas/flatbuffer/ModelPrimitive.fbs +33 -0
- package/schemas/flatbuffer/PackedElementField.fbs +37 -0
- package/schemas/flatbuffer/Point2.fbs +14 -0
- package/schemas/flatbuffer/Point3.fbs +17 -0
- package/schemas/flatbuffer/PointCloud.fbs +30 -0
- package/schemas/flatbuffer/PointsAnnotation.fbs +45 -0
- package/schemas/flatbuffer/Pose.fbs +17 -0
- package/schemas/flatbuffer/PoseInFrame.fbs +20 -0
- package/schemas/flatbuffer/PosesInFrame.fbs +20 -0
- package/schemas/flatbuffer/Quaternion.fbs +20 -0
- package/schemas/flatbuffer/RawImage.fbs +33 -0
- package/schemas/flatbuffer/SceneEntity.fbs +62 -0
- package/schemas/flatbuffer/SceneEntityDeletion.fbs +27 -0
- package/schemas/flatbuffer/SceneUpdate.fbs +17 -0
- package/schemas/flatbuffer/SpherePrimitive.fbs +21 -0
- package/schemas/flatbuffer/TextPrimitive.fbs +29 -0
- package/schemas/flatbuffer/Time.fbs +9 -0
- package/schemas/flatbuffer/TriangleListPrimitive.fbs +29 -0
- package/schemas/flatbuffer/Vector2.fbs +14 -0
- package/schemas/flatbuffer/Vector3.fbs +17 -0
- package/schemas/jsonschema/CameraCalibration.json +2 -2
- package/schemas/jsonschema/CompressedImage.json +1 -1
- package/schemas/jsonschema/CubePrimitive.json +1 -1
- package/schemas/jsonschema/RawImage.json +1 -1
- package/schemas/jsonschema/SceneEntity.json +1 -1
- package/schemas/jsonschema/SceneUpdate.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 +7 -7
- package/schemas/jsonschema/index.js.map +1 -1
- package/schemas/jsonschema/index.ts +42 -42
- 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/RawImage.proto +2 -0
- package/schemas/ros1/CameraCalibration.msg +3 -1
- package/schemas/ros1/CompressedImage.msg +2 -0
- package/schemas/ros1/CubePrimitive.msg +1 -1
- package/schemas/ros1/RawImage.msg +2 -0
- package/schemas/ros2/CameraCalibration.msg +3 -1
- package/schemas/ros2/CompressedImage.msg +2 -0
- package/schemas/ros2/CubePrimitive.msg +1 -1
- package/schemas/ros2/RawImage.msg +2 -0
- 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/RawImage.d.ts +5 -1
- package/schemas/typescript/RawImage.d.ts.map +1 -1
- package/schemas/typescript/RawImage.ts +5 -1
- package/scripts/updateGeneratedFiles.js +14 -2
- package/scripts/updateGeneratedFiles.js.map +1 -1
- package/scripts/updateGeneratedFiles.ts +26 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by https://github.com/foxglove/schemas
|
|
2
2
|
|
|
3
|
-
export const ArrowPrimitive
|
|
3
|
+
export const ArrowPrimitive = {
|
|
4
4
|
"title": "foxglove.ArrowPrimitive",
|
|
5
5
|
"description": "A primitive representing an arrow",
|
|
6
6
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -97,7 +97,7 @@ export const ArrowPrimitive: unknown = {
|
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
-
export const CameraCalibration
|
|
100
|
+
export const CameraCalibration = {
|
|
101
101
|
"title": "foxglove.CameraCalibration",
|
|
102
102
|
"description": "Camera calibration parameters",
|
|
103
103
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -135,7 +135,7 @@ export const CameraCalibration: unknown = {
|
|
|
135
135
|
},
|
|
136
136
|
"distortion_model": {
|
|
137
137
|
"type": "string",
|
|
138
|
-
"description": "Name of distortion model"
|
|
138
|
+
"description": "Name of distortion model\n\nSupported values: `plumb_bob` and `rational_polynomial`"
|
|
139
139
|
},
|
|
140
140
|
"D": {
|
|
141
141
|
"type": "array",
|
|
@@ -160,7 +160,7 @@ export const CameraCalibration: unknown = {
|
|
|
160
160
|
},
|
|
161
161
|
"minItems": 9,
|
|
162
162
|
"maxItems": 9,
|
|
163
|
-
"description": "Rectification matrix (3x3 row-major matrix)\n\nA rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel."
|
|
163
|
+
"description": "Rectification matrix (stereo cameras only, 3x3 row-major matrix)\n\nA rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel."
|
|
164
164
|
},
|
|
165
165
|
"P": {
|
|
166
166
|
"type": "array",
|
|
@@ -174,7 +174,7 @@ export const CameraCalibration: unknown = {
|
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
176
|
|
|
177
|
-
export const CircleAnnotation
|
|
177
|
+
export const CircleAnnotation = {
|
|
178
178
|
"title": "foxglove.CircleAnnotation",
|
|
179
179
|
"description": "A circle annotation on a 2D image",
|
|
180
180
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -268,7 +268,7 @@ export const CircleAnnotation: unknown = {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
|
|
271
|
-
export const Color
|
|
271
|
+
export const Color = {
|
|
272
272
|
"title": "foxglove.Color",
|
|
273
273
|
"description": "A color in RGBA format",
|
|
274
274
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -293,7 +293,7 @@ export const Color: unknown = {
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
export const CompressedImage
|
|
296
|
+
export const CompressedImage = {
|
|
297
297
|
"title": "foxglove.CompressedImage",
|
|
298
298
|
"description": "A compressed image",
|
|
299
299
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -326,12 +326,12 @@ export const CompressedImage: unknown = {
|
|
|
326
326
|
},
|
|
327
327
|
"format": {
|
|
328
328
|
"type": "string",
|
|
329
|
-
"description": "Image format"
|
|
329
|
+
"description": "Image format\n\nSupported values: `webp`, `jpeg`, `png`"
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
|
|
334
|
-
export const CylinderPrimitive
|
|
334
|
+
export const CylinderPrimitive = {
|
|
335
335
|
"title": "foxglove.CylinderPrimitive",
|
|
336
336
|
"description": "A primitive representing a cylinder, elliptic cylinder, or truncated cone",
|
|
337
337
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -439,7 +439,7 @@ export const CylinderPrimitive: unknown = {
|
|
|
439
439
|
}
|
|
440
440
|
};
|
|
441
441
|
|
|
442
|
-
export const CubePrimitive
|
|
442
|
+
export const CubePrimitive = {
|
|
443
443
|
"title": "foxglove.CubePrimitive",
|
|
444
444
|
"description": "A primitive representing a cube or rectangular prism",
|
|
445
445
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -515,7 +515,7 @@ export const CubePrimitive: unknown = {
|
|
|
515
515
|
},
|
|
516
516
|
"color": {
|
|
517
517
|
"title": "foxglove.Color",
|
|
518
|
-
"description": "Color of the
|
|
518
|
+
"description": "Color of the cube",
|
|
519
519
|
"type": "object",
|
|
520
520
|
"properties": {
|
|
521
521
|
"r": {
|
|
@@ -539,7 +539,7 @@ export const CubePrimitive: unknown = {
|
|
|
539
539
|
}
|
|
540
540
|
};
|
|
541
541
|
|
|
542
|
-
export const FrameTransform
|
|
542
|
+
export const FrameTransform = {
|
|
543
543
|
"title": "foxglove.FrameTransform",
|
|
544
544
|
"description": "A transform between two reference frames in 3D space",
|
|
545
545
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -614,7 +614,7 @@ export const FrameTransform: unknown = {
|
|
|
614
614
|
}
|
|
615
615
|
};
|
|
616
616
|
|
|
617
|
-
export const GeoJSON
|
|
617
|
+
export const GeoJSON = {
|
|
618
618
|
"title": "foxglove.GeoJSON",
|
|
619
619
|
"description": "GeoJSON data for annotating maps",
|
|
620
620
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -627,7 +627,7 @@ export const GeoJSON: unknown = {
|
|
|
627
627
|
}
|
|
628
628
|
};
|
|
629
629
|
|
|
630
|
-
export const Grid
|
|
630
|
+
export const Grid = {
|
|
631
631
|
"title": "foxglove.Grid",
|
|
632
632
|
"description": "A 2D grid of data",
|
|
633
633
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -802,7 +802,7 @@ export const Grid: unknown = {
|
|
|
802
802
|
}
|
|
803
803
|
};
|
|
804
804
|
|
|
805
|
-
export const ImageAnnotations
|
|
805
|
+
export const ImageAnnotations = {
|
|
806
806
|
"title": "foxglove.ImageAnnotations",
|
|
807
807
|
"description": "Array of annotations for a 2D image",
|
|
808
808
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -1056,7 +1056,7 @@ export const ImageAnnotations: unknown = {
|
|
|
1056
1056
|
}
|
|
1057
1057
|
};
|
|
1058
1058
|
|
|
1059
|
-
export const KeyValuePair
|
|
1059
|
+
export const KeyValuePair = {
|
|
1060
1060
|
"title": "foxglove.KeyValuePair",
|
|
1061
1061
|
"description": "A key with its associated value",
|
|
1062
1062
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -1073,7 +1073,7 @@ export const KeyValuePair: unknown = {
|
|
|
1073
1073
|
}
|
|
1074
1074
|
};
|
|
1075
1075
|
|
|
1076
|
-
export const LaserScan
|
|
1076
|
+
export const LaserScan = {
|
|
1077
1077
|
"title": "foxglove.LaserScan",
|
|
1078
1078
|
"description": "A single scan from a planar laser range-finder",
|
|
1079
1079
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -1173,7 +1173,7 @@ export const LaserScan: unknown = {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
};
|
|
1175
1175
|
|
|
1176
|
-
export const LinePrimitive
|
|
1176
|
+
export const LinePrimitive = {
|
|
1177
1177
|
"title": "foxglove.LinePrimitive",
|
|
1178
1178
|
"description": "A primitive representing a series of points connected by lines",
|
|
1179
1179
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -1341,7 +1341,7 @@ export const LinePrimitive: unknown = {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
};
|
|
1343
1343
|
|
|
1344
|
-
export const LocationFix
|
|
1344
|
+
export const LocationFix = {
|
|
1345
1345
|
"title": "foxglove.LocationFix",
|
|
1346
1346
|
"description": "A navigation satellite fix for any Global Navigation Satellite System",
|
|
1347
1347
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -1393,7 +1393,7 @@ export const LocationFix: unknown = {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
};
|
|
1395
1395
|
|
|
1396
|
-
export const Log
|
|
1396
|
+
export const Log = {
|
|
1397
1397
|
"title": "foxglove.Log",
|
|
1398
1398
|
"description": "A log message",
|
|
1399
1399
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -1465,7 +1465,7 @@ export const Log: unknown = {
|
|
|
1465
1465
|
}
|
|
1466
1466
|
};
|
|
1467
1467
|
|
|
1468
|
-
export const SceneEntityDeletion
|
|
1468
|
+
export const SceneEntityDeletion = {
|
|
1469
1469
|
"title": "foxglove.SceneEntityDeletion",
|
|
1470
1470
|
"description": "Command to remove previously published entities",
|
|
1471
1471
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -1510,7 +1510,7 @@ export const SceneEntityDeletion: unknown = {
|
|
|
1510
1510
|
}
|
|
1511
1511
|
};
|
|
1512
1512
|
|
|
1513
|
-
export const SceneEntity
|
|
1513
|
+
export const SceneEntity = {
|
|
1514
1514
|
"title": "foxglove.SceneEntity",
|
|
1515
1515
|
"description": "A visual element in a 3D scene. An entity may be composed of multiple primitives which all share the same frame of reference.",
|
|
1516
1516
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -1754,7 +1754,7 @@ export const SceneEntity: unknown = {
|
|
|
1754
1754
|
},
|
|
1755
1755
|
"color": {
|
|
1756
1756
|
"title": "foxglove.Color",
|
|
1757
|
-
"description": "Color of the
|
|
1757
|
+
"description": "Color of the cube",
|
|
1758
1758
|
"type": "object",
|
|
1759
1759
|
"properties": {
|
|
1760
1760
|
"r": {
|
|
@@ -2523,7 +2523,7 @@ export const SceneEntity: unknown = {
|
|
|
2523
2523
|
}
|
|
2524
2524
|
};
|
|
2525
2525
|
|
|
2526
|
-
export const SceneUpdate
|
|
2526
|
+
export const SceneUpdate = {
|
|
2527
2527
|
"title": "foxglove.SceneUpdate",
|
|
2528
2528
|
"description": "An update to the entities displayed in a 3D scene",
|
|
2529
2529
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -2821,7 +2821,7 @@ export const SceneUpdate: unknown = {
|
|
|
2821
2821
|
},
|
|
2822
2822
|
"color": {
|
|
2823
2823
|
"title": "foxglove.Color",
|
|
2824
|
-
"description": "Color of the
|
|
2824
|
+
"description": "Color of the cube",
|
|
2825
2825
|
"type": "object",
|
|
2826
2826
|
"properties": {
|
|
2827
2827
|
"r": {
|
|
@@ -3594,7 +3594,7 @@ export const SceneUpdate: unknown = {
|
|
|
3594
3594
|
}
|
|
3595
3595
|
};
|
|
3596
3596
|
|
|
3597
|
-
export const ModelPrimitive
|
|
3597
|
+
export const ModelPrimitive = {
|
|
3598
3598
|
"title": "foxglove.ModelPrimitive",
|
|
3599
3599
|
"description": "A primitive representing a 3D model file loaded from an external URL or embedded data",
|
|
3600
3600
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -3711,7 +3711,7 @@ export const ModelPrimitive: unknown = {
|
|
|
3711
3711
|
}
|
|
3712
3712
|
};
|
|
3713
3713
|
|
|
3714
|
-
export const PackedElementField
|
|
3714
|
+
export const PackedElementField = {
|
|
3715
3715
|
"title": "foxglove.PackedElementField",
|
|
3716
3716
|
"description": "A field present within each element in a byte array of packed elements.",
|
|
3717
3717
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -3771,7 +3771,7 @@ export const PackedElementField: unknown = {
|
|
|
3771
3771
|
}
|
|
3772
3772
|
};
|
|
3773
3773
|
|
|
3774
|
-
export const Point2
|
|
3774
|
+
export const Point2 = {
|
|
3775
3775
|
"title": "foxglove.Point2",
|
|
3776
3776
|
"description": "A point representing a position in 2D space",
|
|
3777
3777
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -3788,7 +3788,7 @@ export const Point2: unknown = {
|
|
|
3788
3788
|
}
|
|
3789
3789
|
};
|
|
3790
3790
|
|
|
3791
|
-
export const Point3
|
|
3791
|
+
export const Point3 = {
|
|
3792
3792
|
"title": "foxglove.Point3",
|
|
3793
3793
|
"description": "A point representing a position in 3D space",
|
|
3794
3794
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -3809,7 +3809,7 @@ export const Point3: unknown = {
|
|
|
3809
3809
|
}
|
|
3810
3810
|
};
|
|
3811
3811
|
|
|
3812
|
-
export const PointCloud
|
|
3812
|
+
export const PointCloud = {
|
|
3813
3813
|
"title": "foxglove.PointCloud",
|
|
3814
3814
|
"description": "A collection of N-dimensional points, which may contain additional fields with information like normals, intensity, etc.",
|
|
3815
3815
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -3959,7 +3959,7 @@ export const PointCloud: unknown = {
|
|
|
3959
3959
|
}
|
|
3960
3960
|
};
|
|
3961
3961
|
|
|
3962
|
-
export const PointsAnnotation
|
|
3962
|
+
export const PointsAnnotation = {
|
|
3963
3963
|
"title": "foxglove.PointsAnnotation",
|
|
3964
3964
|
"description": "An array of points on a 2D image",
|
|
3965
3965
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -4106,7 +4106,7 @@ export const PointsAnnotation: unknown = {
|
|
|
4106
4106
|
}
|
|
4107
4107
|
};
|
|
4108
4108
|
|
|
4109
|
-
export const Pose
|
|
4109
|
+
export const Pose = {
|
|
4110
4110
|
"title": "foxglove.Pose",
|
|
4111
4111
|
"description": "A position and orientation for an object or reference frame in 3D space",
|
|
4112
4112
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -4157,7 +4157,7 @@ export const Pose: unknown = {
|
|
|
4157
4157
|
}
|
|
4158
4158
|
};
|
|
4159
4159
|
|
|
4160
|
-
export const PoseInFrame
|
|
4160
|
+
export const PoseInFrame = {
|
|
4161
4161
|
"title": "foxglove.PoseInFrame",
|
|
4162
4162
|
"description": "A timestamped pose for an object or reference frame in 3D space",
|
|
4163
4163
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -4235,7 +4235,7 @@ export const PoseInFrame: unknown = {
|
|
|
4235
4235
|
}
|
|
4236
4236
|
};
|
|
4237
4237
|
|
|
4238
|
-
export const PosesInFrame
|
|
4238
|
+
export const PosesInFrame = {
|
|
4239
4239
|
"title": "foxglove.PosesInFrame",
|
|
4240
4240
|
"description": "An array of timestamped poses for an object or reference frame in 3D space",
|
|
4241
4241
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -4317,7 +4317,7 @@ export const PosesInFrame: unknown = {
|
|
|
4317
4317
|
}
|
|
4318
4318
|
};
|
|
4319
4319
|
|
|
4320
|
-
export const Quaternion
|
|
4320
|
+
export const Quaternion = {
|
|
4321
4321
|
"title": "foxglove.Quaternion",
|
|
4322
4322
|
"description": "A [quaternion](https://eater.net/quaternions) representing a rotation in 3D space",
|
|
4323
4323
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -4342,7 +4342,7 @@ export const Quaternion: unknown = {
|
|
|
4342
4342
|
}
|
|
4343
4343
|
};
|
|
4344
4344
|
|
|
4345
|
-
export const RawImage
|
|
4345
|
+
export const RawImage = {
|
|
4346
4346
|
"title": "foxglove.RawImage",
|
|
4347
4347
|
"description": "A raw image",
|
|
4348
4348
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -4380,7 +4380,7 @@ export const RawImage: unknown = {
|
|
|
4380
4380
|
},
|
|
4381
4381
|
"encoding": {
|
|
4382
4382
|
"type": "string",
|
|
4383
|
-
"description": "Encoding of the raw image data"
|
|
4383
|
+
"description": "Encoding of the raw image data\n\nSupported values: `8UC1`, `8UC3`, `16UC1`, `32FC1`, `bayer_bggr8`, `bayer_gbrg8`, `bayer_grbg8`, `bayer_rggb8`, `bgr8`, `bgra8`, `mono8`, `mono16`, `rgb8`, `rgba8`, `yuv422`"
|
|
4384
4384
|
},
|
|
4385
4385
|
"step": {
|
|
4386
4386
|
"type": "integer",
|
|
@@ -4395,7 +4395,7 @@ export const RawImage: unknown = {
|
|
|
4395
4395
|
}
|
|
4396
4396
|
};
|
|
4397
4397
|
|
|
4398
|
-
export const SpherePrimitive
|
|
4398
|
+
export const SpherePrimitive = {
|
|
4399
4399
|
"title": "foxglove.SpherePrimitive",
|
|
4400
4400
|
"description": "A primitive representing a sphere or ellipsoid",
|
|
4401
4401
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -4495,7 +4495,7 @@ export const SpherePrimitive: unknown = {
|
|
|
4495
4495
|
}
|
|
4496
4496
|
};
|
|
4497
4497
|
|
|
4498
|
-
export const TextPrimitive
|
|
4498
|
+
export const TextPrimitive = {
|
|
4499
4499
|
"title": "foxglove.TextPrimitive",
|
|
4500
4500
|
"description": "A primitive representing a text label",
|
|
4501
4501
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -4592,7 +4592,7 @@ export const TextPrimitive: unknown = {
|
|
|
4592
4592
|
}
|
|
4593
4593
|
};
|
|
4594
4594
|
|
|
4595
|
-
export const TriangleListPrimitive
|
|
4595
|
+
export const TriangleListPrimitive = {
|
|
4596
4596
|
"title": "foxglove.TriangleListPrimitive",
|
|
4597
4597
|
"description": "A primitive representing a set of triangles or a surface tiled by triangles",
|
|
4598
4598
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -4731,7 +4731,7 @@ export const TriangleListPrimitive: unknown = {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
};
|
|
4733
4733
|
|
|
4734
|
-
export const Vector2
|
|
4734
|
+
export const Vector2 = {
|
|
4735
4735
|
"title": "foxglove.Vector2",
|
|
4736
4736
|
"description": "A vector in 2D space that represents a direction only",
|
|
4737
4737
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -4748,7 +4748,7 @@ export const Vector2: unknown = {
|
|
|
4748
4748
|
}
|
|
4749
4749
|
};
|
|
4750
4750
|
|
|
4751
|
-
export const Vector3
|
|
4751
|
+
export const Vector3 = {
|
|
4752
4752
|
"title": "foxglove.Vector3",
|
|
4753
4753
|
"description": "A vector in 3D space that represents a direction only",
|
|
4754
4754
|
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
@@ -21,6 +21,8 @@ message CameraCalibration {
|
|
|
21
21
|
fixed32 height = 3;
|
|
22
22
|
|
|
23
23
|
// Name of distortion model
|
|
24
|
+
//
|
|
25
|
+
// Supported values: `plumb_bob` and `rational_polynomial`
|
|
24
26
|
string distortion_model = 4;
|
|
25
27
|
|
|
26
28
|
// Distortion parameters
|
|
@@ -39,7 +41,7 @@ message CameraCalibration {
|
|
|
39
41
|
// ```
|
|
40
42
|
repeated double K = 6; // length 9
|
|
41
43
|
|
|
42
|
-
// Rectification matrix (3x3 row-major matrix)
|
|
44
|
+
// Rectification matrix (stereo cameras only, 3x3 row-major matrix)
|
|
43
45
|
//
|
|
44
46
|
// A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
45
47
|
repeated double R = 7; // length 9
|
|
@@ -21,6 +21,8 @@ message RawImage {
|
|
|
21
21
|
fixed32 height = 3;
|
|
22
22
|
|
|
23
23
|
// Encoding of the raw image data
|
|
24
|
+
//
|
|
25
|
+
// Supported values: `8UC1`, `8UC3`, `16UC1`, `32FC1`, `bayer_bggr8`, `bayer_gbrg8`, `bayer_grbg8`, `bayer_rggb8`, `bgr8`, `bgra8`, `mono8`, `mono16`, `rgb8`, `rgba8`, `yuv422`
|
|
24
26
|
string encoding = 4;
|
|
25
27
|
|
|
26
28
|
// Byte length of a single row
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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 +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,2DAA2D;AAC3D,oBAAY,aAAa,GAAG;IAC1B,qEAAqE;IACrE,IAAI,EAAE,IAAI,CAAC;IAEX,uCAAuC;IACvC,IAAI,EAAE,OAAO,CAAC;IAEd,
|
|
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,wBAAwB;IACxB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC"}
|
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RawImage.d.ts","sourceRoot":"","sources":["RawImage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,kBAAkB;AAClB,oBAAY,QAAQ,GAAG;IACrB,yBAAyB;IACzB,SAAS,EAAE,IAAI,CAAC;IAEhB,qMAAqM;IACrM,QAAQ,EAAE,MAAM,CAAC;IAEjB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IAEd,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IAEf
|
|
1
|
+
{"version":3,"file":"RawImage.d.ts","sourceRoot":"","sources":["RawImage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,kBAAkB;AAClB,oBAAY,QAAQ,GAAG;IACrB,yBAAyB;IACzB,SAAS,EAAE,IAAI,CAAC;IAEhB,qMAAqM;IACrM,QAAQ,EAAE,MAAM,CAAC;IAEjB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IAEd,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IAEb,qBAAqB;IACrB,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
|
|
@@ -16,7 +16,11 @@ export type RawImage = {
|
|
|
16
16
|
/** Image height */
|
|
17
17
|
height: number;
|
|
18
18
|
|
|
19
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Encoding of the raw image data
|
|
21
|
+
*
|
|
22
|
+
* Supported values: `8UC1`, `8UC3`, `16UC1`, `32FC1`, `bayer_bggr8`, `bayer_gbrg8`, `bayer_grbg8`, `bayer_rggb8`, `bgr8`, `bgra8`, `mono8`, `mono16`, `rgb8`, `rgba8`, `yuv422`
|
|
23
|
+
*/
|
|
20
24
|
encoding: string;
|
|
21
25
|
|
|
22
26
|
/** Byte length of a single row */
|