@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,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Generated from Vector3 by @foxglove/schemas",
|
|
3
|
+
"title": "Vector3",
|
|
4
|
+
"description": "A vector in 3D 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
|
+
"z": {
|
|
16
|
+
"type": "number",
|
|
17
|
+
"description": "z coordinate length"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// Generated from CameraCalibration by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/timestamp.proto";
|
|
6
|
+
|
|
7
|
+
package foxglove;
|
|
8
|
+
|
|
9
|
+
// Camera calibration parameters
|
|
10
|
+
message CameraCalibration {
|
|
11
|
+
// Timestamp of calibration data
|
|
12
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
13
|
+
|
|
14
|
+
// Image width
|
|
15
|
+
fixed32 width = 2;
|
|
16
|
+
|
|
17
|
+
// Image height
|
|
18
|
+
fixed32 height = 3;
|
|
19
|
+
|
|
20
|
+
// Name of distortion model
|
|
21
|
+
string distortion_model = 4;
|
|
22
|
+
|
|
23
|
+
// Distortion parameters
|
|
24
|
+
repeated double D = 5;
|
|
25
|
+
|
|
26
|
+
// Intrinsic camera matrix (3x3 row-major matrix)
|
|
27
|
+
//
|
|
28
|
+
// A 3x3 row-major matrix for the raw (distorted) image.
|
|
29
|
+
//
|
|
30
|
+
// Projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx, fy) and principal point (cx, cy).
|
|
31
|
+
//
|
|
32
|
+
// ```
|
|
33
|
+
// [fx 0 cx]
|
|
34
|
+
// K = [ 0 fy cy]
|
|
35
|
+
// [ 0 0 1]
|
|
36
|
+
// ```
|
|
37
|
+
repeated double K = 6; // length 9
|
|
38
|
+
|
|
39
|
+
// Rectification matrix (3x3 row-major matrix)
|
|
40
|
+
//
|
|
41
|
+
// A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
42
|
+
repeated double R = 7; // length 9
|
|
43
|
+
|
|
44
|
+
// Projection/camera matrix (3x4 row-major matrix)
|
|
45
|
+
//
|
|
46
|
+
// ```
|
|
47
|
+
// [fx' 0 cx' Tx]
|
|
48
|
+
// P = [ 0 fy' cy' Ty]
|
|
49
|
+
// [ 0 0 1 0]
|
|
50
|
+
// ```
|
|
51
|
+
//
|
|
52
|
+
// By convention, this matrix specifies the intrinsic (camera) matrix of the processed (rectified) image. That is, the left 3x3 portion is the normal camera intrinsic matrix for the rectified image.
|
|
53
|
+
//
|
|
54
|
+
// It projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx', fy') and principal point (cx', cy') - these may differ from the values in K.
|
|
55
|
+
//
|
|
56
|
+
// For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will also have R = the identity and P[1:3,1:3] = K.
|
|
57
|
+
//
|
|
58
|
+
// For a stereo pair, the fourth column [Tx Ty 0]' is related to the position of the optical center of the second camera in the first camera's frame. We assume Tz = 0 so both cameras are in the same stereo image plane. The first camera always has Tx = Ty = 0. For the right (second) camera of a horizontal stereo pair, Ty = 0 and Tx = -fx' * B, where B is the baseline between the cameras.
|
|
59
|
+
//
|
|
60
|
+
// Given a 3D point [X Y Z]', the projection (x, y) of the point onto the rectified image is given by:
|
|
61
|
+
//
|
|
62
|
+
// ```
|
|
63
|
+
// [u v w]' = P * [X Y Z 1]'
|
|
64
|
+
// x = u / w
|
|
65
|
+
// y = v / w
|
|
66
|
+
// ```
|
|
67
|
+
//
|
|
68
|
+
// This holds for both images of a stereo pair.
|
|
69
|
+
repeated double P = 8; // length 12
|
|
70
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Generated from CircleAnnotation by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Color.proto";
|
|
6
|
+
import "foxglove/Point2.proto";
|
|
7
|
+
import "google/protobuf/timestamp.proto";
|
|
8
|
+
|
|
9
|
+
package foxglove;
|
|
10
|
+
|
|
11
|
+
// A circle annotation on a 2D image
|
|
12
|
+
message CircleAnnotation {
|
|
13
|
+
// Timestamp of circle
|
|
14
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
15
|
+
|
|
16
|
+
// Center of the circle in 2D image coordinates
|
|
17
|
+
foxglove.Point2 position = 2;
|
|
18
|
+
|
|
19
|
+
// Circle diameter
|
|
20
|
+
double diameter = 3;
|
|
21
|
+
|
|
22
|
+
// Line thickness
|
|
23
|
+
double thickness = 4;
|
|
24
|
+
|
|
25
|
+
// Fill color
|
|
26
|
+
foxglove.Color fill_color = 5;
|
|
27
|
+
|
|
28
|
+
// Outline color
|
|
29
|
+
foxglove.Color outline_color = 6;
|
|
30
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Generated from Color by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
package foxglove;
|
|
6
|
+
|
|
7
|
+
// A color in RGBA format
|
|
8
|
+
message Color {
|
|
9
|
+
// Red value between 0 and 1
|
|
10
|
+
double r = 1;
|
|
11
|
+
|
|
12
|
+
// Green value between 0 and 1
|
|
13
|
+
double g = 2;
|
|
14
|
+
|
|
15
|
+
// Blue value between 0 and 1
|
|
16
|
+
double b = 3;
|
|
17
|
+
|
|
18
|
+
// Alpha value between 0 and 1
|
|
19
|
+
double a = 4;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Generated from CompressedImage by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/timestamp.proto";
|
|
6
|
+
|
|
7
|
+
package foxglove;
|
|
8
|
+
|
|
9
|
+
// A compressed image
|
|
10
|
+
message CompressedImage {
|
|
11
|
+
// Timestamp of image
|
|
12
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
13
|
+
|
|
14
|
+
// Compressed image data
|
|
15
|
+
bytes data = 2;
|
|
16
|
+
|
|
17
|
+
// Image format
|
|
18
|
+
string format = 3;
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Generated from FrameTransform by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Transform.proto";
|
|
6
|
+
import "google/protobuf/timestamp.proto";
|
|
7
|
+
|
|
8
|
+
package foxglove;
|
|
9
|
+
|
|
10
|
+
// A transform between two reference frames in 3D space
|
|
11
|
+
message FrameTransform {
|
|
12
|
+
// Timestamp of transform
|
|
13
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
14
|
+
|
|
15
|
+
// Name of the parent frame
|
|
16
|
+
string parent_frame_id = 2;
|
|
17
|
+
|
|
18
|
+
// Name of the child frame
|
|
19
|
+
string child_frame_id = 3;
|
|
20
|
+
|
|
21
|
+
// Transform from parent frame to child frame
|
|
22
|
+
foxglove.Transform transform = 4;
|
|
23
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Generated from Grid by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/PackedElementField.proto";
|
|
6
|
+
import "foxglove/Pose.proto";
|
|
7
|
+
import "foxglove/Vector2.proto";
|
|
8
|
+
import "google/protobuf/timestamp.proto";
|
|
9
|
+
|
|
10
|
+
package foxglove;
|
|
11
|
+
|
|
12
|
+
// A 2D grid of data
|
|
13
|
+
message Grid {
|
|
14
|
+
// Timestamp of grid
|
|
15
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
16
|
+
|
|
17
|
+
// Frame of reference
|
|
18
|
+
string frame_id = 2;
|
|
19
|
+
|
|
20
|
+
// Origin of grid's corner relative to frame of reference; grid is positioned in the x-y plane relative to this origin
|
|
21
|
+
foxglove.Pose pose = 3;
|
|
22
|
+
|
|
23
|
+
// Number of grid columns
|
|
24
|
+
fixed32 column_count = 4;
|
|
25
|
+
|
|
26
|
+
// Size of single grid cell along x and y axes, relative to `pose`
|
|
27
|
+
foxglove.Vector2 cell_size = 5;
|
|
28
|
+
|
|
29
|
+
// Number of bytes between rows in `data`
|
|
30
|
+
fixed32 row_stride = 6;
|
|
31
|
+
|
|
32
|
+
// Number of bytes between cells within a row in `data`
|
|
33
|
+
fixed32 cell_stride = 7;
|
|
34
|
+
|
|
35
|
+
// Fields in `data`
|
|
36
|
+
repeated foxglove.PackedElementField fields = 8;
|
|
37
|
+
|
|
38
|
+
// Grid cell data, interpreted using `fields`, in row-major (y-major) order
|
|
39
|
+
bytes data = 9;
|
|
40
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Generated from ImageAnnotations by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/CircleAnnotation.proto";
|
|
6
|
+
import "foxglove/PointsAnnotation.proto";
|
|
7
|
+
|
|
8
|
+
package foxglove;
|
|
9
|
+
|
|
10
|
+
// Array of annotations for a 2D image
|
|
11
|
+
message ImageAnnotations {
|
|
12
|
+
// Circle annotations
|
|
13
|
+
repeated foxglove.CircleAnnotation circles = 1;
|
|
14
|
+
|
|
15
|
+
// Points annotations
|
|
16
|
+
repeated foxglove.PointsAnnotation points = 2;
|
|
17
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Generated from LaserScan by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Pose.proto";
|
|
6
|
+
import "google/protobuf/timestamp.proto";
|
|
7
|
+
|
|
8
|
+
package foxglove;
|
|
9
|
+
|
|
10
|
+
// A single scan from a planar laser range-finder
|
|
11
|
+
message LaserScan {
|
|
12
|
+
// Timestamp of scan
|
|
13
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
14
|
+
|
|
15
|
+
// Frame of reference
|
|
16
|
+
string frame_id = 2;
|
|
17
|
+
|
|
18
|
+
// Origin of scan relative to frame of reference; points are positioned in the x-y plane relative to this origin; angles are interpreted as counterclockwise rotations around the z axis with 0 rad being in the +x direction
|
|
19
|
+
foxglove.Pose pose = 3;
|
|
20
|
+
|
|
21
|
+
// Bearing of first point, in radians
|
|
22
|
+
double start_angle = 4;
|
|
23
|
+
|
|
24
|
+
// Bearing of last point, in radians
|
|
25
|
+
double end_angle = 5;
|
|
26
|
+
|
|
27
|
+
// Distance of detections from origin; assumed to be at equally-spaced angles between `start_angle` and `end_angle`
|
|
28
|
+
repeated double ranges = 6;
|
|
29
|
+
|
|
30
|
+
// Intensity of detections
|
|
31
|
+
repeated double intensities = 7;
|
|
32
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Generated from LocationFix by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
package foxglove;
|
|
6
|
+
|
|
7
|
+
// A navigation satellite fix for any Global Navigation Satellite System
|
|
8
|
+
message LocationFix {
|
|
9
|
+
// Type of position covariance
|
|
10
|
+
enum PositionCovarianceType {
|
|
11
|
+
UNKNOWN = 0;
|
|
12
|
+
|
|
13
|
+
APPROXIMATED = 1;
|
|
14
|
+
|
|
15
|
+
DIAGONAL_KNOWN = 2;
|
|
16
|
+
|
|
17
|
+
KNOWN = 3;
|
|
18
|
+
}
|
|
19
|
+
// Latitude in degrees
|
|
20
|
+
double latitude = 1;
|
|
21
|
+
|
|
22
|
+
// Longitude in degrees
|
|
23
|
+
double longitude = 2;
|
|
24
|
+
|
|
25
|
+
// Altitude in meters
|
|
26
|
+
double altitude = 3;
|
|
27
|
+
|
|
28
|
+
// Position covariance (m^2) defined relative to a tangential plane through the reported position. The components are East, North, and Up (ENU), in row-major order.
|
|
29
|
+
repeated double position_covariance = 4; // length 9
|
|
30
|
+
|
|
31
|
+
// If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.
|
|
32
|
+
PositionCovarianceType position_covariance_type = 5;
|
|
33
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// Generated from Log by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/timestamp.proto";
|
|
6
|
+
|
|
7
|
+
package foxglove;
|
|
8
|
+
|
|
9
|
+
// A log message
|
|
10
|
+
message Log {
|
|
11
|
+
// Log level
|
|
12
|
+
enum Level {
|
|
13
|
+
UNKNOWN = 0;
|
|
14
|
+
|
|
15
|
+
DEBUG = 1;
|
|
16
|
+
|
|
17
|
+
INFO = 2;
|
|
18
|
+
|
|
19
|
+
WARNING = 3;
|
|
20
|
+
|
|
21
|
+
ERROR = 4;
|
|
22
|
+
|
|
23
|
+
FATAL = 5;
|
|
24
|
+
}
|
|
25
|
+
// Timestamp of log message
|
|
26
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
27
|
+
|
|
28
|
+
// Log level
|
|
29
|
+
Level level = 2;
|
|
30
|
+
|
|
31
|
+
// Log message
|
|
32
|
+
string message = 3;
|
|
33
|
+
|
|
34
|
+
// Process or node name
|
|
35
|
+
string name = 4;
|
|
36
|
+
|
|
37
|
+
// Filename
|
|
38
|
+
string file = 5;
|
|
39
|
+
|
|
40
|
+
// Line number in the file
|
|
41
|
+
fixed32 line = 6;
|
|
42
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Generated from PackedElementField by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
package foxglove;
|
|
6
|
+
|
|
7
|
+
// List of fields for every element in a byte array
|
|
8
|
+
message PackedElementField {
|
|
9
|
+
// Numeric type
|
|
10
|
+
enum NumericType {
|
|
11
|
+
UNKNOWN = 0;
|
|
12
|
+
|
|
13
|
+
UINT8 = 1;
|
|
14
|
+
|
|
15
|
+
INT8 = 2;
|
|
16
|
+
|
|
17
|
+
UINT16 = 3;
|
|
18
|
+
|
|
19
|
+
INT16 = 4;
|
|
20
|
+
|
|
21
|
+
UINT32 = 5;
|
|
22
|
+
|
|
23
|
+
INT32 = 6;
|
|
24
|
+
|
|
25
|
+
FLOAT32 = 7;
|
|
26
|
+
|
|
27
|
+
FLOAT64 = 8;
|
|
28
|
+
}
|
|
29
|
+
// Name of the field
|
|
30
|
+
string name = 1;
|
|
31
|
+
|
|
32
|
+
// Byte offset from start of data buffer
|
|
33
|
+
fixed32 offset = 2;
|
|
34
|
+
|
|
35
|
+
// Type of data in the field. Integers are stored using little-endian byte order.
|
|
36
|
+
NumericType type = 3;
|
|
37
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Generated from Point2 by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
package foxglove;
|
|
6
|
+
|
|
7
|
+
// A point representing a position in 2D space
|
|
8
|
+
message Point2 {
|
|
9
|
+
// x coordinate position
|
|
10
|
+
double x = 1;
|
|
11
|
+
|
|
12
|
+
// y coordinate position
|
|
13
|
+
double y = 2;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Generated from Point3 by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
package foxglove;
|
|
6
|
+
|
|
7
|
+
// A point representing a position in 3D space
|
|
8
|
+
message Point3 {
|
|
9
|
+
// x coordinate position
|
|
10
|
+
double x = 1;
|
|
11
|
+
|
|
12
|
+
// y coordinate position
|
|
13
|
+
double y = 2;
|
|
14
|
+
|
|
15
|
+
// z coordinate position
|
|
16
|
+
double z = 3;
|
|
17
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Generated from PointCloud by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/PackedElementField.proto";
|
|
6
|
+
import "foxglove/Pose.proto";
|
|
7
|
+
import "google/protobuf/timestamp.proto";
|
|
8
|
+
|
|
9
|
+
package foxglove;
|
|
10
|
+
|
|
11
|
+
// A collection of N-dimensional points, which may contain additional fields with information like normals, intensity, etc.
|
|
12
|
+
message PointCloud {
|
|
13
|
+
// Timestamp of point cloud
|
|
14
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
15
|
+
|
|
16
|
+
// Frame of reference
|
|
17
|
+
string frame_id = 2;
|
|
18
|
+
|
|
19
|
+
// The origin of the point cloud relative to the frame of reference
|
|
20
|
+
foxglove.Pose pose = 3;
|
|
21
|
+
|
|
22
|
+
// Number of bytes between points in the `data`
|
|
23
|
+
fixed32 point_stride = 4;
|
|
24
|
+
|
|
25
|
+
// Fields in the `data`
|
|
26
|
+
repeated foxglove.PackedElementField fields = 5;
|
|
27
|
+
|
|
28
|
+
// Point data, interpreted using `fields`
|
|
29
|
+
bytes data = 6;
|
|
30
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Generated from PointsAnnotation by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Color.proto";
|
|
6
|
+
import "foxglove/Point2.proto";
|
|
7
|
+
import "google/protobuf/timestamp.proto";
|
|
8
|
+
|
|
9
|
+
package foxglove;
|
|
10
|
+
|
|
11
|
+
// An array of points on a 2D image
|
|
12
|
+
message PointsAnnotation {
|
|
13
|
+
// Type of points annotation
|
|
14
|
+
enum Type {
|
|
15
|
+
UNKNOWN = 0;
|
|
16
|
+
|
|
17
|
+
POINTS = 1;
|
|
18
|
+
|
|
19
|
+
LINE_LOOP = 2;
|
|
20
|
+
|
|
21
|
+
LINE_STRIP = 3;
|
|
22
|
+
|
|
23
|
+
LINE_LIST = 4;
|
|
24
|
+
}
|
|
25
|
+
// Timestamp of annotation
|
|
26
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
27
|
+
|
|
28
|
+
// Type of points annotation to draw
|
|
29
|
+
Type type = 2;
|
|
30
|
+
|
|
31
|
+
// Points in 2D image coordinates
|
|
32
|
+
repeated foxglove.Point2 points = 3;
|
|
33
|
+
|
|
34
|
+
// Outline colors
|
|
35
|
+
repeated foxglove.Color outline_colors = 4;
|
|
36
|
+
|
|
37
|
+
// Fill color
|
|
38
|
+
foxglove.Color fill_color = 5;
|
|
39
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Generated from Pose by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Quaternion.proto";
|
|
6
|
+
import "foxglove/Vector3.proto";
|
|
7
|
+
|
|
8
|
+
package foxglove;
|
|
9
|
+
|
|
10
|
+
// A position and orientation for an object or reference frame in 3D space
|
|
11
|
+
message Pose {
|
|
12
|
+
// Point denoting position in 3D space
|
|
13
|
+
foxglove.Vector3 position = 1;
|
|
14
|
+
|
|
15
|
+
// Quaternion denoting orientation in 3D space
|
|
16
|
+
foxglove.Quaternion orientation = 2;
|
|
17
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Generated from PoseInFrame by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Pose.proto";
|
|
6
|
+
import "google/protobuf/timestamp.proto";
|
|
7
|
+
|
|
8
|
+
package foxglove;
|
|
9
|
+
|
|
10
|
+
// A timestamped pose for an object or reference frame in 3D space
|
|
11
|
+
message PoseInFrame {
|
|
12
|
+
// Timestamp of pose
|
|
13
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
14
|
+
|
|
15
|
+
// Frame of reference for pose position and orientation
|
|
16
|
+
string frame_id = 2;
|
|
17
|
+
|
|
18
|
+
// Pose in 3D space
|
|
19
|
+
foxglove.Pose pose = 3;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Generated from PosesInFrame by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Pose.proto";
|
|
6
|
+
import "google/protobuf/timestamp.proto";
|
|
7
|
+
|
|
8
|
+
package foxglove;
|
|
9
|
+
|
|
10
|
+
// An array of timestamped poses for an object or reference frame in 3D space
|
|
11
|
+
message PosesInFrame {
|
|
12
|
+
// Timestamp of pose
|
|
13
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
14
|
+
|
|
15
|
+
// Frame of reference for pose position and orientation
|
|
16
|
+
string frame_id = 2;
|
|
17
|
+
|
|
18
|
+
// Poses in 3D space
|
|
19
|
+
repeated foxglove.Pose poses = 3;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Generated from Quaternion by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
package foxglove;
|
|
6
|
+
|
|
7
|
+
// A [quaternion](https://eater.net/quaternions) representing a rotation in 3D space
|
|
8
|
+
message Quaternion {
|
|
9
|
+
// x value
|
|
10
|
+
double x = 1;
|
|
11
|
+
|
|
12
|
+
// y value
|
|
13
|
+
double y = 2;
|
|
14
|
+
|
|
15
|
+
// z value
|
|
16
|
+
double z = 3;
|
|
17
|
+
|
|
18
|
+
// w value
|
|
19
|
+
double w = 4;
|
|
20
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Generated from RawImage by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/timestamp.proto";
|
|
6
|
+
|
|
7
|
+
package foxglove;
|
|
8
|
+
|
|
9
|
+
// A raw image
|
|
10
|
+
message RawImage {
|
|
11
|
+
// Timestamp of image
|
|
12
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
13
|
+
|
|
14
|
+
// Image width
|
|
15
|
+
fixed32 width = 2;
|
|
16
|
+
|
|
17
|
+
// Image height
|
|
18
|
+
fixed32 height = 3;
|
|
19
|
+
|
|
20
|
+
// Encoding of the raw image data
|
|
21
|
+
string encoding = 4;
|
|
22
|
+
|
|
23
|
+
// Byte length of a single row
|
|
24
|
+
fixed32 step = 5;
|
|
25
|
+
|
|
26
|
+
// Raw image data
|
|
27
|
+
bytes data = 6;
|
|
28
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Generated from Transform by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
import "foxglove/Quaternion.proto";
|
|
6
|
+
import "foxglove/Vector3.proto";
|
|
7
|
+
import "google/protobuf/timestamp.proto";
|
|
8
|
+
|
|
9
|
+
package foxglove;
|
|
10
|
+
|
|
11
|
+
// A transform in 3D space
|
|
12
|
+
message Transform {
|
|
13
|
+
// Transform time
|
|
14
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
15
|
+
|
|
16
|
+
// Translation component of the transform
|
|
17
|
+
foxglove.Vector3 translation = 2;
|
|
18
|
+
|
|
19
|
+
// Rotation component of the transform
|
|
20
|
+
foxglove.Quaternion rotation = 3;
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Generated from Vector2 by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
package foxglove;
|
|
6
|
+
|
|
7
|
+
// A vector in 2D space that represents a direction only
|
|
8
|
+
message Vector2 {
|
|
9
|
+
// x coordinate length
|
|
10
|
+
double x = 1;
|
|
11
|
+
|
|
12
|
+
// y coordinate length
|
|
13
|
+
double y = 2;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Generated from Vector3 by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
syntax = "proto3";
|
|
4
|
+
|
|
5
|
+
package foxglove;
|
|
6
|
+
|
|
7
|
+
// A vector in 3D space that represents a direction only
|
|
8
|
+
message Vector3 {
|
|
9
|
+
// x coordinate length
|
|
10
|
+
double x = 1;
|
|
11
|
+
|
|
12
|
+
// y coordinate length
|
|
13
|
+
double y = 2;
|
|
14
|
+
|
|
15
|
+
// z coordinate length
|
|
16
|
+
double z = 3;
|
|
17
|
+
}
|