@foxglove/schemas 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +19 -0
- package/.gitattributes +1 -0
- package/.github/workflows/ci.yml +89 -0
- package/.prettierignore +1 -0
- package/.prettierrc.yml +2 -0
- package/.vscode/launch.json +23 -0
- package/.vscode/settings.json +20 -0
- package/LICENSE.md +21 -0
- package/README.md +31 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.d.ts +63 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.js +4 -0
- package/dist/cjs/schemas/typescript/CameraCalibration.js.map +1 -0
- package/dist/cjs/schemas/typescript/CircleAnnotation.d.ts +19 -0
- package/dist/cjs/schemas/typescript/CircleAnnotation.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/CircleAnnotation.js +4 -0
- package/dist/cjs/schemas/typescript/CircleAnnotation.js.map +1 -0
- package/dist/cjs/schemas/typescript/Color.d.ts +12 -0
- package/dist/cjs/schemas/typescript/Color.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Color.js +4 -0
- package/dist/cjs/schemas/typescript/Color.js.map +1 -0
- package/dist/cjs/schemas/typescript/CompressedImage.d.ts +11 -0
- package/dist/cjs/schemas/typescript/CompressedImage.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/CompressedImage.js +4 -0
- package/dist/cjs/schemas/typescript/CompressedImage.js.map +1 -0
- package/dist/cjs/schemas/typescript/Duration.d.ts +5 -0
- package/dist/cjs/schemas/typescript/Duration.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Duration.js +3 -0
- package/dist/cjs/schemas/typescript/Duration.js.map +1 -0
- package/dist/cjs/schemas/typescript/FrameTransform.d.ts +14 -0
- package/dist/cjs/schemas/typescript/FrameTransform.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/FrameTransform.js +4 -0
- package/dist/cjs/schemas/typescript/FrameTransform.js.map +1 -0
- package/dist/cjs/schemas/typescript/GeoJSON.d.ts +6 -0
- package/dist/cjs/schemas/typescript/GeoJSON.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/GeoJSON.js +4 -0
- package/dist/cjs/schemas/typescript/GeoJSON.js.map +1 -0
- package/dist/cjs/schemas/typescript/Grid.d.ts +26 -0
- package/dist/cjs/schemas/typescript/Grid.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Grid.js +4 -0
- package/dist/cjs/schemas/typescript/Grid.js.map +1 -0
- package/dist/cjs/schemas/typescript/ImageAnnotations.d.ts +10 -0
- package/dist/cjs/schemas/typescript/ImageAnnotations.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/ImageAnnotations.js +4 -0
- package/dist/cjs/schemas/typescript/ImageAnnotations.js.map +1 -0
- package/dist/cjs/schemas/typescript/LaserScan.d.ts +20 -0
- package/dist/cjs/schemas/typescript/LaserScan.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/LaserScan.js +4 -0
- package/dist/cjs/schemas/typescript/LaserScan.js.map +1 -0
- package/dist/cjs/schemas/typescript/LocationFix.d.ts +15 -0
- package/dist/cjs/schemas/typescript/LocationFix.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/LocationFix.js +4 -0
- package/dist/cjs/schemas/typescript/LocationFix.js.map +1 -0
- package/dist/cjs/schemas/typescript/Log.d.ts +18 -0
- package/dist/cjs/schemas/typescript/Log.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Log.js +4 -0
- package/dist/cjs/schemas/typescript/Log.js.map +1 -0
- package/dist/cjs/schemas/typescript/LogLevel.d.ts +10 -0
- package/dist/cjs/schemas/typescript/LogLevel.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/LogLevel.js +15 -0
- package/dist/cjs/schemas/typescript/LogLevel.js.map +1 -0
- package/dist/cjs/schemas/typescript/NumericType.d.ts +13 -0
- package/dist/cjs/schemas/typescript/NumericType.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/NumericType.js +18 -0
- package/dist/cjs/schemas/typescript/NumericType.js.map +1 -0
- package/dist/cjs/schemas/typescript/PackedElementField.d.ts +11 -0
- package/dist/cjs/schemas/typescript/PackedElementField.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PackedElementField.js +4 -0
- package/dist/cjs/schemas/typescript/PackedElementField.js.map +1 -0
- package/dist/cjs/schemas/typescript/Point2.d.ts +8 -0
- package/dist/cjs/schemas/typescript/Point2.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Point2.js +4 -0
- package/dist/cjs/schemas/typescript/Point2.js.map +1 -0
- package/dist/cjs/schemas/typescript/Point3.d.ts +10 -0
- package/dist/cjs/schemas/typescript/Point3.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Point3.js +4 -0
- package/dist/cjs/schemas/typescript/Point3.js.map +1 -0
- package/dist/cjs/schemas/typescript/PointCloud.d.ts +19 -0
- package/dist/cjs/schemas/typescript/PointCloud.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PointCloud.js +4 -0
- package/dist/cjs/schemas/typescript/PointCloud.js.map +1 -0
- package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts +18 -0
- package/dist/cjs/schemas/typescript/PointsAnnotation.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PointsAnnotation.js +4 -0
- package/dist/cjs/schemas/typescript/PointsAnnotation.js.map +1 -0
- package/dist/cjs/schemas/typescript/PointsAnnotationType.d.ts +9 -0
- package/dist/cjs/schemas/typescript/PointsAnnotationType.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PointsAnnotationType.js +14 -0
- package/dist/cjs/schemas/typescript/PointsAnnotationType.js.map +1 -0
- package/dist/cjs/schemas/typescript/Pose.d.ts +10 -0
- package/dist/cjs/schemas/typescript/Pose.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Pose.js +4 -0
- package/dist/cjs/schemas/typescript/Pose.js.map +1 -0
- package/dist/cjs/schemas/typescript/PoseInFrame.d.ts +12 -0
- package/dist/cjs/schemas/typescript/PoseInFrame.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PoseInFrame.js +4 -0
- package/dist/cjs/schemas/typescript/PoseInFrame.js.map +1 -0
- package/dist/cjs/schemas/typescript/PosesInFrame.d.ts +12 -0
- package/dist/cjs/schemas/typescript/PosesInFrame.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PosesInFrame.js +4 -0
- package/dist/cjs/schemas/typescript/PosesInFrame.js.map +1 -0
- package/dist/cjs/schemas/typescript/PositionCovarianceType.d.ts +8 -0
- package/dist/cjs/schemas/typescript/PositionCovarianceType.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/PositionCovarianceType.js +13 -0
- package/dist/cjs/schemas/typescript/PositionCovarianceType.js.map +1 -0
- package/dist/cjs/schemas/typescript/Quaternion.d.ts +12 -0
- package/dist/cjs/schemas/typescript/Quaternion.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Quaternion.js +4 -0
- package/dist/cjs/schemas/typescript/Quaternion.js.map +1 -0
- package/dist/cjs/schemas/typescript/RawImage.d.ts +17 -0
- package/dist/cjs/schemas/typescript/RawImage.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/RawImage.js +4 -0
- package/dist/cjs/schemas/typescript/RawImage.js.map +1 -0
- package/dist/cjs/schemas/typescript/Time.d.ts +5 -0
- package/dist/cjs/schemas/typescript/Time.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Time.js +3 -0
- package/dist/cjs/schemas/typescript/Time.js.map +1 -0
- package/dist/cjs/schemas/typescript/Transform.d.ts +13 -0
- package/dist/cjs/schemas/typescript/Transform.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Transform.js +4 -0
- package/dist/cjs/schemas/typescript/Transform.js.map +1 -0
- package/dist/cjs/schemas/typescript/Vector2.d.ts +8 -0
- package/dist/cjs/schemas/typescript/Vector2.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Vector2.js +4 -0
- package/dist/cjs/schemas/typescript/Vector2.js.map +1 -0
- package/dist/cjs/schemas/typescript/Vector3.d.ts +10 -0
- package/dist/cjs/schemas/typescript/Vector3.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/Vector3.js +4 -0
- package/dist/cjs/schemas/typescript/Vector3.js.map +1 -0
- package/dist/cjs/schemas/typescript/index.d.ts +29 -0
- package/dist/cjs/schemas/typescript/index.d.ts.map +1 -0
- package/dist/cjs/schemas/typescript/index.js +32 -0
- package/dist/cjs/schemas/typescript/index.js.map +1 -0
- package/dist/cjs/scripts/updateGeneratedFiles.d.ts +2 -0
- package/dist/cjs/scripts/updateGeneratedFiles.d.ts.map +1 -0
- package/dist/cjs/scripts/updateGeneratedFiles.js +77 -0
- package/dist/cjs/scripts/updateGeneratedFiles.js.map +1 -0
- package/dist/cjs/src/generateJsonSchema.d.ts +3 -0
- package/dist/cjs/src/generateJsonSchema.d.ts.map +1 -0
- package/dist/cjs/src/generateJsonSchema.js +85 -0
- package/dist/cjs/src/generateJsonSchema.js.map +1 -0
- package/dist/cjs/src/generateJsonSchema.test.d.ts +2 -0
- package/dist/cjs/src/generateJsonSchema.test.d.ts.map +1 -0
- package/dist/cjs/src/generateJsonSchema.test.js +312 -0
- package/dist/cjs/src/generateJsonSchema.test.js.map +1 -0
- package/dist/cjs/src/generateProto.d.ts +3 -0
- package/dist/cjs/src/generateProto.d.ts.map +1 -0
- package/dist/cjs/src/generateProto.js +84 -0
- package/dist/cjs/src/generateProto.js.map +1 -0
- package/dist/cjs/src/generateProto.test.d.ts +2 -0
- package/dist/cjs/src/generateProto.test.d.ts.map +1 -0
- package/dist/cjs/src/generateProto.test.js +125 -0
- package/dist/cjs/src/generateProto.test.js.map +1 -0
- package/dist/cjs/src/generateRos.d.ts +20 -0
- package/dist/cjs/src/generateRos.d.ts.map +1 -0
- package/dist/cjs/src/generateRos.js +186 -0
- package/dist/cjs/src/generateRos.js.map +1 -0
- package/dist/cjs/src/generateRos.test.d.ts +2 -0
- package/dist/cjs/src/generateRos.test.d.ts.map +1 -0
- package/dist/cjs/src/generateRos.test.js +911 -0
- package/dist/cjs/src/generateRos.test.js.map +1 -0
- package/dist/cjs/src/generateTypeScript.d.ts +5 -0
- package/dist/cjs/src/generateTypeScript.d.ts.map +1 -0
- package/dist/cjs/src/generateTypeScript.js +100 -0
- package/dist/cjs/src/generateTypeScript.js.map +1 -0
- package/dist/cjs/src/generateTypeScript.test.d.ts +2 -0
- package/dist/cjs/src/generateTypeScript.test.d.ts.map +1 -0
- package/dist/cjs/src/generateTypeScript.test.js +142 -0
- package/dist/cjs/src/generateTypeScript.test.js.map +1 -0
- package/dist/cjs/src/index.d.ts +6 -0
- package/dist/cjs/src/index.d.ts.map +1 -0
- package/dist/cjs/src/index.js +9 -0
- package/dist/cjs/src/index.js.map +1 -0
- package/dist/cjs/src/schemas.d.ts +35 -0
- package/dist/cjs/src/schemas.d.ts.map +1 -0
- package/dist/cjs/src/schemas.js +820 -0
- package/dist/cjs/src/schemas.js.map +1 -0
- package/dist/cjs/src/schemas.test.d.ts +2 -0
- package/dist/cjs/src/schemas.test.d.ts.map +1 -0
- package/dist/cjs/src/schemas.test.js +24 -0
- package/dist/cjs/src/schemas.test.js.map +1 -0
- package/dist/cjs/src/testFixtures.d.ts +5 -0
- package/dist/cjs/src/testFixtures.d.ts.map +1 -0
- package/dist/cjs/src/testFixtures.js +86 -0
- package/dist/cjs/src/testFixtures.js.map +1 -0
- package/dist/cjs/src/types.d.ts +37 -0
- package/dist/cjs/src/types.d.ts.map +1 -0
- package/dist/cjs/src/types.js +3 -0
- package/dist/cjs/src/types.js.map +1 -0
- package/dist/esm/schemas/typescript/CameraCalibration.d.ts +63 -0
- package/dist/esm/schemas/typescript/CameraCalibration.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/CameraCalibration.js +3 -0
- package/dist/esm/schemas/typescript/CameraCalibration.js.map +1 -0
- package/dist/esm/schemas/typescript/CircleAnnotation.d.ts +19 -0
- package/dist/esm/schemas/typescript/CircleAnnotation.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/CircleAnnotation.js +3 -0
- package/dist/esm/schemas/typescript/CircleAnnotation.js.map +1 -0
- package/dist/esm/schemas/typescript/Color.d.ts +12 -0
- package/dist/esm/schemas/typescript/Color.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Color.js +3 -0
- package/dist/esm/schemas/typescript/Color.js.map +1 -0
- package/dist/esm/schemas/typescript/CompressedImage.d.ts +11 -0
- package/dist/esm/schemas/typescript/CompressedImage.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/CompressedImage.js +3 -0
- package/dist/esm/schemas/typescript/CompressedImage.js.map +1 -0
- package/dist/esm/schemas/typescript/Duration.d.ts +5 -0
- package/dist/esm/schemas/typescript/Duration.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Duration.js +2 -0
- package/dist/esm/schemas/typescript/Duration.js.map +1 -0
- package/dist/esm/schemas/typescript/FrameTransform.d.ts +14 -0
- package/dist/esm/schemas/typescript/FrameTransform.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/FrameTransform.js +3 -0
- package/dist/esm/schemas/typescript/FrameTransform.js.map +1 -0
- package/dist/esm/schemas/typescript/GeoJSON.d.ts +6 -0
- package/dist/esm/schemas/typescript/GeoJSON.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/GeoJSON.js +3 -0
- package/dist/esm/schemas/typescript/GeoJSON.js.map +1 -0
- package/dist/esm/schemas/typescript/Grid.d.ts +26 -0
- package/dist/esm/schemas/typescript/Grid.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Grid.js +3 -0
- package/dist/esm/schemas/typescript/Grid.js.map +1 -0
- package/dist/esm/schemas/typescript/ImageAnnotations.d.ts +10 -0
- package/dist/esm/schemas/typescript/ImageAnnotations.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/ImageAnnotations.js +3 -0
- package/dist/esm/schemas/typescript/ImageAnnotations.js.map +1 -0
- package/dist/esm/schemas/typescript/LaserScan.d.ts +20 -0
- package/dist/esm/schemas/typescript/LaserScan.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/LaserScan.js +3 -0
- package/dist/esm/schemas/typescript/LaserScan.js.map +1 -0
- package/dist/esm/schemas/typescript/LocationFix.d.ts +15 -0
- package/dist/esm/schemas/typescript/LocationFix.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/LocationFix.js +3 -0
- package/dist/esm/schemas/typescript/LocationFix.js.map +1 -0
- package/dist/esm/schemas/typescript/Log.d.ts +18 -0
- package/dist/esm/schemas/typescript/Log.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Log.js +3 -0
- package/dist/esm/schemas/typescript/Log.js.map +1 -0
- package/dist/esm/schemas/typescript/LogLevel.d.ts +10 -0
- package/dist/esm/schemas/typescript/LogLevel.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/LogLevel.js +12 -0
- package/dist/esm/schemas/typescript/LogLevel.js.map +1 -0
- package/dist/esm/schemas/typescript/NumericType.d.ts +13 -0
- package/dist/esm/schemas/typescript/NumericType.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/NumericType.js +15 -0
- package/dist/esm/schemas/typescript/NumericType.js.map +1 -0
- package/dist/esm/schemas/typescript/PackedElementField.d.ts +11 -0
- package/dist/esm/schemas/typescript/PackedElementField.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PackedElementField.js +3 -0
- package/dist/esm/schemas/typescript/PackedElementField.js.map +1 -0
- package/dist/esm/schemas/typescript/Point2.d.ts +8 -0
- package/dist/esm/schemas/typescript/Point2.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Point2.js +3 -0
- package/dist/esm/schemas/typescript/Point2.js.map +1 -0
- package/dist/esm/schemas/typescript/Point3.d.ts +10 -0
- package/dist/esm/schemas/typescript/Point3.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Point3.js +3 -0
- package/dist/esm/schemas/typescript/Point3.js.map +1 -0
- package/dist/esm/schemas/typescript/PointCloud.d.ts +19 -0
- package/dist/esm/schemas/typescript/PointCloud.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PointCloud.js +3 -0
- package/dist/esm/schemas/typescript/PointCloud.js.map +1 -0
- package/dist/esm/schemas/typescript/PointsAnnotation.d.ts +18 -0
- package/dist/esm/schemas/typescript/PointsAnnotation.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PointsAnnotation.js +3 -0
- package/dist/esm/schemas/typescript/PointsAnnotation.js.map +1 -0
- package/dist/esm/schemas/typescript/PointsAnnotationType.d.ts +9 -0
- package/dist/esm/schemas/typescript/PointsAnnotationType.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PointsAnnotationType.js +11 -0
- package/dist/esm/schemas/typescript/PointsAnnotationType.js.map +1 -0
- package/dist/esm/schemas/typescript/Pose.d.ts +10 -0
- package/dist/esm/schemas/typescript/Pose.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Pose.js +3 -0
- package/dist/esm/schemas/typescript/Pose.js.map +1 -0
- package/dist/esm/schemas/typescript/PoseInFrame.d.ts +12 -0
- package/dist/esm/schemas/typescript/PoseInFrame.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PoseInFrame.js +3 -0
- package/dist/esm/schemas/typescript/PoseInFrame.js.map +1 -0
- package/dist/esm/schemas/typescript/PosesInFrame.d.ts +12 -0
- package/dist/esm/schemas/typescript/PosesInFrame.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PosesInFrame.js +3 -0
- package/dist/esm/schemas/typescript/PosesInFrame.js.map +1 -0
- package/dist/esm/schemas/typescript/PositionCovarianceType.d.ts +8 -0
- package/dist/esm/schemas/typescript/PositionCovarianceType.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/PositionCovarianceType.js +10 -0
- package/dist/esm/schemas/typescript/PositionCovarianceType.js.map +1 -0
- package/dist/esm/schemas/typescript/Quaternion.d.ts +12 -0
- package/dist/esm/schemas/typescript/Quaternion.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Quaternion.js +3 -0
- package/dist/esm/schemas/typescript/Quaternion.js.map +1 -0
- package/dist/esm/schemas/typescript/RawImage.d.ts +17 -0
- package/dist/esm/schemas/typescript/RawImage.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/RawImage.js +3 -0
- package/dist/esm/schemas/typescript/RawImage.js.map +1 -0
- package/dist/esm/schemas/typescript/Time.d.ts +5 -0
- package/dist/esm/schemas/typescript/Time.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Time.js +2 -0
- package/dist/esm/schemas/typescript/Time.js.map +1 -0
- package/dist/esm/schemas/typescript/Transform.d.ts +13 -0
- package/dist/esm/schemas/typescript/Transform.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Transform.js +3 -0
- package/dist/esm/schemas/typescript/Transform.js.map +1 -0
- package/dist/esm/schemas/typescript/Vector2.d.ts +8 -0
- package/dist/esm/schemas/typescript/Vector2.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Vector2.js +3 -0
- package/dist/esm/schemas/typescript/Vector2.js.map +1 -0
- package/dist/esm/schemas/typescript/Vector3.d.ts +10 -0
- package/dist/esm/schemas/typescript/Vector3.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/Vector3.js +3 -0
- package/dist/esm/schemas/typescript/Vector3.js.map +1 -0
- package/dist/esm/schemas/typescript/index.d.ts +29 -0
- package/dist/esm/schemas/typescript/index.d.ts.map +1 -0
- package/dist/esm/schemas/typescript/index.js +29 -0
- package/dist/esm/schemas/typescript/index.js.map +1 -0
- package/dist/esm/scripts/updateGeneratedFiles.d.ts +2 -0
- package/dist/esm/scripts/updateGeneratedFiles.d.ts.map +1 -0
- package/dist/esm/scripts/updateGeneratedFiles.js +74 -0
- package/dist/esm/scripts/updateGeneratedFiles.js.map +1 -0
- package/dist/esm/src/generateJsonSchema.d.ts +3 -0
- package/dist/esm/src/generateJsonSchema.d.ts.map +1 -0
- package/dist/esm/src/generateJsonSchema.js +81 -0
- package/dist/esm/src/generateJsonSchema.js.map +1 -0
- package/dist/esm/src/generateJsonSchema.test.d.ts +2 -0
- package/dist/esm/src/generateJsonSchema.test.d.ts.map +1 -0
- package/dist/esm/src/generateJsonSchema.test.js +309 -0
- package/dist/esm/src/generateJsonSchema.test.js.map +1 -0
- package/dist/esm/src/generateProto.d.ts +3 -0
- package/dist/esm/src/generateProto.d.ts.map +1 -0
- package/dist/esm/src/generateProto.js +80 -0
- package/dist/esm/src/generateProto.js.map +1 -0
- package/dist/esm/src/generateProto.test.d.ts +2 -0
- package/dist/esm/src/generateProto.test.d.ts.map +1 -0
- package/dist/esm/src/generateProto.test.js +122 -0
- package/dist/esm/src/generateProto.test.js.map +1 -0
- package/dist/esm/src/generateRos.d.ts +20 -0
- package/dist/esm/src/generateRos.d.ts.map +1 -0
- package/dist/esm/src/generateRos.js +180 -0
- package/dist/esm/src/generateRos.js.map +1 -0
- package/dist/esm/src/generateRos.test.d.ts +2 -0
- package/dist/esm/src/generateRos.test.d.ts.map +1 -0
- package/dist/esm/src/generateRos.test.js +909 -0
- package/dist/esm/src/generateRos.test.js.map +1 -0
- package/dist/esm/src/generateTypeScript.d.ts +5 -0
- package/dist/esm/src/generateTypeScript.d.ts.map +1 -0
- package/dist/esm/src/generateTypeScript.js +96 -0
- package/dist/esm/src/generateTypeScript.js.map +1 -0
- package/dist/esm/src/generateTypeScript.test.d.ts +2 -0
- package/dist/esm/src/generateTypeScript.test.d.ts.map +1 -0
- package/dist/esm/src/generateTypeScript.test.js +117 -0
- package/dist/esm/src/generateTypeScript.test.js.map +1 -0
- package/dist/esm/src/index.d.ts +6 -0
- package/dist/esm/src/index.d.ts.map +1 -0
- package/dist/esm/src/index.js +6 -0
- package/dist/esm/src/index.js.map +1 -0
- package/dist/esm/src/schemas.d.ts +35 -0
- package/dist/esm/src/schemas.d.ts.map +1 -0
- package/dist/esm/src/schemas.js +817 -0
- package/dist/esm/src/schemas.js.map +1 -0
- package/dist/esm/src/schemas.test.d.ts +2 -0
- package/dist/esm/src/schemas.test.d.ts.map +1 -0
- package/dist/esm/src/schemas.test.js +22 -0
- package/dist/esm/src/schemas.test.js.map +1 -0
- package/dist/esm/src/testFixtures.d.ts +5 -0
- package/dist/esm/src/testFixtures.d.ts.map +1 -0
- package/dist/esm/src/testFixtures.js +83 -0
- package/dist/esm/src/testFixtures.js.map +1 -0
- package/dist/esm/src/types.d.ts +37 -0
- package/dist/esm/src/types.d.ts.map +1 -0
- package/dist/esm/src/types.js +2 -0
- package/dist/esm/src/types.js.map +1 -0
- package/jest.config.json +16 -0
- package/package.json +55 -0
- package/schemas/jsonschema/CameraCalibration.json +72 -0
- package/schemas/jsonschema/CircleAnnotation.json +96 -0
- package/schemas/jsonschema/Color.json +24 -0
- package/schemas/jsonschema/CompressedImage.json +33 -0
- package/schemas/jsonschema/FrameTransform.json +100 -0
- package/schemas/jsonschema/GeoJSON.json +12 -0
- package/schemas/jsonschema/Grid.json +179 -0
- package/schemas/jsonschema/ImageAnnotations.json +234 -0
- package/schemas/jsonschema/LaserScan.json +102 -0
- package/schemas/jsonschema/LocationFix.json +51 -0
- package/schemas/jsonschema/Log.json +71 -0
- package/schemas/jsonschema/PackedElementField.json +59 -0
- package/schemas/jsonschema/Point2.json +16 -0
- package/schemas/jsonschema/Point3.json +20 -0
- package/schemas/jsonschema/PointCloud.json +153 -0
- package/schemas/jsonschema/PointsAnnotation.json +122 -0
- package/schemas/jsonschema/Pose.json +52 -0
- package/schemas/jsonschema/PoseInFrame.json +80 -0
- package/schemas/jsonschema/PosesInFrame.json +84 -0
- package/schemas/jsonschema/Quaternion.json +24 -0
- package/schemas/jsonschema/RawImage.json +48 -0
- package/schemas/jsonschema/Transform.json +68 -0
- package/schemas/jsonschema/Vector2.json +16 -0
- package/schemas/jsonschema/Vector3.json +20 -0
- package/schemas/proto/foxglove/CameraCalibration.proto +70 -0
- package/schemas/proto/foxglove/CircleAnnotation.proto +30 -0
- package/schemas/proto/foxglove/Color.proto +20 -0
- package/schemas/proto/foxglove/CompressedImage.proto +19 -0
- package/schemas/proto/foxglove/FrameTransform.proto +23 -0
- package/schemas/proto/foxglove/GeoJSON.proto +11 -0
- package/schemas/proto/foxglove/Grid.proto +40 -0
- package/schemas/proto/foxglove/ImageAnnotations.proto +17 -0
- package/schemas/proto/foxglove/LaserScan.proto +32 -0
- package/schemas/proto/foxglove/LocationFix.proto +33 -0
- package/schemas/proto/foxglove/Log.proto +42 -0
- package/schemas/proto/foxglove/PackedElementField.proto +37 -0
- package/schemas/proto/foxglove/Point2.proto +14 -0
- package/schemas/proto/foxglove/Point3.proto +17 -0
- package/schemas/proto/foxglove/PointCloud.proto +30 -0
- package/schemas/proto/foxglove/PointsAnnotation.proto +39 -0
- package/schemas/proto/foxglove/Pose.proto +17 -0
- package/schemas/proto/foxglove/PoseInFrame.proto +20 -0
- package/schemas/proto/foxglove/PosesInFrame.proto +20 -0
- package/schemas/proto/foxglove/Quaternion.proto +20 -0
- package/schemas/proto/foxglove/RawImage.proto +28 -0
- package/schemas/proto/foxglove/Transform.proto +21 -0
- package/schemas/proto/foxglove/Vector2.proto +14 -0
- package/schemas/proto/foxglove/Vector3.proto +17 -0
- package/schemas/ros1/CameraCalibration.msg +61 -0
- package/schemas/ros1/CircleAnnotation.msg +19 -0
- package/schemas/ros1/Color.msg +13 -0
- package/schemas/ros1/CompressedImage.msg +10 -0
- package/schemas/ros1/FrameTransform.msg +13 -0
- package/schemas/ros1/GeoJSON.msg +4 -0
- package/schemas/ros1/Grid.msg +28 -0
- package/schemas/ros1/ImageAnnotations.msg +7 -0
- package/schemas/ros1/LaserScan.msg +22 -0
- package/schemas/ros1/LocationFix.msg +21 -0
- package/schemas/ros1/Log.msg +26 -0
- package/schemas/ros1/PackedElementField.msg +20 -0
- package/schemas/ros1/Point2.msg +7 -0
- package/schemas/ros1/PointCloud.msg +19 -0
- package/schemas/ros1/PointsAnnotation.msg +22 -0
- package/schemas/ros1/PoseInFrame.msg +10 -0
- package/schemas/ros1/PosesInFrame.msg +10 -0
- package/schemas/ros1/RawImage.msg +19 -0
- package/schemas/ros1/Transform.msg +10 -0
- package/schemas/ros1/Vector2.msg +7 -0
- package/schemas/ros2/CameraCalibration.msg +61 -0
- package/schemas/ros2/CircleAnnotation.msg +19 -0
- package/schemas/ros2/Color.msg +13 -0
- package/schemas/ros2/CompressedImage.msg +10 -0
- package/schemas/ros2/FrameTransform.msg +13 -0
- package/schemas/ros2/GeoJSON.msg +4 -0
- package/schemas/ros2/Grid.msg +28 -0
- package/schemas/ros2/ImageAnnotations.msg +7 -0
- package/schemas/ros2/LaserScan.msg +22 -0
- package/schemas/ros2/LocationFix.msg +21 -0
- package/schemas/ros2/Log.msg +26 -0
- package/schemas/ros2/PackedElementField.msg +20 -0
- package/schemas/ros2/Point2.msg +7 -0
- package/schemas/ros2/PointCloud.msg +19 -0
- package/schemas/ros2/PointsAnnotation.msg +22 -0
- package/schemas/ros2/PoseInFrame.msg +10 -0
- package/schemas/ros2/PosesInFrame.msg +10 -0
- package/schemas/ros2/RawImage.msg +19 -0
- package/schemas/ros2/Transform.msg +10 -0
- package/schemas/ros2/Vector2.msg +7 -0
- package/schemas/typescript/CameraCalibration.ts +72 -0
- package/schemas/typescript/CircleAnnotation.ts +26 -0
- package/schemas/typescript/Color.ts +16 -0
- package/schemas/typescript/CompressedImage.ts +15 -0
- package/schemas/typescript/Duration.ts +4 -0
- package/schemas/typescript/FrameTransform.ts +19 -0
- package/schemas/typescript/GeoJSON.ts +7 -0
- package/schemas/typescript/Grid.ts +36 -0
- package/schemas/typescript/ImageAnnotations.ts +13 -0
- package/schemas/typescript/LaserScan.ts +28 -0
- package/schemas/typescript/LocationFix.ts +21 -0
- package/schemas/typescript/Log.ts +25 -0
- package/schemas/typescript/LogLevel.ts +16 -0
- package/schemas/typescript/NumericType.ts +22 -0
- package/schemas/typescript/PackedElementField.ts +15 -0
- package/schemas/typescript/Point2.ts +10 -0
- package/schemas/typescript/Point3.ts +13 -0
- package/schemas/typescript/PointCloud.ts +26 -0
- package/schemas/typescript/PointsAnnotation.ts +24 -0
- package/schemas/typescript/PointsAnnotationType.ts +14 -0
- package/schemas/typescript/Pose.ts +13 -0
- package/schemas/typescript/PoseInFrame.ts +16 -0
- package/schemas/typescript/PosesInFrame.ts +16 -0
- package/schemas/typescript/PositionCovarianceType.ts +12 -0
- package/schemas/typescript/Quaternion.ts +16 -0
- package/schemas/typescript/RawImage.ts +24 -0
- package/schemas/typescript/Time.ts +4 -0
- package/schemas/typescript/Transform.ts +17 -0
- package/schemas/typescript/Vector2.ts +10 -0
- package/schemas/typescript/Vector3.ts +13 -0
- package/schemas/typescript/index.ts +28 -0
- package/scripts/updateGeneratedFiles.ts +103 -0
- package/src/generateJsonSchema.test.ts +314 -0
- package/src/generateJsonSchema.ts +82 -0
- package/src/generateProto.test.ts +126 -0
- package/src/generateProto.ts +97 -0
- package/src/generateRos.test.ts +931 -0
- package/src/generateRos.ts +219 -0
- package/src/generateTypeScript.test.ts +118 -0
- package/src/generateTypeScript.ts +106 -0
- package/src/index.ts +5 -0
- package/src/schemas.test.ts +23 -0
- package/src/schemas.ts +853 -0
- package/src/testFixtures.ts +90 -0
- package/src/types.ts +40 -0
- package/tsconfig.cjs.json +7 -0
- package/tsconfig.json +9 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from Point2 by @foxglove/schemas",
|
|
3
|
+
"title": "Point2",
|
|
4
|
+
"description": "A point representing a position in 2D space",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"x": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"description": "x coordinate position"
|
|
10
|
+
},
|
|
11
|
+
"y": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"description": "y coordinate position"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from Point3 by @foxglove/schemas",
|
|
3
|
+
"title": "Point3",
|
|
4
|
+
"description": "A point representing a position in 3D space",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"x": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"description": "x coordinate position"
|
|
10
|
+
},
|
|
11
|
+
"y": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"description": "y coordinate position"
|
|
14
|
+
},
|
|
15
|
+
"z": {
|
|
16
|
+
"type": "number",
|
|
17
|
+
"description": "z coordinate position"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from PointCloud by @foxglove/schemas",
|
|
3
|
+
"title": "PointCloud",
|
|
4
|
+
"description": "A collection of N-dimensional points, which may contain additional fields with information like normals, intensity, etc.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"timestamp": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"title": "time",
|
|
10
|
+
"properties": {
|
|
11
|
+
"sec": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 0
|
|
14
|
+
},
|
|
15
|
+
"nsec": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minimum": 0,
|
|
18
|
+
"maximum": 999999999
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"description": "Timestamp of point cloud"
|
|
22
|
+
},
|
|
23
|
+
"frame_id": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Frame of reference"
|
|
26
|
+
},
|
|
27
|
+
"pose": {
|
|
28
|
+
"$comment": "Generated from Pose by @foxglove/schemas",
|
|
29
|
+
"title": "Pose",
|
|
30
|
+
"description": "The origin of the point cloud relative to the frame of reference",
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"position": {
|
|
34
|
+
"$comment": "Generated from Vector3 by @foxglove/schemas",
|
|
35
|
+
"title": "Vector3",
|
|
36
|
+
"description": "Point denoting position in 3D space",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"x": {
|
|
40
|
+
"type": "number",
|
|
41
|
+
"description": "x coordinate length"
|
|
42
|
+
},
|
|
43
|
+
"y": {
|
|
44
|
+
"type": "number",
|
|
45
|
+
"description": "y coordinate length"
|
|
46
|
+
},
|
|
47
|
+
"z": {
|
|
48
|
+
"type": "number",
|
|
49
|
+
"description": "z coordinate length"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"orientation": {
|
|
54
|
+
"$comment": "Generated from Quaternion by @foxglove/schemas",
|
|
55
|
+
"title": "Quaternion",
|
|
56
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"x": {
|
|
60
|
+
"type": "number",
|
|
61
|
+
"description": "x value"
|
|
62
|
+
},
|
|
63
|
+
"y": {
|
|
64
|
+
"type": "number",
|
|
65
|
+
"description": "y value"
|
|
66
|
+
},
|
|
67
|
+
"z": {
|
|
68
|
+
"type": "number",
|
|
69
|
+
"description": "z value"
|
|
70
|
+
},
|
|
71
|
+
"w": {
|
|
72
|
+
"type": "number",
|
|
73
|
+
"description": "w value"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"point_stride": {
|
|
80
|
+
"type": "integer",
|
|
81
|
+
"minimum": 0,
|
|
82
|
+
"description": "Number of bytes between points in the `data`"
|
|
83
|
+
},
|
|
84
|
+
"fields": {
|
|
85
|
+
"type": "array",
|
|
86
|
+
"items": {
|
|
87
|
+
"$comment": "Generated from PackedElementField by @foxglove/schemas",
|
|
88
|
+
"title": "PackedElementField",
|
|
89
|
+
"description": "List of fields for every element in a byte array",
|
|
90
|
+
"type": "object",
|
|
91
|
+
"properties": {
|
|
92
|
+
"name": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"description": "Name of the field"
|
|
95
|
+
},
|
|
96
|
+
"offset": {
|
|
97
|
+
"type": "integer",
|
|
98
|
+
"minimum": 0,
|
|
99
|
+
"description": "Byte offset from start of data buffer"
|
|
100
|
+
},
|
|
101
|
+
"type": {
|
|
102
|
+
"title": "NumericType: Numeric type",
|
|
103
|
+
"description": "Type of data in the field. Integers are stored using little-endian byte order.",
|
|
104
|
+
"oneOf": [
|
|
105
|
+
{
|
|
106
|
+
"title": "UNKNOWN",
|
|
107
|
+
"const": 0
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"title": "UINT8",
|
|
111
|
+
"const": 1
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"title": "INT8",
|
|
115
|
+
"const": 2
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"title": "UINT16",
|
|
119
|
+
"const": 3
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"title": "INT16",
|
|
123
|
+
"const": 4
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"title": "UINT32",
|
|
127
|
+
"const": 5
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"title": "INT32",
|
|
131
|
+
"const": 6
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"title": "FLOAT32",
|
|
135
|
+
"const": 7
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"title": "FLOAT64",
|
|
139
|
+
"const": 8
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"description": "Fields in the `data`"
|
|
146
|
+
},
|
|
147
|
+
"data": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"contentEncoding": "base64",
|
|
150
|
+
"description": "Point data, interpreted using `fields`"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from PointsAnnotation by @foxglove/schemas",
|
|
3
|
+
"title": "PointsAnnotation",
|
|
4
|
+
"description": "An array of points on a 2D image",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"timestamp": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"title": "time",
|
|
10
|
+
"properties": {
|
|
11
|
+
"sec": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 0
|
|
14
|
+
},
|
|
15
|
+
"nsec": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minimum": 0,
|
|
18
|
+
"maximum": 999999999
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"description": "Timestamp of annotation"
|
|
22
|
+
},
|
|
23
|
+
"type": {
|
|
24
|
+
"title": "PointsAnnotationType: Type of points annotation",
|
|
25
|
+
"description": "Type of points annotation to draw",
|
|
26
|
+
"oneOf": [
|
|
27
|
+
{
|
|
28
|
+
"title": "UNKNOWN",
|
|
29
|
+
"const": 0
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"title": "POINTS",
|
|
33
|
+
"const": 1
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"title": "LINE_LOOP",
|
|
37
|
+
"const": 2
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"title": "LINE_STRIP",
|
|
41
|
+
"const": 3
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"title": "LINE_LIST",
|
|
45
|
+
"const": 4
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"points": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"items": {
|
|
52
|
+
"$comment": "Generated from Point2 by @foxglove/schemas",
|
|
53
|
+
"title": "Point2",
|
|
54
|
+
"description": "A point representing a position in 2D space",
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": {
|
|
57
|
+
"x": {
|
|
58
|
+
"type": "number",
|
|
59
|
+
"description": "x coordinate position"
|
|
60
|
+
},
|
|
61
|
+
"y": {
|
|
62
|
+
"type": "number",
|
|
63
|
+
"description": "y coordinate position"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"description": "Points in 2D image coordinates"
|
|
68
|
+
},
|
|
69
|
+
"outline_colors": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"items": {
|
|
72
|
+
"$comment": "Generated from Color by @foxglove/schemas",
|
|
73
|
+
"title": "Color",
|
|
74
|
+
"description": "A color in RGBA format",
|
|
75
|
+
"type": "object",
|
|
76
|
+
"properties": {
|
|
77
|
+
"r": {
|
|
78
|
+
"type": "number",
|
|
79
|
+
"description": "Red value between 0 and 1"
|
|
80
|
+
},
|
|
81
|
+
"g": {
|
|
82
|
+
"type": "number",
|
|
83
|
+
"description": "Green value between 0 and 1"
|
|
84
|
+
},
|
|
85
|
+
"b": {
|
|
86
|
+
"type": "number",
|
|
87
|
+
"description": "Blue value between 0 and 1"
|
|
88
|
+
},
|
|
89
|
+
"a": {
|
|
90
|
+
"type": "number",
|
|
91
|
+
"description": "Alpha value between 0 and 1"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"description": "Outline colors"
|
|
96
|
+
},
|
|
97
|
+
"fill_color": {
|
|
98
|
+
"$comment": "Generated from Color by @foxglove/schemas",
|
|
99
|
+
"title": "Color",
|
|
100
|
+
"description": "Fill color",
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"r": {
|
|
104
|
+
"type": "number",
|
|
105
|
+
"description": "Red value between 0 and 1"
|
|
106
|
+
},
|
|
107
|
+
"g": {
|
|
108
|
+
"type": "number",
|
|
109
|
+
"description": "Green value between 0 and 1"
|
|
110
|
+
},
|
|
111
|
+
"b": {
|
|
112
|
+
"type": "number",
|
|
113
|
+
"description": "Blue value between 0 and 1"
|
|
114
|
+
},
|
|
115
|
+
"a": {
|
|
116
|
+
"type": "number",
|
|
117
|
+
"description": "Alpha value between 0 and 1"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from Pose by @foxglove/schemas",
|
|
3
|
+
"title": "Pose",
|
|
4
|
+
"description": "A position and orientation for an object or reference frame in 3D space",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"position": {
|
|
8
|
+
"$comment": "Generated from Vector3 by @foxglove/schemas",
|
|
9
|
+
"title": "Vector3",
|
|
10
|
+
"description": "Point denoting position in 3D space",
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"x": {
|
|
14
|
+
"type": "number",
|
|
15
|
+
"description": "x coordinate length"
|
|
16
|
+
},
|
|
17
|
+
"y": {
|
|
18
|
+
"type": "number",
|
|
19
|
+
"description": "y coordinate length"
|
|
20
|
+
},
|
|
21
|
+
"z": {
|
|
22
|
+
"type": "number",
|
|
23
|
+
"description": "z coordinate length"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"orientation": {
|
|
28
|
+
"$comment": "Generated from Quaternion by @foxglove/schemas",
|
|
29
|
+
"title": "Quaternion",
|
|
30
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"x": {
|
|
34
|
+
"type": "number",
|
|
35
|
+
"description": "x value"
|
|
36
|
+
},
|
|
37
|
+
"y": {
|
|
38
|
+
"type": "number",
|
|
39
|
+
"description": "y value"
|
|
40
|
+
},
|
|
41
|
+
"z": {
|
|
42
|
+
"type": "number",
|
|
43
|
+
"description": "z value"
|
|
44
|
+
},
|
|
45
|
+
"w": {
|
|
46
|
+
"type": "number",
|
|
47
|
+
"description": "w value"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from PoseInFrame by @foxglove/schemas",
|
|
3
|
+
"title": "PoseInFrame",
|
|
4
|
+
"description": "A timestamped pose for an object or reference frame in 3D space",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"timestamp": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"title": "time",
|
|
10
|
+
"properties": {
|
|
11
|
+
"sec": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 0
|
|
14
|
+
},
|
|
15
|
+
"nsec": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minimum": 0,
|
|
18
|
+
"maximum": 999999999
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"description": "Timestamp of pose"
|
|
22
|
+
},
|
|
23
|
+
"frame_id": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Frame of reference for pose position and orientation"
|
|
26
|
+
},
|
|
27
|
+
"pose": {
|
|
28
|
+
"$comment": "Generated from Pose by @foxglove/schemas",
|
|
29
|
+
"title": "Pose",
|
|
30
|
+
"description": "Pose in 3D space",
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"position": {
|
|
34
|
+
"$comment": "Generated from Vector3 by @foxglove/schemas",
|
|
35
|
+
"title": "Vector3",
|
|
36
|
+
"description": "Point denoting position in 3D space",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"x": {
|
|
40
|
+
"type": "number",
|
|
41
|
+
"description": "x coordinate length"
|
|
42
|
+
},
|
|
43
|
+
"y": {
|
|
44
|
+
"type": "number",
|
|
45
|
+
"description": "y coordinate length"
|
|
46
|
+
},
|
|
47
|
+
"z": {
|
|
48
|
+
"type": "number",
|
|
49
|
+
"description": "z coordinate length"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"orientation": {
|
|
54
|
+
"$comment": "Generated from Quaternion by @foxglove/schemas",
|
|
55
|
+
"title": "Quaternion",
|
|
56
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"x": {
|
|
60
|
+
"type": "number",
|
|
61
|
+
"description": "x value"
|
|
62
|
+
},
|
|
63
|
+
"y": {
|
|
64
|
+
"type": "number",
|
|
65
|
+
"description": "y value"
|
|
66
|
+
},
|
|
67
|
+
"z": {
|
|
68
|
+
"type": "number",
|
|
69
|
+
"description": "z value"
|
|
70
|
+
},
|
|
71
|
+
"w": {
|
|
72
|
+
"type": "number",
|
|
73
|
+
"description": "w value"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from PosesInFrame by @foxglove/schemas",
|
|
3
|
+
"title": "PosesInFrame",
|
|
4
|
+
"description": "An array of timestamped poses for an object or reference frame in 3D space",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"timestamp": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"title": "time",
|
|
10
|
+
"properties": {
|
|
11
|
+
"sec": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 0
|
|
14
|
+
},
|
|
15
|
+
"nsec": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minimum": 0,
|
|
18
|
+
"maximum": 999999999
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"description": "Timestamp of pose"
|
|
22
|
+
},
|
|
23
|
+
"frame_id": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Frame of reference for pose position and orientation"
|
|
26
|
+
},
|
|
27
|
+
"poses": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": {
|
|
30
|
+
"$comment": "Generated from Pose by @foxglove/schemas",
|
|
31
|
+
"title": "Pose",
|
|
32
|
+
"description": "A position and orientation for an object or reference frame in 3D space",
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"position": {
|
|
36
|
+
"$comment": "Generated from Vector3 by @foxglove/schemas",
|
|
37
|
+
"title": "Vector3",
|
|
38
|
+
"description": "Point denoting position in 3D space",
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"x": {
|
|
42
|
+
"type": "number",
|
|
43
|
+
"description": "x coordinate length"
|
|
44
|
+
},
|
|
45
|
+
"y": {
|
|
46
|
+
"type": "number",
|
|
47
|
+
"description": "y coordinate length"
|
|
48
|
+
},
|
|
49
|
+
"z": {
|
|
50
|
+
"type": "number",
|
|
51
|
+
"description": "z coordinate length"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"orientation": {
|
|
56
|
+
"$comment": "Generated from Quaternion by @foxglove/schemas",
|
|
57
|
+
"title": "Quaternion",
|
|
58
|
+
"description": "Quaternion denoting orientation in 3D space",
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"x": {
|
|
62
|
+
"type": "number",
|
|
63
|
+
"description": "x value"
|
|
64
|
+
},
|
|
65
|
+
"y": {
|
|
66
|
+
"type": "number",
|
|
67
|
+
"description": "y value"
|
|
68
|
+
},
|
|
69
|
+
"z": {
|
|
70
|
+
"type": "number",
|
|
71
|
+
"description": "z value"
|
|
72
|
+
},
|
|
73
|
+
"w": {
|
|
74
|
+
"type": "number",
|
|
75
|
+
"description": "w value"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"description": "Poses in 3D space"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from Quaternion by @foxglove/schemas",
|
|
3
|
+
"title": "Quaternion",
|
|
4
|
+
"description": "A [quaternion](https://eater.net/quaternions) representing a rotation in 3D space",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"x": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"description": "x value"
|
|
10
|
+
},
|
|
11
|
+
"y": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"description": "y value"
|
|
14
|
+
},
|
|
15
|
+
"z": {
|
|
16
|
+
"type": "number",
|
|
17
|
+
"description": "z value"
|
|
18
|
+
},
|
|
19
|
+
"w": {
|
|
20
|
+
"type": "number",
|
|
21
|
+
"description": "w value"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from RawImage by @foxglove/schemas",
|
|
3
|
+
"title": "RawImage",
|
|
4
|
+
"description": "A raw image",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"timestamp": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"title": "time",
|
|
10
|
+
"properties": {
|
|
11
|
+
"sec": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 0
|
|
14
|
+
},
|
|
15
|
+
"nsec": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minimum": 0,
|
|
18
|
+
"maximum": 999999999
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"description": "Timestamp of image"
|
|
22
|
+
},
|
|
23
|
+
"width": {
|
|
24
|
+
"type": "integer",
|
|
25
|
+
"minimum": 0,
|
|
26
|
+
"description": "Image width"
|
|
27
|
+
},
|
|
28
|
+
"height": {
|
|
29
|
+
"type": "integer",
|
|
30
|
+
"minimum": 0,
|
|
31
|
+
"description": "Image height"
|
|
32
|
+
},
|
|
33
|
+
"encoding": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Encoding of the raw image data"
|
|
36
|
+
},
|
|
37
|
+
"step": {
|
|
38
|
+
"type": "integer",
|
|
39
|
+
"minimum": 0,
|
|
40
|
+
"description": "Byte length of a single row"
|
|
41
|
+
},
|
|
42
|
+
"data": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"contentEncoding": "base64",
|
|
45
|
+
"description": "Raw image data"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from Transform by @foxglove/schemas",
|
|
3
|
+
"title": "Transform",
|
|
4
|
+
"description": "A transform in 3D space",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"timestamp": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"title": "time",
|
|
10
|
+
"properties": {
|
|
11
|
+
"sec": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 0
|
|
14
|
+
},
|
|
15
|
+
"nsec": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minimum": 0,
|
|
18
|
+
"maximum": 999999999
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"description": "Transform time"
|
|
22
|
+
},
|
|
23
|
+
"translation": {
|
|
24
|
+
"$comment": "Generated from Vector3 by @foxglove/schemas",
|
|
25
|
+
"title": "Vector3",
|
|
26
|
+
"description": "Translation component of the transform",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"x": {
|
|
30
|
+
"type": "number",
|
|
31
|
+
"description": "x coordinate length"
|
|
32
|
+
},
|
|
33
|
+
"y": {
|
|
34
|
+
"type": "number",
|
|
35
|
+
"description": "y coordinate length"
|
|
36
|
+
},
|
|
37
|
+
"z": {
|
|
38
|
+
"type": "number",
|
|
39
|
+
"description": "z coordinate length"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"rotation": {
|
|
44
|
+
"$comment": "Generated from Quaternion by @foxglove/schemas",
|
|
45
|
+
"title": "Quaternion",
|
|
46
|
+
"description": "Rotation component of the transform",
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"x": {
|
|
50
|
+
"type": "number",
|
|
51
|
+
"description": "x value"
|
|
52
|
+
},
|
|
53
|
+
"y": {
|
|
54
|
+
"type": "number",
|
|
55
|
+
"description": "y value"
|
|
56
|
+
},
|
|
57
|
+
"z": {
|
|
58
|
+
"type": "number",
|
|
59
|
+
"description": "z value"
|
|
60
|
+
},
|
|
61
|
+
"w": {
|
|
62
|
+
"type": "number",
|
|
63
|
+
"description": "w value"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from Vector2 by @foxglove/schemas",
|
|
3
|
+
"title": "Vector2",
|
|
4
|
+
"description": "A vector in 2D space that represents a direction only",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"x": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"description": "x coordinate length"
|
|
10
|
+
},
|
|
11
|
+
"y": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"description": "y coordinate length"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|