@foxglove/schemas 0.4.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +1 -1
- package/dist/cjs/schemas/typescript/ArrowPrimitive.d.ts +18 -0
- package/dist/cjs/schemas/typescript/ArrowPrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/ArrowPrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/ArrowPrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.d.ts +2 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.d.ts.map +1 -1
- package/dist/cjs/schemas/typescript/CompressedImage.d.ts +2 -0
- package/dist/cjs/schemas/typescript/CompressedImage.d.ts.map +1 -1
- package/dist/cjs/schemas/typescript/CubePrimitive.d.ts +13 -0
- package/dist/cjs/schemas/typescript/CubePrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/CubePrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/CubePrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/CylinderPrimitive.d.ts +17 -0
- package/dist/cjs/schemas/typescript/CylinderPrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/CylinderPrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/CylinderPrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/KeyValuePair.d.ts +8 -0
- package/dist/cjs/schemas/typescript/KeyValuePair.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/KeyValuePair.js +4 -0
- package/dist/cjs/schemas/typescript/KeyValuePair.js.map +1 -0
- package/dist/cjs/schemas/typescript/LinePrimitive.d.ts +28 -0
- package/dist/cjs/schemas/typescript/LinePrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/LinePrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/LinePrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/LineType.d.ts +10 -0
- package/dist/cjs/schemas/typescript/LineType.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/LineType.js +15 -0
- package/dist/cjs/schemas/typescript/LineType.js.map +1 -0
- package/dist/cjs/schemas/typescript/ModelPrimitive.d.ts +21 -0
- package/dist/cjs/schemas/typescript/ModelPrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/ModelPrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/ModelPrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/RawImage.d.ts +2 -0
- package/dist/cjs/schemas/typescript/RawImage.d.ts.map +1 -1
- package/dist/cjs/schemas/typescript/SceneEntity.d.ts +43 -0
- package/dist/cjs/schemas/typescript/SceneEntity.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntity.js +4 -0
- package/dist/cjs/schemas/typescript/SceneEntity.js.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletion.d.ts +12 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletion.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletion.js +4 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletion.js.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletionType.d.ts +8 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletionType.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletionType.js +13 -0
- package/dist/cjs/schemas/typescript/SceneEntityDeletionType.js.map +1 -0
- package/dist/cjs/schemas/typescript/SceneUpdate.d.ts +10 -0
- package/dist/cjs/schemas/typescript/SceneUpdate.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/SceneUpdate.js +4 -0
- package/dist/cjs/schemas/typescript/SceneUpdate.js.map +1 -0
- package/dist/cjs/schemas/typescript/SpherePrimitive.d.ts +13 -0
- package/dist/cjs/schemas/typescript/SpherePrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/SpherePrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/SpherePrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/TextPrimitive.d.ts +18 -0
- package/dist/cjs/schemas/typescript/TextPrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/TextPrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/TextPrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/TriangleListPrimitive.d.ts +21 -0
- package/dist/cjs/schemas/typescript/TriangleListPrimitive.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/TriangleListPrimitive.js +4 -0
- package/dist/cjs/schemas/typescript/TriangleListPrimitive.js.map +1 -0
- package/dist/cjs/schemas/typescript/index.d.ts +14 -0
- package/dist/cjs/schemas/typescript/index.d.ts.map +1 -1
- package/dist/cjs/schemas/typescript/index.js +14 -0
- package/dist/cjs/schemas/typescript/index.js.map +1 -1
- package/dist/cjs/src/generateJsonSchema.test.js +71 -71
- package/dist/cjs/src/generateProto.d.ts.map +1 -1
- package/dist/cjs/src/generateProto.js +21 -3
- package/dist/cjs/src/generateProto.js.map +1 -1
- package/dist/cjs/src/generateProto.test.js +26 -26
- package/dist/cjs/src/generateRos.js +3 -3
- package/dist/cjs/src/generateRos.js.map +1 -1
- package/dist/cjs/src/generateRos.test.js +116 -116
- package/dist/cjs/src/generateTypeScript.test.js +4 -4
- package/dist/cjs/src/schemas.d.ts +15 -1
- package/dist/cjs/src/schemas.d.ts.map +1 -1
- package/dist/cjs/src/schemas.js +559 -79
- package/dist/cjs/src/schemas.js.map +1 -1
- package/dist/cjs/src/schemas.test.js +17 -0
- package/dist/cjs/src/schemas.test.js.map +1 -1
- package/dist/cjs/src/testFixtures.d.ts.map +1 -1
- package/dist/cjs/src/testFixtures.js +1 -0
- package/dist/cjs/src/testFixtures.js.map +1 -1
- package/dist/cjs/src/types.d.ts +19 -17
- package/dist/cjs/src/types.d.ts.map +1 -1
- package/dist/esm/schemas/typescript/ArrowPrimitive.d.ts +18 -0
- package/dist/esm/schemas/typescript/ArrowPrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/ArrowPrimitive.js +3 -0
- package/dist/esm/schemas/typescript/ArrowPrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/CameraCalibration.d.ts +2 -0
- package/dist/esm/schemas/typescript/CameraCalibration.d.ts.map +1 -1
- package/dist/esm/schemas/typescript/CompressedImage.d.ts +2 -0
- package/dist/esm/schemas/typescript/CompressedImage.d.ts.map +1 -1
- package/dist/esm/schemas/typescript/CubePrimitive.d.ts +13 -0
- package/dist/esm/schemas/typescript/CubePrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/CubePrimitive.js +3 -0
- package/dist/esm/schemas/typescript/CubePrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/CylinderPrimitive.d.ts +17 -0
- package/dist/esm/schemas/typescript/CylinderPrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/CylinderPrimitive.js +3 -0
- package/dist/esm/schemas/typescript/CylinderPrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/KeyValuePair.d.ts +8 -0
- package/dist/esm/schemas/typescript/KeyValuePair.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/KeyValuePair.js +3 -0
- package/dist/esm/schemas/typescript/KeyValuePair.js.map +1 -0
- package/dist/esm/schemas/typescript/LinePrimitive.d.ts +28 -0
- package/dist/esm/schemas/typescript/LinePrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/LinePrimitive.js +3 -0
- package/dist/esm/schemas/typescript/LinePrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/LineType.d.ts +10 -0
- package/dist/esm/schemas/typescript/LineType.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/LineType.js +12 -0
- package/dist/esm/schemas/typescript/LineType.js.map +1 -0
- package/dist/esm/schemas/typescript/ModelPrimitive.d.ts +21 -0
- package/dist/esm/schemas/typescript/ModelPrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/ModelPrimitive.js +3 -0
- package/dist/esm/schemas/typescript/ModelPrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/RawImage.d.ts +2 -0
- package/dist/esm/schemas/typescript/RawImage.d.ts.map +1 -1
- package/dist/esm/schemas/typescript/SceneEntity.d.ts +43 -0
- package/dist/esm/schemas/typescript/SceneEntity.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntity.js +3 -0
- package/dist/esm/schemas/typescript/SceneEntity.js.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletion.d.ts +12 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletion.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletion.js +3 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletion.js.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletionType.d.ts +8 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletionType.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletionType.js +10 -0
- package/dist/esm/schemas/typescript/SceneEntityDeletionType.js.map +1 -0
- package/dist/esm/schemas/typescript/SceneUpdate.d.ts +10 -0
- package/dist/esm/schemas/typescript/SceneUpdate.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/SceneUpdate.js +3 -0
- package/dist/esm/schemas/typescript/SceneUpdate.js.map +1 -0
- package/dist/esm/schemas/typescript/SpherePrimitive.d.ts +13 -0
- package/dist/esm/schemas/typescript/SpherePrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/SpherePrimitive.js +3 -0
- package/dist/esm/schemas/typescript/SpherePrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/TextPrimitive.d.ts +18 -0
- package/dist/esm/schemas/typescript/TextPrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/TextPrimitive.js +3 -0
- package/dist/esm/schemas/typescript/TextPrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/TriangleListPrimitive.d.ts +21 -0
- package/dist/esm/schemas/typescript/TriangleListPrimitive.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/TriangleListPrimitive.js +3 -0
- package/dist/esm/schemas/typescript/TriangleListPrimitive.js.map +1 -0
- package/dist/esm/schemas/typescript/index.d.ts +14 -0
- package/dist/esm/schemas/typescript/index.d.ts.map +1 -1
- package/dist/esm/schemas/typescript/index.js +14 -0
- package/dist/esm/schemas/typescript/index.js.map +1 -1
- package/dist/esm/src/generateJsonSchema.test.js +71 -71
- package/dist/esm/src/generateProto.d.ts.map +1 -1
- package/dist/esm/src/generateProto.js +21 -3
- package/dist/esm/src/generateProto.js.map +1 -1
- package/dist/esm/src/generateProto.test.js +26 -26
- package/dist/esm/src/generateRos.js +4 -4
- package/dist/esm/src/generateRos.js.map +1 -1
- package/dist/esm/src/generateRos.test.js +116 -116
- package/dist/esm/src/generateTypeScript.test.js +4 -4
- package/dist/esm/src/schemas.d.ts +15 -1
- package/dist/esm/src/schemas.d.ts.map +1 -1
- package/dist/esm/src/schemas.js +559 -79
- package/dist/esm/src/schemas.js.map +1 -1
- package/dist/esm/src/schemas.test.js +17 -0
- package/dist/esm/src/schemas.test.js.map +1 -1
- package/dist/esm/src/testFixtures.d.ts.map +1 -1
- package/dist/esm/src/testFixtures.js +1 -0
- package/dist/esm/src/testFixtures.js.map +1 -1
- package/dist/esm/src/types.d.ts +19 -17
- package/dist/esm/src/types.d.ts.map +1 -1
- package/jest.config.json +8 -8
- package/package.json +18 -18
- package/schemas/README.md +1069 -13
- package/schemas/jsonschema/ArrowPrimitive.json +96 -0
- package/schemas/jsonschema/CameraCalibration.json +4 -0
- package/schemas/jsonschema/CompressedImage.json +4 -0
- package/schemas/jsonschema/CubePrimitive.json +99 -0
- package/schemas/jsonschema/CylinderPrimitive.json +107 -0
- package/schemas/jsonschema/KeyValuePair.json +16 -0
- package/schemas/jsonschema/LinePrimitive.json +167 -0
- package/schemas/jsonschema/ModelPrimitive.json +116 -0
- package/schemas/jsonschema/RawImage.json +4 -0
- package/schemas/jsonschema/SceneEntity.json +1012 -0
- package/schemas/jsonschema/SceneEntityDeletion.json +44 -0
- package/schemas/jsonschema/SceneUpdate.json +1070 -0
- package/schemas/jsonschema/SpherePrimitive.json +99 -0
- package/schemas/jsonschema/TextPrimitive.json +96 -0
- package/schemas/jsonschema/TriangleListPrimitive.json +138 -0
- package/schemas/proto/foxglove/ArrowPrimitive.proto +29 -0
- package/schemas/proto/foxglove/CameraCalibration.proto +3 -0
- package/schemas/proto/foxglove/CompressedImage.proto +3 -0
- package/schemas/proto/foxglove/CubePrimitive.proto +21 -0
- package/schemas/proto/foxglove/CylinderPrimitive.proto +27 -0
- package/schemas/proto/foxglove/KeyValuePair.proto +14 -0
- package/schemas/proto/foxglove/LinePrimitive.proto +49 -0
- package/schemas/proto/foxglove/ModelPrimitive.proto +33 -0
- package/schemas/proto/foxglove/RawImage.proto +3 -0
- package/schemas/proto/foxglove/SceneEntity.proto +62 -0
- package/schemas/proto/foxglove/SceneEntityDeletion.proto +27 -0
- package/schemas/proto/foxglove/SceneUpdate.proto +17 -0
- package/schemas/proto/foxglove/SpherePrimitive.proto +21 -0
- package/schemas/proto/foxglove/TextPrimitive.proto +29 -0
- package/schemas/proto/foxglove/TriangleListPrimitive.proto +29 -0
- package/schemas/ros1/ArrowPrimitive.msg +22 -0
- package/schemas/ros1/CameraCalibration.msg +3 -0
- package/schemas/ros1/CompressedImage.msg +3 -0
- package/schemas/ros1/CubePrimitive.msg +13 -0
- package/schemas/ros1/CylinderPrimitive.msg +19 -0
- package/schemas/ros1/KeyValuePair.msg +10 -0
- package/schemas/ros1/LinePrimitive.msg +39 -0
- package/schemas/ros1/ModelPrimitive.msg +25 -0
- package/schemas/ros1/RawImage.msg +3 -0
- package/schemas/ros1/SceneEntity.msg +46 -0
- package/schemas/ros1/SceneEntityDeletion.msg +19 -0
- package/schemas/ros1/SceneUpdate.msg +10 -0
- package/schemas/ros1/SpherePrimitive.msg +13 -0
- package/schemas/ros1/TextPrimitive.msg +22 -0
- package/schemas/ros1/TriangleListPrimitive.msg +21 -0
- package/schemas/ros2/ArrowPrimitive.msg +22 -0
- package/schemas/ros2/CameraCalibration.msg +3 -0
- package/schemas/ros2/CompressedImage.msg +3 -0
- package/schemas/ros2/CubePrimitive.msg +13 -0
- package/schemas/ros2/CylinderPrimitive.msg +19 -0
- package/schemas/ros2/KeyValuePair.msg +10 -0
- package/schemas/ros2/LinePrimitive.msg +39 -0
- package/schemas/ros2/ModelPrimitive.msg +25 -0
- package/schemas/ros2/RawImage.msg +3 -0
- package/schemas/ros2/SceneEntity.msg +46 -0
- package/schemas/ros2/SceneEntityDeletion.msg +19 -0
- package/schemas/ros2/SceneUpdate.msg +10 -0
- package/schemas/ros2/SpherePrimitive.msg +13 -0
- package/schemas/ros2/TextPrimitive.msg +22 -0
- package/schemas/ros2/TriangleListPrimitive.msg +21 -0
- package/schemas/typescript/ArrowPrimitive.ts +25 -0
- package/schemas/typescript/CameraCalibration.ts +3 -0
- package/schemas/typescript/CompressedImage.ts +3 -0
- package/schemas/typescript/CubePrimitive.ts +17 -0
- package/schemas/typescript/CylinderPrimitive.ts +23 -0
- package/schemas/typescript/KeyValuePair.ts +10 -0
- package/schemas/typescript/LinePrimitive.ts +37 -0
- package/schemas/typescript/LineType.ts +13 -0
- package/schemas/typescript/ModelPrimitive.ts +29 -0
- package/schemas/typescript/RawImage.ts +3 -0
- package/schemas/typescript/SceneEntity.ts +58 -0
- package/schemas/typescript/SceneEntityDeletion.ts +16 -0
- package/schemas/typescript/SceneEntityDeletionType.ts +10 -0
- package/schemas/typescript/SceneUpdate.ts +13 -0
- package/schemas/typescript/SpherePrimitive.ts +17 -0
- package/schemas/typescript/TextPrimitive.ts +25 -0
- package/schemas/typescript/TriangleListPrimitive.ts +27 -0
- package/schemas/typescript/index.ts +14 -0
- package/src/generateJsonSchema.test.ts +71 -71
- package/src/generateProto.test.ts +26 -26
- package/src/generateProto.ts +33 -4
- package/src/generateRos.test.ts +116 -116
- package/src/generateRos.ts +6 -6
- package/src/generateTypeScript.test.ts +4 -4
- package/src/schemas.test.ts +19 -0
- package/src/schemas.ts +608 -79
- package/src/testFixtures.ts +1 -0
- package/src/types.ts +14 -11
package/.vscode/settings.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Color } from "./Color";
|
|
2
|
+
import { Pose } from "./Pose";
|
|
3
|
+
/** (Experimental, subject to change) A primitive representing an arrow */
|
|
4
|
+
export declare type ArrowPrimitive = {
|
|
5
|
+
/** Position of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction. */
|
|
6
|
+
pose: Pose;
|
|
7
|
+
/** Length of the arrow shaft */
|
|
8
|
+
shaft_length: number;
|
|
9
|
+
/** Diameter of the arrow shaft */
|
|
10
|
+
shaft_diameter: number;
|
|
11
|
+
/** Length of the arrow head */
|
|
12
|
+
head_length: number;
|
|
13
|
+
/** Diameter of the arrow head */
|
|
14
|
+
head_diameter: number;
|
|
15
|
+
/** Color of the arrow */
|
|
16
|
+
color: Color;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=ArrowPrimitive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrowPrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/ArrowPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,0EAA0E;AAC1E,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrowPrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/ArrowPrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -3,6 +3,8 @@ import { Time } from "./Time";
|
|
|
3
3
|
export declare type CameraCalibration = {
|
|
4
4
|
/** Timestamp of calibration data */
|
|
5
5
|
timestamp: Time;
|
|
6
|
+
/** Frame of reference for the camera. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image. */
|
|
7
|
+
frame_id: string;
|
|
6
8
|
/** Image width */
|
|
7
9
|
width: number;
|
|
8
10
|
/** Image height */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CameraCalibration.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/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,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IAEd,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IAEf,+BAA+B;IAC/B,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"}
|
|
1
|
+
{"version":3,"file":"CameraCalibration.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/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,+BAA+B;IAC/B,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"}
|
|
@@ -3,6 +3,8 @@ import { Time } from "./Time";
|
|
|
3
3
|
export declare type CompressedImage = {
|
|
4
4
|
/** Timestamp of image */
|
|
5
5
|
timestamp: Time;
|
|
6
|
+
/** Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image. */
|
|
7
|
+
frame_id: string;
|
|
6
8
|
/** Compressed image data */
|
|
7
9
|
data: Uint8Array;
|
|
8
10
|
/** Image format */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompressedImage.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/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,4BAA4B;IAC5B,IAAI,EAAE,UAAU,CAAC;IAEjB,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
1
|
+
{"version":3,"file":"CompressedImage.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/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,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Color } from "./Color";
|
|
2
|
+
import { Pose } from "./Pose";
|
|
3
|
+
import { Vector3 } from "./Vector3";
|
|
4
|
+
/** (Experimental, subject to change) A primitive representing a cube or rectangular prism */
|
|
5
|
+
export declare type CubePrimitive = {
|
|
6
|
+
/** Position of the center of the cube and orientation of the cube */
|
|
7
|
+
pose: Pose;
|
|
8
|
+
/** Size of the cube along each axis */
|
|
9
|
+
size: Vector3;
|
|
10
|
+
/** Color of the arrow */
|
|
11
|
+
color: Color;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=CubePrimitive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CubePrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/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,6FAA6F;AAC7F,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CubePrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/CubePrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Color } from "./Color";
|
|
2
|
+
import { Pose } from "./Pose";
|
|
3
|
+
import { Vector3 } from "./Vector3";
|
|
4
|
+
/** (Experimental, subject to change) A primitive representing a cylinder, elliptic cylinder, or truncated cone */
|
|
5
|
+
export declare type CylinderPrimitive = {
|
|
6
|
+
/** Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis. */
|
|
7
|
+
pose: Pose;
|
|
8
|
+
/** Size of the cylinder's bounding box */
|
|
9
|
+
size: Vector3;
|
|
10
|
+
/** 0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box */
|
|
11
|
+
bottom_scale: number;
|
|
12
|
+
/** 0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box */
|
|
13
|
+
top_scale: number;
|
|
14
|
+
/** Color of the cylinder */
|
|
15
|
+
color: Color;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=CylinderPrimitive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CylinderPrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/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,kHAAkH;AAClH,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CylinderPrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/CylinderPrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyValuePair.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/KeyValuePair.ts"],"names":[],"mappings":"AAEA,wEAAwE;AACxE,oBAAY,YAAY,GAAG;IACzB,UAAU;IACV,GAAG,EAAE,MAAM,CAAC;IAEZ,YAAY;IACZ,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyValuePair.js","sourceRoot":"","sources":["../../../../schemas/typescript/KeyValuePair.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Color } from "./Color";
|
|
2
|
+
import { LineType } from "./LineType";
|
|
3
|
+
import { Point3 } from "./Point3";
|
|
4
|
+
import { Pose } from "./Pose";
|
|
5
|
+
/** (Experimental, subject to change) A primitive representing a series of points connected by lines */
|
|
6
|
+
export declare type LinePrimitive = {
|
|
7
|
+
/** Drawing primitive to use for lines */
|
|
8
|
+
type: LineType;
|
|
9
|
+
/** Origin of lines relative to reference frame */
|
|
10
|
+
pose: Pose;
|
|
11
|
+
/** Line thickness */
|
|
12
|
+
thickness: number;
|
|
13
|
+
/** Indicates whether `thickness` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false) */
|
|
14
|
+
scale_invariant: boolean;
|
|
15
|
+
/** Points along the line */
|
|
16
|
+
points: Point3[];
|
|
17
|
+
/** Solid color to use for the whole line. One of `color` or `colors` must be provided. */
|
|
18
|
+
color: Color;
|
|
19
|
+
/** Per-point colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided. */
|
|
20
|
+
colors: Color[];
|
|
21
|
+
/**
|
|
22
|
+
* Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
23
|
+
*
|
|
24
|
+
* If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
|
|
25
|
+
*/
|
|
26
|
+
indices: number[];
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=LinePrimitive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinePrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/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,uGAAuG;AACvG,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinePrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/LinePrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** (Experimental, subject to change) An enumeration indicating how input points should be interpreted to create lines */
|
|
2
|
+
export declare enum LineType {
|
|
3
|
+
/** 0-1, 1-2, ..., (n-1)-n */
|
|
4
|
+
LINE_STRIP = 0,
|
|
5
|
+
/** 0-1, 1-2, ..., (n-1)-n, n-0 */
|
|
6
|
+
LINE_LOOP = 1,
|
|
7
|
+
/** 0-1, 2-3, 4-5, ... */
|
|
8
|
+
LINE_LIST = 2
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=LineType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineType.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/LineType.ts"],"names":[],"mappings":"AAEA,yHAAyH;AACzH,oBAAY,QAAQ;IAClB,6BAA6B;IAC7B,UAAU,IAAI;IAEd,kCAAkC;IAClC,SAAS,IAAI;IAEb,yBAAyB;IACzB,SAAS,IAAI;CACd"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Generated by https://github.com/foxglove/schemas
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LineType = void 0;
|
|
5
|
+
/** (Experimental, subject to change) An enumeration indicating how input points should be interpreted to create lines */
|
|
6
|
+
var LineType;
|
|
7
|
+
(function (LineType) {
|
|
8
|
+
/** 0-1, 1-2, ..., (n-1)-n */
|
|
9
|
+
LineType[LineType["LINE_STRIP"] = 0] = "LINE_STRIP";
|
|
10
|
+
/** 0-1, 1-2, ..., (n-1)-n, n-0 */
|
|
11
|
+
LineType[LineType["LINE_LOOP"] = 1] = "LINE_LOOP";
|
|
12
|
+
/** 0-1, 2-3, 4-5, ... */
|
|
13
|
+
LineType[LineType["LINE_LIST"] = 2] = "LINE_LIST";
|
|
14
|
+
})(LineType = exports.LineType || (exports.LineType = {}));
|
|
15
|
+
//# sourceMappingURL=LineType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineType.js","sourceRoot":"","sources":["../../../../schemas/typescript/LineType.ts"],"names":[],"mappings":";AAAA,mDAAmD;;;AAEnD,yHAAyH;AACzH,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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Color } from "./Color";
|
|
2
|
+
import { Pose } from "./Pose";
|
|
3
|
+
import { Vector3 } from "./Vector3";
|
|
4
|
+
/** (Experimental, subject to change) A primitive representing a 3D model file loaded from an external URL or embedded data */
|
|
5
|
+
export declare type ModelPrimitive = {
|
|
6
|
+
/** Origin of model relative to reference frame */
|
|
7
|
+
pose: Pose;
|
|
8
|
+
/** Scale factor to apply to the model along each axis */
|
|
9
|
+
scale: Vector3;
|
|
10
|
+
/** Solid color to use for the whole model if `override_color` is true. */
|
|
11
|
+
color: Color;
|
|
12
|
+
/** Whether to use the color specified in `color` instead of any materials embedded in the original model. */
|
|
13
|
+
override_color: boolean;
|
|
14
|
+
/** URL pointing to model file. One of `url` or `data` should be provided. */
|
|
15
|
+
url: string;
|
|
16
|
+
/** [Media type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of embedded model (e.g. `model/gltf-binary`). Required if `data` is provided instead of `url`. Overrides the inferred media type if `url` is provided. */
|
|
17
|
+
media_type: string;
|
|
18
|
+
/** Embedded model. One of `url` or `data` should be provided. If `data` is provided, `media_type` must be set to indicate the type of the data. */
|
|
19
|
+
data: Uint8Array;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=ModelPrimitive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelPrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/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,8HAA8H;AAC9H,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelPrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/ModelPrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -3,6 +3,8 @@ import { Time } from "./Time";
|
|
|
3
3
|
export declare type RawImage = {
|
|
4
4
|
/** Timestamp of image */
|
|
5
5
|
timestamp: Time;
|
|
6
|
+
/** Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image. */
|
|
7
|
+
frame_id: string;
|
|
6
8
|
/** Image width */
|
|
7
9
|
width: number;
|
|
8
10
|
/** Image height */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RawImage.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/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,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IAEd,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IAEf,qCAAqC;IACrC,QAAQ,EAAE,MAAM,CAAC;IAEjB,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IAEb,qBAAqB;IACrB,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
|
|
1
|
+
{"version":3,"file":"RawImage.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/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,qCAAqC;IACrC,QAAQ,EAAE,MAAM,CAAC;IAEjB,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IAEb,qBAAqB;IACrB,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ArrowPrimitive } from "./ArrowPrimitive";
|
|
2
|
+
import { CubePrimitive } from "./CubePrimitive";
|
|
3
|
+
import { CylinderPrimitive } from "./CylinderPrimitive";
|
|
4
|
+
import { Duration } from "./Duration";
|
|
5
|
+
import { KeyValuePair } from "./KeyValuePair";
|
|
6
|
+
import { LinePrimitive } from "./LinePrimitive";
|
|
7
|
+
import { ModelPrimitive } from "./ModelPrimitive";
|
|
8
|
+
import { SpherePrimitive } from "./SpherePrimitive";
|
|
9
|
+
import { TextPrimitive } from "./TextPrimitive";
|
|
10
|
+
import { Time } from "./Time";
|
|
11
|
+
import { TriangleListPrimitive } from "./TriangleListPrimitive";
|
|
12
|
+
/** (Experimental, subject to change) A visual element in a 3D scene. An entity may be composed of multiple primitives which all share the same frame of reference. */
|
|
13
|
+
export declare type SceneEntity = {
|
|
14
|
+
/** Timestamp of the entity */
|
|
15
|
+
timestamp: Time;
|
|
16
|
+
/** Frame of reference */
|
|
17
|
+
frame_id: string;
|
|
18
|
+
/** Identifier for the entity. A entity will replace any prior entity on the same topic with the same `id`. */
|
|
19
|
+
id: string;
|
|
20
|
+
/** Length of time (relative to `timestamp`) after which the entity should be automatically removed. Zero value indicates the entity should remain visible until it is replaced or deleted. */
|
|
21
|
+
lifetime: Duration;
|
|
22
|
+
/** Whether the entity should keep its location in the fixed frame (false) or follow the frame specified in `frame_id` as it moves relative to the fixed frame (true) */
|
|
23
|
+
frame_locked: boolean;
|
|
24
|
+
/** Additional user-provided metadata associated with the entity. Keys must be unique. */
|
|
25
|
+
metadata: KeyValuePair[];
|
|
26
|
+
/** Arrow primitives */
|
|
27
|
+
arrows: ArrowPrimitive[];
|
|
28
|
+
/** Cube primitives */
|
|
29
|
+
cubes: CubePrimitive[];
|
|
30
|
+
/** Sphere primitives */
|
|
31
|
+
spheres: SpherePrimitive[];
|
|
32
|
+
/** Cylinder primitives */
|
|
33
|
+
cylinders: CylinderPrimitive[];
|
|
34
|
+
/** Line primitives */
|
|
35
|
+
lines: LinePrimitive[];
|
|
36
|
+
/** Triangle list primitives */
|
|
37
|
+
triangles: TriangleListPrimitive[];
|
|
38
|
+
/** Text primitives */
|
|
39
|
+
texts: TextPrimitive[];
|
|
40
|
+
/** Model primitives */
|
|
41
|
+
models: ModelPrimitive[];
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=SceneEntity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEntity.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/SceneEntity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,sKAAsK;AACtK,oBAAY,WAAW,GAAG;IACxB,8BAA8B;IAC9B,SAAS,EAAE,IAAI,CAAC;IAEhB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IAEjB,8GAA8G;IAC9G,EAAE,EAAE,MAAM,CAAC;IAEX,8LAA8L;IAC9L,QAAQ,EAAE,QAAQ,CAAC;IAEnB,wKAAwK;IACxK,YAAY,EAAE,OAAO,CAAC;IAEtB,yFAAyF;IACzF,QAAQ,EAAE,YAAY,EAAE,CAAC;IAEzB,uBAAuB;IACvB,MAAM,EAAE,cAAc,EAAE,CAAC;IAEzB,sBAAsB;IACtB,KAAK,EAAE,aAAa,EAAE,CAAC;IAEvB,wBAAwB;IACxB,OAAO,EAAE,eAAe,EAAE,CAAC;IAE3B,0BAA0B;IAC1B,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAE/B,sBAAsB;IACtB,KAAK,EAAE,aAAa,EAAE,CAAC;IAEvB,+BAA+B;IAC/B,SAAS,EAAE,qBAAqB,EAAE,CAAC;IAEnC,sBAAsB;IACtB,KAAK,EAAE,aAAa,EAAE,CAAC;IAEvB,uBAAuB;IACvB,MAAM,EAAE,cAAc,EAAE,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEntity.js","sourceRoot":"","sources":["../../../../schemas/typescript/SceneEntity.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SceneEntityDeletionType } from "./SceneEntityDeletionType";
|
|
2
|
+
import { Time } from "./Time";
|
|
3
|
+
/** (Experimental, subject to change) Command to remove previously published entities */
|
|
4
|
+
export declare type SceneEntityDeletion = {
|
|
5
|
+
/** Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted. */
|
|
6
|
+
timestamp: Time;
|
|
7
|
+
/** Type of deletion action to perform */
|
|
8
|
+
type: SceneEntityDeletionType;
|
|
9
|
+
/** Identifier which must match if `type` is `MATCHING_ID`. */
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=SceneEntityDeletion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEntityDeletion.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/SceneEntityDeletion.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,wFAAwF;AACxF,oBAAY,mBAAmB,GAAG;IAChC,qGAAqG;IACrG,SAAS,EAAE,IAAI,CAAC;IAEhB,yCAAyC;IACzC,IAAI,EAAE,uBAAuB,CAAC;IAE9B,8DAA8D;IAC9D,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEntityDeletion.js","sourceRoot":"","sources":["../../../../schemas/typescript/SceneEntityDeletion.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** (Experimental, subject to change) An enumeration indicating which entities should match a SceneEntityDeletion command */
|
|
2
|
+
export declare enum SceneEntityDeletionType {
|
|
3
|
+
/** Delete the existing entity on the same topic that has the provided `id` */
|
|
4
|
+
MATCHING_ID = 0,
|
|
5
|
+
/** Delete all existing entities on the same topic */
|
|
6
|
+
ALL = 1
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=SceneEntityDeletionType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEntityDeletionType.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/SceneEntityDeletionType.ts"],"names":[],"mappings":"AAEA,4HAA4H;AAC5H,oBAAY,uBAAuB;IACjC,8EAA8E;IAC9E,WAAW,IAAI;IAEf,qDAAqD;IACrD,GAAG,IAAI;CACR"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Generated by https://github.com/foxglove/schemas
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SceneEntityDeletionType = void 0;
|
|
5
|
+
/** (Experimental, subject to change) An enumeration indicating which entities should match a SceneEntityDeletion command */
|
|
6
|
+
var SceneEntityDeletionType;
|
|
7
|
+
(function (SceneEntityDeletionType) {
|
|
8
|
+
/** Delete the existing entity on the same topic that has the provided `id` */
|
|
9
|
+
SceneEntityDeletionType[SceneEntityDeletionType["MATCHING_ID"] = 0] = "MATCHING_ID";
|
|
10
|
+
/** Delete all existing entities on the same topic */
|
|
11
|
+
SceneEntityDeletionType[SceneEntityDeletionType["ALL"] = 1] = "ALL";
|
|
12
|
+
})(SceneEntityDeletionType = exports.SceneEntityDeletionType || (exports.SceneEntityDeletionType = {}));
|
|
13
|
+
//# sourceMappingURL=SceneEntityDeletionType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEntityDeletionType.js","sourceRoot":"","sources":["../../../../schemas/typescript/SceneEntityDeletionType.ts"],"names":[],"mappings":";AAAA,mDAAmD;;;AAEnD,4HAA4H;AAC5H,IAAY,uBAMX;AAND,WAAY,uBAAuB;IACjC,8EAA8E;IAC9E,mFAAe,CAAA;IAEf,qDAAqD;IACrD,mEAAO,CAAA;AACT,CAAC,EANW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAMlC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SceneEntity } from "./SceneEntity";
|
|
2
|
+
import { SceneEntityDeletion } from "./SceneEntityDeletion";
|
|
3
|
+
/** (Experimental, subject to change) An update to the entities displayed in a 3D scene */
|
|
4
|
+
export declare type SceneUpdate = {
|
|
5
|
+
/** Scene entities to delete */
|
|
6
|
+
deletions: SceneEntityDeletion[];
|
|
7
|
+
/** Scene entities to add or replace */
|
|
8
|
+
entities: SceneEntity[];
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=SceneUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneUpdate.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/SceneUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,0FAA0F;AAC1F,oBAAY,WAAW,GAAG;IACxB,+BAA+B;IAC/B,SAAS,EAAE,mBAAmB,EAAE,CAAC;IAEjC,uCAAuC;IACvC,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneUpdate.js","sourceRoot":"","sources":["../../../../schemas/typescript/SceneUpdate.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Color } from "./Color";
|
|
2
|
+
import { Pose } from "./Pose";
|
|
3
|
+
import { Vector3 } from "./Vector3";
|
|
4
|
+
/** (Experimental, subject to change) A primitive representing a sphere or ellipsoid */
|
|
5
|
+
export declare type SpherePrimitive = {
|
|
6
|
+
/** Position of the center of the sphere and orientation of the sphere */
|
|
7
|
+
pose: Pose;
|
|
8
|
+
/** Size (diameter) of the sphere along each axis */
|
|
9
|
+
size: Vector3;
|
|
10
|
+
/** Color of the sphere */
|
|
11
|
+
color: Color;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=SpherePrimitive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpherePrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/SpherePrimitive.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,uFAAuF;AACvF,oBAAY,eAAe,GAAG;IAC5B,yEAAyE;IACzE,IAAI,EAAE,IAAI,CAAC;IAEX,oDAAoD;IACpD,IAAI,EAAE,OAAO,CAAC;IAEd,0BAA0B;IAC1B,KAAK,EAAE,KAAK,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpherePrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/SpherePrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Color } from "./Color";
|
|
2
|
+
import { Pose } from "./Pose";
|
|
3
|
+
/** (Experimental, subject to change) A primitive representing a text label */
|
|
4
|
+
export declare type TextPrimitive = {
|
|
5
|
+
/** 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. */
|
|
6
|
+
pose: Pose;
|
|
7
|
+
/** Whether the text should respect `pose.orientation` (false) or always face the camera (true) */
|
|
8
|
+
billboard: boolean;
|
|
9
|
+
/** Font size (height of one line of text) */
|
|
10
|
+
font_size: number;
|
|
11
|
+
/** Indicates whether `font_size` is a fixed size in screen pixels (true), or specified in world coordinates and scales with distance from the camera (false) */
|
|
12
|
+
scale_invariant: boolean;
|
|
13
|
+
/** Color of the text */
|
|
14
|
+
color: Color;
|
|
15
|
+
/** Text */
|
|
16
|
+
text: string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=TextPrimitive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextPrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/TextPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,8EAA8E;AAC9E,oBAAY,aAAa,GAAG;IAC1B,mKAAmK;IACnK,IAAI,EAAE,IAAI,CAAC;IAEX,kGAAkG;IAClG,SAAS,EAAE,OAAO,CAAC;IAEnB,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAElB,gKAAgK;IAChK,eAAe,EAAE,OAAO,CAAC;IAEzB,wBAAwB;IACxB,KAAK,EAAE,KAAK,CAAC;IAEb,WAAW;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextPrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/TextPrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Color } from "./Color";
|
|
2
|
+
import { Point3 } from "./Point3";
|
|
3
|
+
import { Pose } from "./Pose";
|
|
4
|
+
/** (Experimental, subject to change) A primitive representing a set of triangles or a surface tiled by triangles */
|
|
5
|
+
export declare type TriangleListPrimitive = {
|
|
6
|
+
/** Origin of triangles relative to reference frame */
|
|
7
|
+
pose: Pose;
|
|
8
|
+
/** Vertices to use for triangles, interpreted as a list of triples (0-1-2, 3-4-5, ...) */
|
|
9
|
+
points: Point3[];
|
|
10
|
+
/** Solid color to use for the whole shape. One of `color` or `colors` must be provided. */
|
|
11
|
+
color: Color;
|
|
12
|
+
/** Per-vertex colors (if specified, must have the same length as `points`). One of `color` or `colors` must be provided. */
|
|
13
|
+
colors: Color[];
|
|
14
|
+
/**
|
|
15
|
+
* Indices into the `points` and `colors` attribute arrays, which can be used to avoid duplicating attribute data.
|
|
16
|
+
*
|
|
17
|
+
* If omitted or empty, indexing will not be used. This default behavior is equivalent to specifying [0, 1, ..., N-1] for the indices (where N is the number of `points` provided).
|
|
18
|
+
*/
|
|
19
|
+
indices: number[];
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=TriangleListPrimitive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TriangleListPrimitive.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/TriangleListPrimitive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,oHAAoH;AACpH,oBAAY,qBAAqB,GAAG;IAClC,sDAAsD;IACtD,IAAI,EAAE,IAAI,CAAC;IAEX,0FAA0F;IAC1F,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,2FAA2F;IAC3F,KAAK,EAAE,KAAK,CAAC;IAEb,4HAA4H;IAC5H,MAAM,EAAE,KAAK,EAAE,CAAC;IAEhB;;;;OAIG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TriangleListPrimitive.js","sourceRoot":"","sources":["../../../../schemas/typescript/TriangleListPrimitive.ts"],"names":[],"mappings":";AAAA,mDAAmD"}
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
+
export * from "./ArrowPrimitive";
|
|
1
2
|
export * from "./CameraCalibration";
|
|
2
3
|
export * from "./CircleAnnotation";
|
|
3
4
|
export * from "./Color";
|
|
4
5
|
export * from "./CompressedImage";
|
|
6
|
+
export * from "./CubePrimitive";
|
|
7
|
+
export * from "./CylinderPrimitive";
|
|
5
8
|
export * from "./FrameTransform";
|
|
6
9
|
export * from "./GeoJSON";
|
|
7
10
|
export * from "./Grid";
|
|
8
11
|
export * from "./ImageAnnotations";
|
|
12
|
+
export * from "./KeyValuePair";
|
|
9
13
|
export * from "./LaserScan";
|
|
14
|
+
export * from "./LinePrimitive";
|
|
15
|
+
export * from "./LineType";
|
|
10
16
|
export * from "./LocationFix";
|
|
11
17
|
export * from "./Log";
|
|
12
18
|
export * from "./LogLevel";
|
|
19
|
+
export * from "./ModelPrimitive";
|
|
13
20
|
export * from "./NumericType";
|
|
14
21
|
export * from "./PackedElementField";
|
|
15
22
|
export * from "./Point2";
|
|
@@ -23,6 +30,13 @@ export * from "./PosesInFrame";
|
|
|
23
30
|
export * from "./PositionCovarianceType";
|
|
24
31
|
export * from "./Quaternion";
|
|
25
32
|
export * from "./RawImage";
|
|
33
|
+
export * from "./SceneEntity";
|
|
34
|
+
export * from "./SceneEntityDeletion";
|
|
35
|
+
export * from "./SceneEntityDeletionType";
|
|
36
|
+
export * from "./SceneUpdate";
|
|
37
|
+
export * from "./SpherePrimitive";
|
|
38
|
+
export * from "./TextPrimitive";
|
|
39
|
+
export * from "./TriangleListPrimitive";
|
|
26
40
|
export * from "./Vector2";
|
|
27
41
|
export * from "./Vector3";
|
|
28
42
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schemas/typescript/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
|