@foxglove/schemas 1.1.2 → 1.3.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/internal/schemas.d.ts +2 -0
- package/internal/schemas.d.ts.map +1 -1
- package/internal/schemas.js +59 -0
- package/internal/schemas.js.map +1 -1
- package/internal/schemas.ts +61 -0
- package/package.json +1 -1
- package/schemas/README.md +130 -0
- package/schemas/flatbuffer/FrameTransforms.fbs +13 -0
- package/schemas/flatbuffer/ImageAnnotations.fbs +4 -0
- package/schemas/flatbuffer/TextAnnotation.fbs +30 -0
- package/schemas/jsonschema/FrameTransforms.json +85 -0
- package/schemas/jsonschema/ImageAnnotations.json +96 -0
- package/schemas/jsonschema/TextAnnotation.json +93 -0
- package/schemas/jsonschema/index.d.ts +274 -0
- package/schemas/jsonschema/index.d.ts.map +1 -1
- package/schemas/jsonschema/index.js +275 -1
- package/schemas/jsonschema/index.js.map +1 -1
- package/schemas/jsonschema/index.ts +276 -0
- package/schemas/proto/foxglove/FrameTransforms.proto +13 -0
- package/schemas/proto/foxglove/ImageAnnotations.proto +4 -0
- package/schemas/proto/foxglove/TextAnnotation.proto +30 -0
- package/schemas/ros1/FrameTransforms.msg +7 -0
- package/schemas/ros1/ImageAnnotations.msg +3 -0
- package/schemas/ros1/TextAnnotation.msg +22 -0
- package/schemas/ros2/FrameTransforms.msg +7 -0
- package/schemas/ros2/ImageAnnotations.msg +3 -0
- package/schemas/ros2/TextAnnotation.msg +22 -0
- package/schemas/typescript/FrameTransforms.d.ts +7 -0
- package/schemas/typescript/FrameTransforms.d.ts.map +1 -0
- package/schemas/typescript/FrameTransforms.js +4 -0
- package/schemas/typescript/FrameTransforms.js.map +1 -0
- package/schemas/typescript/FrameTransforms.ts +9 -0
- package/schemas/typescript/ImageAnnotations.d.ts +3 -0
- package/schemas/typescript/ImageAnnotations.d.ts.map +1 -1
- package/schemas/typescript/ImageAnnotations.ts +4 -0
- package/schemas/typescript/TextAnnotation.d.ts +19 -0
- package/schemas/typescript/TextAnnotation.d.ts.map +1 -0
- package/schemas/typescript/TextAnnotation.js +4 -0
- package/schemas/typescript/TextAnnotation.js.map +1 -0
- package/schemas/typescript/TextAnnotation.ts +26 -0
- package/schemas/typescript/index.d.ts +2 -0
- package/schemas/typescript/index.d.ts.map +1 -1
- package/schemas/typescript/index.js +2 -0
- package/schemas/typescript/index.js.map +1 -1
- package/schemas/typescript/index.ts +2 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Generated by https://github.com/foxglove/schemas
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Vector3 = exports.Vector2 = exports.TriangleListPrimitive = exports.TextPrimitive = exports.SpherePrimitive = exports.RawImage = exports.Quaternion = exports.PosesInFrame = exports.PoseInFrame = exports.Pose = exports.PointsAnnotation = exports.PointCloud = exports.Point3 = exports.Point2 = exports.PackedElementField = exports.ModelPrimitive = exports.SceneUpdate = exports.SceneEntity = exports.SceneEntityDeletion = exports.Log = exports.LocationFix = exports.LinePrimitive = exports.LaserScan = exports.KeyValuePair = exports.ImageAnnotations = exports.Grid = exports.GeoJSON = exports.FrameTransform = exports.CubePrimitive = exports.CylinderPrimitive = exports.CompressedImage = exports.Color = exports.CircleAnnotation = exports.CameraCalibration = exports.ArrowPrimitive = void 0;
|
|
4
|
+
exports.Vector3 = exports.Vector2 = exports.TriangleListPrimitive = exports.TextPrimitive = exports.TextAnnotation = exports.SpherePrimitive = exports.RawImage = exports.Quaternion = exports.PosesInFrame = exports.PoseInFrame = exports.Pose = exports.PointsAnnotation = exports.PointCloud = exports.Point3 = exports.Point2 = exports.PackedElementField = exports.ModelPrimitive = exports.SceneUpdate = exports.SceneEntity = exports.SceneEntityDeletion = exports.Log = exports.LocationFix = exports.LinePrimitive = exports.LaserScan = exports.KeyValuePair = exports.ImageAnnotations = exports.Grid = exports.GeoJSON = exports.FrameTransforms = exports.FrameTransform = exports.CubePrimitive = exports.CylinderPrimitive = 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",
|
|
@@ -608,6 +608,91 @@ exports.FrameTransform = {
|
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
610
|
};
|
|
611
|
+
exports.FrameTransforms = {
|
|
612
|
+
"title": "foxglove.FrameTransforms",
|
|
613
|
+
"description": "An array of FrameTransform messages",
|
|
614
|
+
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
615
|
+
"type": "object",
|
|
616
|
+
"properties": {
|
|
617
|
+
"transforms": {
|
|
618
|
+
"type": "array",
|
|
619
|
+
"items": {
|
|
620
|
+
"title": "foxglove.FrameTransform",
|
|
621
|
+
"description": "A transform between two reference frames in 3D space",
|
|
622
|
+
"type": "object",
|
|
623
|
+
"properties": {
|
|
624
|
+
"timestamp": {
|
|
625
|
+
"type": "object",
|
|
626
|
+
"title": "time",
|
|
627
|
+
"properties": {
|
|
628
|
+
"sec": {
|
|
629
|
+
"type": "integer",
|
|
630
|
+
"minimum": 0
|
|
631
|
+
},
|
|
632
|
+
"nsec": {
|
|
633
|
+
"type": "integer",
|
|
634
|
+
"minimum": 0,
|
|
635
|
+
"maximum": 999999999
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
"description": "Timestamp of transform"
|
|
639
|
+
},
|
|
640
|
+
"parent_frame_id": {
|
|
641
|
+
"type": "string",
|
|
642
|
+
"description": "Name of the parent frame"
|
|
643
|
+
},
|
|
644
|
+
"child_frame_id": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "Name of the child frame"
|
|
647
|
+
},
|
|
648
|
+
"translation": {
|
|
649
|
+
"title": "foxglove.Vector3",
|
|
650
|
+
"description": "Translation component of the transform",
|
|
651
|
+
"type": "object",
|
|
652
|
+
"properties": {
|
|
653
|
+
"x": {
|
|
654
|
+
"type": "number",
|
|
655
|
+
"description": "x coordinate length"
|
|
656
|
+
},
|
|
657
|
+
"y": {
|
|
658
|
+
"type": "number",
|
|
659
|
+
"description": "y coordinate length"
|
|
660
|
+
},
|
|
661
|
+
"z": {
|
|
662
|
+
"type": "number",
|
|
663
|
+
"description": "z coordinate length"
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
"rotation": {
|
|
668
|
+
"title": "foxglove.Quaternion",
|
|
669
|
+
"description": "Rotation component of the transform",
|
|
670
|
+
"type": "object",
|
|
671
|
+
"properties": {
|
|
672
|
+
"x": {
|
|
673
|
+
"type": "number",
|
|
674
|
+
"description": "x value"
|
|
675
|
+
},
|
|
676
|
+
"y": {
|
|
677
|
+
"type": "number",
|
|
678
|
+
"description": "y value"
|
|
679
|
+
},
|
|
680
|
+
"z": {
|
|
681
|
+
"type": "number",
|
|
682
|
+
"description": "z value"
|
|
683
|
+
},
|
|
684
|
+
"w": {
|
|
685
|
+
"type": "number",
|
|
686
|
+
"description": "w value"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"description": "Array of transforms"
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
};
|
|
611
696
|
exports.GeoJSON = {
|
|
612
697
|
"title": "foxglove.GeoJSON",
|
|
613
698
|
"description": "GeoJSON data for annotating maps",
|
|
@@ -1048,6 +1133,102 @@ exports.ImageAnnotations = {
|
|
|
1048
1133
|
}
|
|
1049
1134
|
},
|
|
1050
1135
|
"description": "Points annotations"
|
|
1136
|
+
},
|
|
1137
|
+
"texts": {
|
|
1138
|
+
"type": "array",
|
|
1139
|
+
"items": {
|
|
1140
|
+
"title": "foxglove.TextAnnotation",
|
|
1141
|
+
"description": "A text label on a 2D image",
|
|
1142
|
+
"type": "object",
|
|
1143
|
+
"properties": {
|
|
1144
|
+
"timestamp": {
|
|
1145
|
+
"type": "object",
|
|
1146
|
+
"title": "time",
|
|
1147
|
+
"properties": {
|
|
1148
|
+
"sec": {
|
|
1149
|
+
"type": "integer",
|
|
1150
|
+
"minimum": 0
|
|
1151
|
+
},
|
|
1152
|
+
"nsec": {
|
|
1153
|
+
"type": "integer",
|
|
1154
|
+
"minimum": 0,
|
|
1155
|
+
"maximum": 999999999
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1158
|
+
"description": "Timestamp of annotation"
|
|
1159
|
+
},
|
|
1160
|
+
"position": {
|
|
1161
|
+
"title": "foxglove.Point2",
|
|
1162
|
+
"description": "Bottom-left origin of the text label in 2D image coordinates (pixels)",
|
|
1163
|
+
"type": "object",
|
|
1164
|
+
"properties": {
|
|
1165
|
+
"x": {
|
|
1166
|
+
"type": "number",
|
|
1167
|
+
"description": "x coordinate position"
|
|
1168
|
+
},
|
|
1169
|
+
"y": {
|
|
1170
|
+
"type": "number",
|
|
1171
|
+
"description": "y coordinate position"
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
"text": {
|
|
1176
|
+
"type": "string",
|
|
1177
|
+
"description": "Text to display"
|
|
1178
|
+
},
|
|
1179
|
+
"font_size": {
|
|
1180
|
+
"type": "number",
|
|
1181
|
+
"description": "Font size in pixels"
|
|
1182
|
+
},
|
|
1183
|
+
"text_color": {
|
|
1184
|
+
"title": "foxglove.Color",
|
|
1185
|
+
"description": "Text color",
|
|
1186
|
+
"type": "object",
|
|
1187
|
+
"properties": {
|
|
1188
|
+
"r": {
|
|
1189
|
+
"type": "number",
|
|
1190
|
+
"description": "Red value between 0 and 1"
|
|
1191
|
+
},
|
|
1192
|
+
"g": {
|
|
1193
|
+
"type": "number",
|
|
1194
|
+
"description": "Green value between 0 and 1"
|
|
1195
|
+
},
|
|
1196
|
+
"b": {
|
|
1197
|
+
"type": "number",
|
|
1198
|
+
"description": "Blue value between 0 and 1"
|
|
1199
|
+
},
|
|
1200
|
+
"a": {
|
|
1201
|
+
"type": "number",
|
|
1202
|
+
"description": "Alpha value between 0 and 1"
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
"background_color": {
|
|
1207
|
+
"title": "foxglove.Color",
|
|
1208
|
+
"description": "Background fill color",
|
|
1209
|
+
"type": "object",
|
|
1210
|
+
"properties": {
|
|
1211
|
+
"r": {
|
|
1212
|
+
"type": "number",
|
|
1213
|
+
"description": "Red value between 0 and 1"
|
|
1214
|
+
},
|
|
1215
|
+
"g": {
|
|
1216
|
+
"type": "number",
|
|
1217
|
+
"description": "Green value between 0 and 1"
|
|
1218
|
+
},
|
|
1219
|
+
"b": {
|
|
1220
|
+
"type": "number",
|
|
1221
|
+
"description": "Blue value between 0 and 1"
|
|
1222
|
+
},
|
|
1223
|
+
"a": {
|
|
1224
|
+
"type": "number",
|
|
1225
|
+
"description": "Alpha value between 0 and 1"
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
"description": "Text annotations"
|
|
1051
1232
|
}
|
|
1052
1233
|
}
|
|
1053
1234
|
};
|
|
@@ -4474,6 +4655,99 @@ exports.SpherePrimitive = {
|
|
|
4474
4655
|
}
|
|
4475
4656
|
}
|
|
4476
4657
|
};
|
|
4658
|
+
exports.TextAnnotation = {
|
|
4659
|
+
"title": "foxglove.TextAnnotation",
|
|
4660
|
+
"description": "A text label on a 2D image",
|
|
4661
|
+
"$comment": "Generated by https://github.com/foxglove/schemas",
|
|
4662
|
+
"type": "object",
|
|
4663
|
+
"properties": {
|
|
4664
|
+
"timestamp": {
|
|
4665
|
+
"type": "object",
|
|
4666
|
+
"title": "time",
|
|
4667
|
+
"properties": {
|
|
4668
|
+
"sec": {
|
|
4669
|
+
"type": "integer",
|
|
4670
|
+
"minimum": 0
|
|
4671
|
+
},
|
|
4672
|
+
"nsec": {
|
|
4673
|
+
"type": "integer",
|
|
4674
|
+
"minimum": 0,
|
|
4675
|
+
"maximum": 999999999
|
|
4676
|
+
}
|
|
4677
|
+
},
|
|
4678
|
+
"description": "Timestamp of annotation"
|
|
4679
|
+
},
|
|
4680
|
+
"position": {
|
|
4681
|
+
"title": "foxglove.Point2",
|
|
4682
|
+
"description": "Bottom-left origin of the text label in 2D image coordinates (pixels)",
|
|
4683
|
+
"type": "object",
|
|
4684
|
+
"properties": {
|
|
4685
|
+
"x": {
|
|
4686
|
+
"type": "number",
|
|
4687
|
+
"description": "x coordinate position"
|
|
4688
|
+
},
|
|
4689
|
+
"y": {
|
|
4690
|
+
"type": "number",
|
|
4691
|
+
"description": "y coordinate position"
|
|
4692
|
+
}
|
|
4693
|
+
}
|
|
4694
|
+
},
|
|
4695
|
+
"text": {
|
|
4696
|
+
"type": "string",
|
|
4697
|
+
"description": "Text to display"
|
|
4698
|
+
},
|
|
4699
|
+
"font_size": {
|
|
4700
|
+
"type": "number",
|
|
4701
|
+
"description": "Font size in pixels"
|
|
4702
|
+
},
|
|
4703
|
+
"text_color": {
|
|
4704
|
+
"title": "foxglove.Color",
|
|
4705
|
+
"description": "Text color",
|
|
4706
|
+
"type": "object",
|
|
4707
|
+
"properties": {
|
|
4708
|
+
"r": {
|
|
4709
|
+
"type": "number",
|
|
4710
|
+
"description": "Red value between 0 and 1"
|
|
4711
|
+
},
|
|
4712
|
+
"g": {
|
|
4713
|
+
"type": "number",
|
|
4714
|
+
"description": "Green value between 0 and 1"
|
|
4715
|
+
},
|
|
4716
|
+
"b": {
|
|
4717
|
+
"type": "number",
|
|
4718
|
+
"description": "Blue value between 0 and 1"
|
|
4719
|
+
},
|
|
4720
|
+
"a": {
|
|
4721
|
+
"type": "number",
|
|
4722
|
+
"description": "Alpha value between 0 and 1"
|
|
4723
|
+
}
|
|
4724
|
+
}
|
|
4725
|
+
},
|
|
4726
|
+
"background_color": {
|
|
4727
|
+
"title": "foxglove.Color",
|
|
4728
|
+
"description": "Background fill color",
|
|
4729
|
+
"type": "object",
|
|
4730
|
+
"properties": {
|
|
4731
|
+
"r": {
|
|
4732
|
+
"type": "number",
|
|
4733
|
+
"description": "Red value between 0 and 1"
|
|
4734
|
+
},
|
|
4735
|
+
"g": {
|
|
4736
|
+
"type": "number",
|
|
4737
|
+
"description": "Green value between 0 and 1"
|
|
4738
|
+
},
|
|
4739
|
+
"b": {
|
|
4740
|
+
"type": "number",
|
|
4741
|
+
"description": "Blue value between 0 and 1"
|
|
4742
|
+
},
|
|
4743
|
+
"a": {
|
|
4744
|
+
"type": "number",
|
|
4745
|
+
"description": "Alpha value between 0 and 1"
|
|
4746
|
+
}
|
|
4747
|
+
}
|
|
4748
|
+
}
|
|
4749
|
+
}
|
|
4750
|
+
};
|
|
4477
4751
|
exports.TextPrimitive = {
|
|
4478
4752
|
"title": "foxglove.TextPrimitive",
|
|
4479
4753
|
"description": "A primitive representing a text label",
|