@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,61 @@
|
|
|
1
|
+
# Generated from CameraCalibration by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of calibration data
|
|
4
|
+
time timestamp
|
|
5
|
+
|
|
6
|
+
# Image width
|
|
7
|
+
uint32 width
|
|
8
|
+
|
|
9
|
+
# Image height
|
|
10
|
+
uint32 height
|
|
11
|
+
|
|
12
|
+
# Name of distortion model
|
|
13
|
+
string distortion_model
|
|
14
|
+
|
|
15
|
+
# Distortion parameters
|
|
16
|
+
float64[] D
|
|
17
|
+
|
|
18
|
+
# Intrinsic camera matrix (3x3 row-major matrix)
|
|
19
|
+
#
|
|
20
|
+
# A 3x3 row-major matrix for the raw (distorted) image.
|
|
21
|
+
#
|
|
22
|
+
# Projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx, fy) and principal point (cx, cy).
|
|
23
|
+
#
|
|
24
|
+
# ```
|
|
25
|
+
# [fx 0 cx]
|
|
26
|
+
# K = [ 0 fy cy]
|
|
27
|
+
# [ 0 0 1]
|
|
28
|
+
# ```
|
|
29
|
+
float64[9] K
|
|
30
|
+
|
|
31
|
+
# Rectification matrix (3x3 row-major matrix)
|
|
32
|
+
#
|
|
33
|
+
# A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
34
|
+
float64[9] R
|
|
35
|
+
|
|
36
|
+
# Projection/camera matrix (3x4 row-major matrix)
|
|
37
|
+
#
|
|
38
|
+
# ```
|
|
39
|
+
# [fx' 0 cx' Tx]
|
|
40
|
+
# P = [ 0 fy' cy' Ty]
|
|
41
|
+
# [ 0 0 1 0]
|
|
42
|
+
# ```
|
|
43
|
+
#
|
|
44
|
+
# 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.
|
|
45
|
+
#
|
|
46
|
+
# 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.
|
|
47
|
+
#
|
|
48
|
+
# For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will also have R = the identity and P[1:3,1:3] = K.
|
|
49
|
+
#
|
|
50
|
+
# 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.
|
|
51
|
+
#
|
|
52
|
+
# Given a 3D point [X Y Z]', the projection (x, y) of the point onto the rectified image is given by:
|
|
53
|
+
#
|
|
54
|
+
# ```
|
|
55
|
+
# [u v w]' = P * [X Y Z 1]'
|
|
56
|
+
# x = u / w
|
|
57
|
+
# y = v / w
|
|
58
|
+
# ```
|
|
59
|
+
#
|
|
60
|
+
# This holds for both images of a stereo pair.
|
|
61
|
+
float64[12] P
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Generated from CircleAnnotation by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of circle
|
|
4
|
+
time timestamp
|
|
5
|
+
|
|
6
|
+
# Center of the circle in 2D image coordinates
|
|
7
|
+
foxglove_msgs/Point2 position
|
|
8
|
+
|
|
9
|
+
# Circle diameter
|
|
10
|
+
float64 diameter
|
|
11
|
+
|
|
12
|
+
# Line thickness
|
|
13
|
+
float64 thickness
|
|
14
|
+
|
|
15
|
+
# Fill color
|
|
16
|
+
foxglove_msgs/Color fill_color
|
|
17
|
+
|
|
18
|
+
# Outline color
|
|
19
|
+
foxglove_msgs/Color outline_color
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated from FrameTransform by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of transform
|
|
4
|
+
time timestamp
|
|
5
|
+
|
|
6
|
+
# Name of the parent frame
|
|
7
|
+
string parent_frame_id
|
|
8
|
+
|
|
9
|
+
# Name of the child frame
|
|
10
|
+
string child_frame_id
|
|
11
|
+
|
|
12
|
+
# Transform from parent frame to child frame
|
|
13
|
+
foxglove_msgs/Transform transform
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Generated from Grid by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of grid
|
|
4
|
+
time timestamp
|
|
5
|
+
|
|
6
|
+
# Frame of reference
|
|
7
|
+
string frame_id
|
|
8
|
+
|
|
9
|
+
# Origin of grid's corner relative to frame of reference; grid is positioned in the x-y plane relative to this origin
|
|
10
|
+
geometry_msgs/Pose pose
|
|
11
|
+
|
|
12
|
+
# Number of grid columns
|
|
13
|
+
uint32 column_count
|
|
14
|
+
|
|
15
|
+
# Size of single grid cell along x and y axes, relative to `pose`
|
|
16
|
+
foxglove_msgs/Vector2 cell_size
|
|
17
|
+
|
|
18
|
+
# Number of bytes between rows in `data`
|
|
19
|
+
uint32 row_stride
|
|
20
|
+
|
|
21
|
+
# Number of bytes between cells within a row in `data`
|
|
22
|
+
uint32 cell_stride
|
|
23
|
+
|
|
24
|
+
# Fields in `data`
|
|
25
|
+
foxglove_msgs/PackedElementField[] fields
|
|
26
|
+
|
|
27
|
+
# Grid cell data, interpreted using `fields`, in row-major (y-major) order
|
|
28
|
+
uint8[] data
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated from LaserScan by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of scan
|
|
4
|
+
time timestamp
|
|
5
|
+
|
|
6
|
+
# Frame of reference
|
|
7
|
+
string frame_id
|
|
8
|
+
|
|
9
|
+
# 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
|
|
10
|
+
geometry_msgs/Pose pose
|
|
11
|
+
|
|
12
|
+
# Bearing of first point, in radians
|
|
13
|
+
float64 start_angle
|
|
14
|
+
|
|
15
|
+
# Bearing of last point, in radians
|
|
16
|
+
float64 end_angle
|
|
17
|
+
|
|
18
|
+
# Distance of detections from origin; assumed to be at equally-spaced angles between `start_angle` and `end_angle`
|
|
19
|
+
float64[] ranges
|
|
20
|
+
|
|
21
|
+
# Intensity of detections
|
|
22
|
+
float64[] intensities
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated from LocationFix by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Latitude in degrees
|
|
4
|
+
float64 latitude
|
|
5
|
+
|
|
6
|
+
# Longitude in degrees
|
|
7
|
+
float64 longitude
|
|
8
|
+
|
|
9
|
+
# Altitude in meters
|
|
10
|
+
float64 altitude
|
|
11
|
+
|
|
12
|
+
# 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.
|
|
13
|
+
float64[9] position_covariance
|
|
14
|
+
|
|
15
|
+
uint8 UNKNOWN=0
|
|
16
|
+
uint8 APPROXIMATED=1
|
|
17
|
+
uint8 DIAGONAL_KNOWN=2
|
|
18
|
+
uint8 KNOWN=3
|
|
19
|
+
|
|
20
|
+
# If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.
|
|
21
|
+
uint8 position_covariance_type
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated from Log by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of log message
|
|
4
|
+
time timestamp
|
|
5
|
+
|
|
6
|
+
uint8 UNKNOWN=0
|
|
7
|
+
uint8 DEBUG=1
|
|
8
|
+
uint8 INFO=2
|
|
9
|
+
uint8 WARNING=3
|
|
10
|
+
uint8 ERROR=4
|
|
11
|
+
uint8 FATAL=5
|
|
12
|
+
|
|
13
|
+
# Log level
|
|
14
|
+
uint8 level
|
|
15
|
+
|
|
16
|
+
# Log message
|
|
17
|
+
string message
|
|
18
|
+
|
|
19
|
+
# Process or node name
|
|
20
|
+
string name
|
|
21
|
+
|
|
22
|
+
# Filename
|
|
23
|
+
string file
|
|
24
|
+
|
|
25
|
+
# Line number in the file
|
|
26
|
+
uint32 line
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated from PackedElementField by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Name of the field
|
|
4
|
+
string name
|
|
5
|
+
|
|
6
|
+
# Byte offset from start of data buffer
|
|
7
|
+
uint32 offset
|
|
8
|
+
|
|
9
|
+
uint8 UNKNOWN=0
|
|
10
|
+
uint8 UINT8=1
|
|
11
|
+
uint8 INT8=2
|
|
12
|
+
uint8 UINT16=3
|
|
13
|
+
uint8 INT16=4
|
|
14
|
+
uint8 UINT32=5
|
|
15
|
+
uint8 INT32=6
|
|
16
|
+
uint8 FLOAT32=7
|
|
17
|
+
uint8 FLOAT64=8
|
|
18
|
+
|
|
19
|
+
# Type of data in the field. Integers are stored using little-endian byte order.
|
|
20
|
+
uint8 type
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Generated from PointCloud by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of point cloud
|
|
4
|
+
time timestamp
|
|
5
|
+
|
|
6
|
+
# Frame of reference
|
|
7
|
+
string frame_id
|
|
8
|
+
|
|
9
|
+
# The origin of the point cloud relative to the frame of reference
|
|
10
|
+
geometry_msgs/Pose pose
|
|
11
|
+
|
|
12
|
+
# Number of bytes between points in the `data`
|
|
13
|
+
uint32 point_stride
|
|
14
|
+
|
|
15
|
+
# Fields in the `data`
|
|
16
|
+
foxglove_msgs/PackedElementField[] fields
|
|
17
|
+
|
|
18
|
+
# Point data, interpreted using `fields`
|
|
19
|
+
uint8[] data
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated from PointsAnnotation by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of annotation
|
|
4
|
+
time timestamp
|
|
5
|
+
|
|
6
|
+
uint8 UNKNOWN=0
|
|
7
|
+
uint8 POINTS=1
|
|
8
|
+
uint8 LINE_LOOP=2
|
|
9
|
+
uint8 LINE_STRIP=3
|
|
10
|
+
uint8 LINE_LIST=4
|
|
11
|
+
|
|
12
|
+
# Type of points annotation to draw
|
|
13
|
+
uint8 type
|
|
14
|
+
|
|
15
|
+
# Points in 2D image coordinates
|
|
16
|
+
foxglove_msgs/Point2[] points
|
|
17
|
+
|
|
18
|
+
# Outline colors
|
|
19
|
+
foxglove_msgs/Color[] outline_colors
|
|
20
|
+
|
|
21
|
+
# Fill color
|
|
22
|
+
foxglove_msgs/Color fill_color
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Generated from RawImage by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of image
|
|
4
|
+
time timestamp
|
|
5
|
+
|
|
6
|
+
# Image width
|
|
7
|
+
uint32 width
|
|
8
|
+
|
|
9
|
+
# Image height
|
|
10
|
+
uint32 height
|
|
11
|
+
|
|
12
|
+
# Encoding of the raw image data
|
|
13
|
+
string encoding
|
|
14
|
+
|
|
15
|
+
# Byte length of a single row
|
|
16
|
+
uint32 step
|
|
17
|
+
|
|
18
|
+
# Raw image data
|
|
19
|
+
uint8[] data
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Generated from CameraCalibration by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of calibration data
|
|
4
|
+
builtin_interfaces/Time timestamp
|
|
5
|
+
|
|
6
|
+
# Image width
|
|
7
|
+
uint32 width
|
|
8
|
+
|
|
9
|
+
# Image height
|
|
10
|
+
uint32 height
|
|
11
|
+
|
|
12
|
+
# Name of distortion model
|
|
13
|
+
string distortion_model
|
|
14
|
+
|
|
15
|
+
# Distortion parameters
|
|
16
|
+
float64[] d
|
|
17
|
+
|
|
18
|
+
# Intrinsic camera matrix (3x3 row-major matrix)
|
|
19
|
+
#
|
|
20
|
+
# A 3x3 row-major matrix for the raw (distorted) image.
|
|
21
|
+
#
|
|
22
|
+
# Projects 3D points in the camera coordinate frame to 2D pixel coordinates using the focal lengths (fx, fy) and principal point (cx, cy).
|
|
23
|
+
#
|
|
24
|
+
# ```
|
|
25
|
+
# [fx 0 cx]
|
|
26
|
+
# K = [ 0 fy cy]
|
|
27
|
+
# [ 0 0 1]
|
|
28
|
+
# ```
|
|
29
|
+
float64[9] k
|
|
30
|
+
|
|
31
|
+
# Rectification matrix (3x3 row-major matrix)
|
|
32
|
+
#
|
|
33
|
+
# A rotation matrix aligning the camera coordinate system to the ideal stereo image plane so that epipolar lines in both stereo images are parallel.
|
|
34
|
+
float64[9] r
|
|
35
|
+
|
|
36
|
+
# Projection/camera matrix (3x4 row-major matrix)
|
|
37
|
+
#
|
|
38
|
+
# ```
|
|
39
|
+
# [fx' 0 cx' Tx]
|
|
40
|
+
# P = [ 0 fy' cy' Ty]
|
|
41
|
+
# [ 0 0 1 0]
|
|
42
|
+
# ```
|
|
43
|
+
#
|
|
44
|
+
# 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.
|
|
45
|
+
#
|
|
46
|
+
# 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.
|
|
47
|
+
#
|
|
48
|
+
# For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will also have R = the identity and P[1:3,1:3] = K.
|
|
49
|
+
#
|
|
50
|
+
# 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.
|
|
51
|
+
#
|
|
52
|
+
# Given a 3D point [X Y Z]', the projection (x, y) of the point onto the rectified image is given by:
|
|
53
|
+
#
|
|
54
|
+
# ```
|
|
55
|
+
# [u v w]' = P * [X Y Z 1]'
|
|
56
|
+
# x = u / w
|
|
57
|
+
# y = v / w
|
|
58
|
+
# ```
|
|
59
|
+
#
|
|
60
|
+
# This holds for both images of a stereo pair.
|
|
61
|
+
float64[12] p
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Generated from CircleAnnotation by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of circle
|
|
4
|
+
builtin_interfaces/Time timestamp
|
|
5
|
+
|
|
6
|
+
# Center of the circle in 2D image coordinates
|
|
7
|
+
foxglove_msgs/Point2 position
|
|
8
|
+
|
|
9
|
+
# Circle diameter
|
|
10
|
+
float64 diameter
|
|
11
|
+
|
|
12
|
+
# Line thickness
|
|
13
|
+
float64 thickness
|
|
14
|
+
|
|
15
|
+
# Fill color
|
|
16
|
+
foxglove_msgs/Color fill_color
|
|
17
|
+
|
|
18
|
+
# Outline color
|
|
19
|
+
foxglove_msgs/Color outline_color
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated from FrameTransform by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of transform
|
|
4
|
+
builtin_interfaces/Time timestamp
|
|
5
|
+
|
|
6
|
+
# Name of the parent frame
|
|
7
|
+
string parent_frame_id
|
|
8
|
+
|
|
9
|
+
# Name of the child frame
|
|
10
|
+
string child_frame_id
|
|
11
|
+
|
|
12
|
+
# Transform from parent frame to child frame
|
|
13
|
+
foxglove_msgs/Transform transform
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Generated from Grid by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of grid
|
|
4
|
+
builtin_interfaces/Time timestamp
|
|
5
|
+
|
|
6
|
+
# Frame of reference
|
|
7
|
+
string frame_id
|
|
8
|
+
|
|
9
|
+
# Origin of grid's corner relative to frame of reference; grid is positioned in the x-y plane relative to this origin
|
|
10
|
+
geometry_msgs/Pose pose
|
|
11
|
+
|
|
12
|
+
# Number of grid columns
|
|
13
|
+
uint32 column_count
|
|
14
|
+
|
|
15
|
+
# Size of single grid cell along x and y axes, relative to `pose`
|
|
16
|
+
foxglove_msgs/Vector2 cell_size
|
|
17
|
+
|
|
18
|
+
# Number of bytes between rows in `data`
|
|
19
|
+
uint32 row_stride
|
|
20
|
+
|
|
21
|
+
# Number of bytes between cells within a row in `data`
|
|
22
|
+
uint32 cell_stride
|
|
23
|
+
|
|
24
|
+
# Fields in `data`
|
|
25
|
+
foxglove_msgs/PackedElementField[] fields
|
|
26
|
+
|
|
27
|
+
# Grid cell data, interpreted using `fields`, in row-major (y-major) order
|
|
28
|
+
uint8[] data
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated from LaserScan by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of scan
|
|
4
|
+
builtin_interfaces/Time timestamp
|
|
5
|
+
|
|
6
|
+
# Frame of reference
|
|
7
|
+
string frame_id
|
|
8
|
+
|
|
9
|
+
# 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
|
|
10
|
+
geometry_msgs/Pose pose
|
|
11
|
+
|
|
12
|
+
# Bearing of first point, in radians
|
|
13
|
+
float64 start_angle
|
|
14
|
+
|
|
15
|
+
# Bearing of last point, in radians
|
|
16
|
+
float64 end_angle
|
|
17
|
+
|
|
18
|
+
# Distance of detections from origin; assumed to be at equally-spaced angles between `start_angle` and `end_angle`
|
|
19
|
+
float64[] ranges
|
|
20
|
+
|
|
21
|
+
# Intensity of detections
|
|
22
|
+
float64[] intensities
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated from LocationFix by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Latitude in degrees
|
|
4
|
+
float64 latitude
|
|
5
|
+
|
|
6
|
+
# Longitude in degrees
|
|
7
|
+
float64 longitude
|
|
8
|
+
|
|
9
|
+
# Altitude in meters
|
|
10
|
+
float64 altitude
|
|
11
|
+
|
|
12
|
+
# 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.
|
|
13
|
+
float64[9] position_covariance
|
|
14
|
+
|
|
15
|
+
uint8 UNKNOWN=0
|
|
16
|
+
uint8 APPROXIMATED=1
|
|
17
|
+
uint8 DIAGONAL_KNOWN=2
|
|
18
|
+
uint8 KNOWN=3
|
|
19
|
+
|
|
20
|
+
# If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.
|
|
21
|
+
uint8 position_covariance_type
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated from Log by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of log message
|
|
4
|
+
builtin_interfaces/Time timestamp
|
|
5
|
+
|
|
6
|
+
uint8 UNKNOWN=0
|
|
7
|
+
uint8 DEBUG=1
|
|
8
|
+
uint8 INFO=2
|
|
9
|
+
uint8 WARNING=3
|
|
10
|
+
uint8 ERROR=4
|
|
11
|
+
uint8 FATAL=5
|
|
12
|
+
|
|
13
|
+
# Log level
|
|
14
|
+
uint8 level
|
|
15
|
+
|
|
16
|
+
# Log message
|
|
17
|
+
string message
|
|
18
|
+
|
|
19
|
+
# Process or node name
|
|
20
|
+
string name
|
|
21
|
+
|
|
22
|
+
# Filename
|
|
23
|
+
string file
|
|
24
|
+
|
|
25
|
+
# Line number in the file
|
|
26
|
+
uint32 line
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated from PackedElementField by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Name of the field
|
|
4
|
+
string name
|
|
5
|
+
|
|
6
|
+
# Byte offset from start of data buffer
|
|
7
|
+
uint32 offset
|
|
8
|
+
|
|
9
|
+
uint8 UNKNOWN=0
|
|
10
|
+
uint8 UINT8=1
|
|
11
|
+
uint8 INT8=2
|
|
12
|
+
uint8 UINT16=3
|
|
13
|
+
uint8 INT16=4
|
|
14
|
+
uint8 UINT32=5
|
|
15
|
+
uint8 INT32=6
|
|
16
|
+
uint8 FLOAT32=7
|
|
17
|
+
uint8 FLOAT64=8
|
|
18
|
+
|
|
19
|
+
# Type of data in the field. Integers are stored using little-endian byte order.
|
|
20
|
+
uint8 type
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Generated from PointCloud by @foxglove/schemas
|
|
2
|
+
|
|
3
|
+
# Timestamp of point cloud
|
|
4
|
+
builtin_interfaces/Time timestamp
|
|
5
|
+
|
|
6
|
+
# Frame of reference
|
|
7
|
+
string frame_id
|
|
8
|
+
|
|
9
|
+
# The origin of the point cloud relative to the frame of reference
|
|
10
|
+
geometry_msgs/Pose pose
|
|
11
|
+
|
|
12
|
+
# Number of bytes between points in the `data`
|
|
13
|
+
uint32 point_stride
|
|
14
|
+
|
|
15
|
+
# Fields in the `data`
|
|
16
|
+
foxglove_msgs/PackedElementField[] fields
|
|
17
|
+
|
|
18
|
+
# Point data, interpreted using `fields`
|
|
19
|
+
uint8[] data
|