@foxglove/schemas 1.7.2 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/internal/exportTypeScriptSchemas.d.ts.map +1 -1
  2. package/dist/internal/exportTypeScriptSchemas.js +10 -6
  3. package/dist/internal/exportTypeScriptSchemas.js.map +1 -1
  4. package/dist/internal/generateFlatbufferSchema.d.ts +6 -2
  5. package/dist/internal/generateFlatbufferSchema.d.ts.map +1 -1
  6. package/dist/internal/generateFlatbufferSchema.js +26 -15
  7. package/dist/internal/generateFlatbufferSchema.js.map +1 -1
  8. package/dist/internal/generateJsonSchema.d.ts.map +1 -1
  9. package/dist/internal/generateJsonSchema.js +36 -24
  10. package/dist/internal/generateJsonSchema.js.map +1 -1
  11. package/dist/internal/generateOmgIdl.d.ts +2 -3
  12. package/dist/internal/generateOmgIdl.d.ts.map +1 -1
  13. package/dist/internal/generateOmgIdl.js +16 -35
  14. package/dist/internal/generateOmgIdl.js.map +1 -1
  15. package/dist/internal/generateOmgIdl.test.js +4 -6
  16. package/dist/internal/generateOmgIdl.test.js.map +1 -1
  17. package/dist/internal/generateProto.d.ts.map +1 -1
  18. package/dist/internal/generateProto.js +23 -13
  19. package/dist/internal/generateProto.js.map +1 -1
  20. package/dist/internal/generatePyclass.d.ts +2 -2
  21. package/dist/internal/generatePyclass.d.ts.map +1 -1
  22. package/dist/internal/generatePyclass.js +114 -57
  23. package/dist/internal/generatePyclass.js.map +1 -1
  24. package/dist/internal/generatePyclass.test.js +13 -8
  25. package/dist/internal/generatePyclass.test.js.map +1 -1
  26. package/dist/internal/generateRos.d.ts.map +1 -1
  27. package/dist/internal/generateRos.js +20 -9
  28. package/dist/internal/generateRos.js.map +1 -1
  29. package/dist/internal/generateSdkCpp.d.ts.map +1 -1
  30. package/dist/internal/generateSdkCpp.js +26 -22
  31. package/dist/internal/generateSdkCpp.js.map +1 -1
  32. package/dist/internal/generateSdkRustCTypes.d.ts +5 -0
  33. package/dist/internal/generateSdkRustCTypes.d.ts.map +1 -1
  34. package/dist/internal/generateSdkRustCTypes.js +83 -21
  35. package/dist/internal/generateSdkRustCTypes.js.map +1 -1
  36. package/dist/internal/generateTypeScript.d.ts +0 -1
  37. package/dist/internal/generateTypeScript.d.ts.map +1 -1
  38. package/dist/internal/generateTypeScript.js +10 -18
  39. package/dist/internal/generateTypeScript.js.map +1 -1
  40. package/dist/internal/schemas.d.ts +4 -0
  41. package/dist/internal/schemas.d.ts.map +1 -1
  42. package/dist/internal/schemas.js +209 -26
  43. package/dist/internal/schemas.js.map +1 -1
  44. package/dist/internal/testFixtures.d.ts.map +1 -1
  45. package/dist/internal/testFixtures.js +37 -9
  46. package/dist/internal/testFixtures.js.map +1 -1
  47. package/dist/internal/types.d.ts +3 -1
  48. package/dist/internal/types.d.ts.map +1 -1
  49. package/dist/jsonschema/index.d.ts +323 -0
  50. package/dist/jsonschema/index.d.ts.map +1 -1
  51. package/dist/jsonschema/index.js +373 -8
  52. package/dist/jsonschema/index.js.map +1 -1
  53. package/dist/types/CameraCalibration.d.ts +1 -1
  54. package/dist/types/Duration.d.ts +3 -0
  55. package/dist/types/Duration.d.ts.map +1 -1
  56. package/dist/types/Duration.js +2 -0
  57. package/dist/types/Duration.js.map +1 -1
  58. package/dist/types/Grid.d.ts +6 -1
  59. package/dist/types/Grid.d.ts.map +1 -1
  60. package/dist/types/LocationFix.d.ts +3 -0
  61. package/dist/types/LocationFix.d.ts.map +1 -1
  62. package/dist/types/LocationFixes.d.ts +7 -0
  63. package/dist/types/LocationFixes.d.ts.map +1 -0
  64. package/dist/types/LocationFixes.js +5 -0
  65. package/dist/types/LocationFixes.js.map +1 -0
  66. package/dist/types/RawImage.d.ts +58 -8
  67. package/dist/types/RawImage.d.ts.map +1 -1
  68. package/dist/types/VoxelGrid.d.ts +36 -0
  69. package/dist/types/VoxelGrid.d.ts.map +1 -0
  70. package/dist/types/VoxelGrid.js +5 -0
  71. package/dist/types/VoxelGrid.js.map +1 -0
  72. package/dist/types/index.d.ts +4 -0
  73. package/dist/types/index.d.ts.map +1 -1
  74. package/dist/types/index.js +4 -0
  75. package/dist/types/index.js.map +1 -1
  76. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Generated by https://github.com/foxglove/foxglove-sdk
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Vector3 = exports.Vector2 = exports.TriangleListPrimitive = exports.TextPrimitive = exports.TextAnnotation = exports.SpherePrimitive = exports.RawImage = exports.RawAudio = exports.Quaternion = exports.PosesInFrame = exports.PoseInFrame = exports.Pose = exports.PointsAnnotation = exports.PointCloud = exports.Point3 = exports.Point2 = exports.PackedElementField = exports.ModelPrimitive = exports.SceneUpdate = exports.SceneEntity = exports.SceneEntityDeletion = exports.Log = exports.LocationFix = exports.LinePrimitive = exports.LaserScan = exports.KeyValuePair = exports.ImageAnnotations = exports.Grid = exports.GeoJSON = exports.FrameTransforms = exports.FrameTransform = exports.CubePrimitive = exports.CylinderPrimitive = exports.CompressedVideo = exports.CompressedImage = exports.Color = exports.CircleAnnotation = exports.CameraCalibration = exports.ArrowPrimitive = void 0;
4
+ exports.Time = exports.Vector3 = exports.Vector2 = exports.TriangleListPrimitive = exports.Timestamp = exports.TextPrimitive = exports.TextAnnotation = exports.SpherePrimitive = exports.RawImage = exports.RawAudio = exports.Quaternion = exports.PosesInFrame = exports.PoseInFrame = exports.Pose = exports.PointsAnnotation = exports.PointCloud = exports.Point3 = exports.Point2 = exports.PackedElementField = exports.ModelPrimitive = exports.SceneUpdate = exports.SceneEntity = exports.SceneEntityDeletion = exports.Log = exports.LocationFixes = exports.LocationFix = exports.LinePrimitive = exports.LaserScan = exports.KeyValuePair = exports.ImageAnnotations = exports.VoxelGrid = exports.Grid = exports.GeoJSON = exports.FrameTransforms = exports.FrameTransform = exports.Duration = exports.CubePrimitive = exports.CylinderPrimitive = exports.CompressedVideo = exports.CompressedImage = exports.Color = exports.CircleAnnotation = exports.CameraCalibration = exports.ArrowPrimitive = void 0;
5
5
  exports.ArrowPrimitive = {
6
6
  "title": "foxglove.ArrowPrimitive",
7
7
  "description": "A primitive representing an arrow",
@@ -136,7 +136,7 @@ exports.CameraCalibration = {
136
136
  },
137
137
  "distortion_model": {
138
138
  "type": "string",
139
- "description": "Name of distortion model\n\nSupported parameters: `plumb_bob` (k1, k2, p1, p2, k3), `rational_polynomial` (k1, k2, p1, p2, k3, k4, k5, k6), and `kannala_brandt` (k1, k2, k3, k4). `plumb_bob` and `rational_polynomial` models are based on the pinhole model [OpenCV's](https://docs.opencv.org/4.11.0/d9/d0c/group__calib3d.html) [pinhole camera model](https://en.wikipedia.org/wiki/Distortion_%28optics%29#Software_correction). The `kannala_brandt` model is matches the [OpenvCV fisheye](https://docs.opencv.org/4.11.0/db/d58/group__calib3d__fisheye.html) model."
139
+ "description": "Name of distortion model\n\nSupported parameters: `plumb_bob` (k1, k2, p1, p2, k3), `rational_polynomial` (k1, k2, p1, p2, k3, k4, k5, k6), and `kannala_brandt` (k1, k2, k3, k4). `plumb_bob` and `rational_polynomial` models are based on the pinhole model [OpenCV's](https://docs.opencv.org/4.11.0/d9/d0c/group__calib3d.html) [pinhole camera model](https://en.wikipedia.org/wiki/Distortion_%28optics%29#Software_correction). The `kannala_brandt` model matches the [OpenvCV fisheye](https://docs.opencv.org/4.11.0/db/d58/group__calib3d__fisheye.html) model."
140
140
  },
141
141
  "D": {
142
142
  "type": "array",
@@ -571,6 +571,23 @@ exports.CubePrimitive = {
571
571
  }
572
572
  }
573
573
  };
574
+ exports.Duration = {
575
+ "title": "foxglove.Duration",
576
+ "description": "A duration of time, composed of seconds and nanoseconds",
577
+ "$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
578
+ "type": "object",
579
+ "properties": {
580
+ "sec": {
581
+ "type": "integer",
582
+ "description": "The number of seconds in the duration"
583
+ },
584
+ "nsec": {
585
+ "type": "integer",
586
+ "minimum": 0,
587
+ "description": "The number of nanoseconds in the positive direction"
588
+ }
589
+ }
590
+ };
574
591
  exports.FrameTransform = {
575
592
  "title": "foxglove.FrameTransform",
576
593
  "description": "A transform between two reference frames in 3D space",
@@ -921,7 +938,204 @@ exports.Grid = {
921
938
  "data": {
922
939
  "type": "string",
923
940
  "contentEncoding": "base64",
924
- "description": "Grid cell data, interpreted using `fields`, in row-major (y-major) order"
941
+ "description": "Grid cell data, interpreted using `fields`, in row-major (y-major) order.\n For the data element starting at byte offset i, the coordinates of its corner closest to the origin will be:\n y = (i / cell_stride) % row_stride * cell_size.y\n x = i % cell_stride * cell_size.x"
942
+ }
943
+ }
944
+ };
945
+ exports.VoxelGrid = {
946
+ "title": "foxglove.VoxelGrid",
947
+ "description": "A 3D grid of data",
948
+ "$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
949
+ "type": "object",
950
+ "properties": {
951
+ "timestamp": {
952
+ "type": "object",
953
+ "title": "time",
954
+ "properties": {
955
+ "sec": {
956
+ "type": "integer",
957
+ "minimum": 0
958
+ },
959
+ "nsec": {
960
+ "type": "integer",
961
+ "minimum": 0,
962
+ "maximum": 999999999
963
+ }
964
+ },
965
+ "description": "Timestamp of grid"
966
+ },
967
+ "frame_id": {
968
+ "type": "string",
969
+ "description": "Frame of reference"
970
+ },
971
+ "pose": {
972
+ "title": "foxglove.Pose",
973
+ "description": "Origin of grid's corner relative to frame of reference",
974
+ "type": "object",
975
+ "properties": {
976
+ "position": {
977
+ "title": "foxglove.Vector3",
978
+ "description": "Point denoting position in 3D space",
979
+ "type": "object",
980
+ "properties": {
981
+ "x": {
982
+ "type": "number",
983
+ "description": "x coordinate length"
984
+ },
985
+ "y": {
986
+ "type": "number",
987
+ "description": "y coordinate length"
988
+ },
989
+ "z": {
990
+ "type": "number",
991
+ "description": "z coordinate length"
992
+ }
993
+ }
994
+ },
995
+ "orientation": {
996
+ "title": "foxglove.Quaternion",
997
+ "description": "Quaternion denoting orientation in 3D space",
998
+ "type": "object",
999
+ "properties": {
1000
+ "x": {
1001
+ "type": "number",
1002
+ "description": "x value"
1003
+ },
1004
+ "y": {
1005
+ "type": "number",
1006
+ "description": "y value"
1007
+ },
1008
+ "z": {
1009
+ "type": "number",
1010
+ "description": "z value"
1011
+ },
1012
+ "w": {
1013
+ "type": "number",
1014
+ "description": "w value"
1015
+ }
1016
+ }
1017
+ }
1018
+ }
1019
+ },
1020
+ "row_count": {
1021
+ "type": "integer",
1022
+ "minimum": 0,
1023
+ "description": "Number of grid rows"
1024
+ },
1025
+ "column_count": {
1026
+ "type": "integer",
1027
+ "minimum": 0,
1028
+ "description": "Number of grid columns"
1029
+ },
1030
+ "cell_size": {
1031
+ "title": "foxglove.Vector3",
1032
+ "description": "Size of single grid cell along x, y, and z axes, relative to `pose`",
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "x": {
1036
+ "type": "number",
1037
+ "description": "x coordinate length"
1038
+ },
1039
+ "y": {
1040
+ "type": "number",
1041
+ "description": "y coordinate length"
1042
+ },
1043
+ "z": {
1044
+ "type": "number",
1045
+ "description": "z coordinate length"
1046
+ }
1047
+ }
1048
+ },
1049
+ "slice_stride": {
1050
+ "type": "integer",
1051
+ "minimum": 0,
1052
+ "description": "Number of bytes between depth slices in `data`"
1053
+ },
1054
+ "row_stride": {
1055
+ "type": "integer",
1056
+ "minimum": 0,
1057
+ "description": "Number of bytes between rows in `data`"
1058
+ },
1059
+ "cell_stride": {
1060
+ "type": "integer",
1061
+ "minimum": 0,
1062
+ "description": "Number of bytes between cells within a row in `data`"
1063
+ },
1064
+ "fields": {
1065
+ "type": "array",
1066
+ "items": {
1067
+ "title": "foxglove.PackedElementField",
1068
+ "description": "A field present within each element in a byte array of packed elements.",
1069
+ "type": "object",
1070
+ "properties": {
1071
+ "name": {
1072
+ "type": "string",
1073
+ "description": "Name of the field"
1074
+ },
1075
+ "offset": {
1076
+ "type": "integer",
1077
+ "minimum": 0,
1078
+ "description": "Byte offset from start of data buffer"
1079
+ },
1080
+ "type": {
1081
+ "title": "foxglove.NumericType",
1082
+ "description": "Type of data in the field. Integers are stored using little-endian byte order.",
1083
+ "oneOf": [
1084
+ {
1085
+ "title": "UNKNOWN",
1086
+ "const": 0,
1087
+ "description": "Unknown numeric type"
1088
+ },
1089
+ {
1090
+ "title": "UINT8",
1091
+ "const": 1,
1092
+ "description": "Unsigned 8-bit integer"
1093
+ },
1094
+ {
1095
+ "title": "INT8",
1096
+ "const": 2,
1097
+ "description": "Signed 8-bit integer"
1098
+ },
1099
+ {
1100
+ "title": "UINT16",
1101
+ "const": 3,
1102
+ "description": "Unsigned 16-bit integer"
1103
+ },
1104
+ {
1105
+ "title": "INT16",
1106
+ "const": 4,
1107
+ "description": "Signed 16-bit integer"
1108
+ },
1109
+ {
1110
+ "title": "UINT32",
1111
+ "const": 5,
1112
+ "description": "Unsigned 32-bit integer"
1113
+ },
1114
+ {
1115
+ "title": "INT32",
1116
+ "const": 6,
1117
+ "description": "Signed 32-bit integer"
1118
+ },
1119
+ {
1120
+ "title": "FLOAT32",
1121
+ "const": 7,
1122
+ "description": "32-bit floating-point number"
1123
+ },
1124
+ {
1125
+ "title": "FLOAT64",
1126
+ "const": 8,
1127
+ "description": "64-bit floating-point number"
1128
+ }
1129
+ ]
1130
+ }
1131
+ }
1132
+ },
1133
+ "description": "Fields in `data`. `red`, `green`, `blue`, and `alpha` are optional for customizing the grid's color."
1134
+ },
1135
+ "data": {
1136
+ "type": "string",
1137
+ "contentEncoding": "base64",
1138
+ "description": "Grid cell data, interpreted using `fields`, in depth-major, row-major (Z-Y-X) order.\n For the data element starting at byte offset i, the coordinates of its corner closest to the origin will be:\n z = i / slice_stride * cell_size.z\n y = (i % slice_stride) / row_stride * cell_size.y\n x = (i % row_stride) / cell_stride * cell_size.x"
925
1139
  }
926
1140
  }
927
1141
  };
@@ -1633,6 +1847,138 @@ exports.LocationFix = {
1633
1847
  "description": "Position covariance of the fix is known"
1634
1848
  }
1635
1849
  ]
1850
+ },
1851
+ "color": {
1852
+ "title": "foxglove.Color",
1853
+ "description": "Color used to visualize the location",
1854
+ "type": "object",
1855
+ "properties": {
1856
+ "r": {
1857
+ "type": "number",
1858
+ "description": "Red value between 0 and 1"
1859
+ },
1860
+ "g": {
1861
+ "type": "number",
1862
+ "description": "Green value between 0 and 1"
1863
+ },
1864
+ "b": {
1865
+ "type": "number",
1866
+ "description": "Blue value between 0 and 1"
1867
+ },
1868
+ "a": {
1869
+ "type": "number",
1870
+ "description": "Alpha value between 0 and 1"
1871
+ }
1872
+ }
1873
+ }
1874
+ }
1875
+ };
1876
+ exports.LocationFixes = {
1877
+ "title": "foxglove.LocationFixes",
1878
+ "description": "A group of LocationFix messages",
1879
+ "$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
1880
+ "type": "object",
1881
+ "properties": {
1882
+ "fixes": {
1883
+ "type": "array",
1884
+ "items": {
1885
+ "title": "foxglove.LocationFix",
1886
+ "description": "A navigation satellite fix for any Global Navigation Satellite System",
1887
+ "type": "object",
1888
+ "properties": {
1889
+ "timestamp": {
1890
+ "type": "object",
1891
+ "title": "time",
1892
+ "properties": {
1893
+ "sec": {
1894
+ "type": "integer",
1895
+ "minimum": 0
1896
+ },
1897
+ "nsec": {
1898
+ "type": "integer",
1899
+ "minimum": 0,
1900
+ "maximum": 999999999
1901
+ }
1902
+ },
1903
+ "description": "Timestamp of the message"
1904
+ },
1905
+ "frame_id": {
1906
+ "type": "string",
1907
+ "description": "Frame for the sensor. Latitude and longitude readings are at the origin of the frame."
1908
+ },
1909
+ "latitude": {
1910
+ "type": "number",
1911
+ "description": "Latitude in degrees"
1912
+ },
1913
+ "longitude": {
1914
+ "type": "number",
1915
+ "description": "Longitude in degrees"
1916
+ },
1917
+ "altitude": {
1918
+ "type": "number",
1919
+ "description": "Altitude in meters"
1920
+ },
1921
+ "position_covariance": {
1922
+ "type": "array",
1923
+ "items": {
1924
+ "type": "number"
1925
+ },
1926
+ "minItems": 9,
1927
+ "maxItems": 9,
1928
+ "description": "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."
1929
+ },
1930
+ "position_covariance_type": {
1931
+ "title": "foxglove.PositionCovarianceType",
1932
+ "description": "If `position_covariance` is available, `position_covariance_type` must be set to indicate the type of covariance.",
1933
+ "oneOf": [
1934
+ {
1935
+ "title": "UNKNOWN",
1936
+ "const": 0,
1937
+ "description": "Unknown position covariance type"
1938
+ },
1939
+ {
1940
+ "title": "APPROXIMATED",
1941
+ "const": 1,
1942
+ "description": "Position covariance is approximated"
1943
+ },
1944
+ {
1945
+ "title": "DIAGONAL_KNOWN",
1946
+ "const": 2,
1947
+ "description": "Position covariance is per-axis, so put it along the diagonal"
1948
+ },
1949
+ {
1950
+ "title": "KNOWN",
1951
+ "const": 3,
1952
+ "description": "Position covariance of the fix is known"
1953
+ }
1954
+ ]
1955
+ },
1956
+ "color": {
1957
+ "title": "foxglove.Color",
1958
+ "description": "Color used to visualize the location",
1959
+ "type": "object",
1960
+ "properties": {
1961
+ "r": {
1962
+ "type": "number",
1963
+ "description": "Red value between 0 and 1"
1964
+ },
1965
+ "g": {
1966
+ "type": "number",
1967
+ "description": "Green value between 0 and 1"
1968
+ },
1969
+ "b": {
1970
+ "type": "number",
1971
+ "description": "Blue value between 0 and 1"
1972
+ },
1973
+ "a": {
1974
+ "type": "number",
1975
+ "description": "Alpha value between 0 and 1"
1976
+ }
1977
+ }
1978
+ }
1979
+ }
1980
+ },
1981
+ "description": "An array of location fixes"
1636
1982
  }
1637
1983
  }
1638
1984
  };
@@ -4672,26 +5018,26 @@ exports.RawImage = {
4672
5018
  "width": {
4673
5019
  "type": "integer",
4674
5020
  "minimum": 0,
4675
- "description": "Image width"
5021
+ "description": "Image width in pixels"
4676
5022
  },
4677
5023
  "height": {
4678
5024
  "type": "integer",
4679
5025
  "minimum": 0,
4680
- "description": "Image height"
5026
+ "description": "Image height in pixels"
4681
5027
  },
4682
5028
  "encoding": {
4683
5029
  "type": "string",
4684
- "description": "Encoding of the raw image data\n\nSupported values: `8UC1`, `8UC3`, `16UC1` (little endian), `32FC1` (little endian), `bayer_bggr8`, `bayer_gbrg8`, `bayer_grbg8`, `bayer_rggb8`, `bgr8`, `bgra8`, `mono8`, `mono16`, `rgb8`, `rgba8`, `uyvy` or `yuv422`, `yuyv` or `yuv422_yuy2`"
5030
+ "description": "Encoding of the raw image data. See the `data` field description for supported values."
4685
5031
  },
4686
5032
  "step": {
4687
5033
  "type": "integer",
4688
5034
  "minimum": 0,
4689
- "description": "Byte length of a single row"
5035
+ "description": "Byte length of a single row. This is usually some multiple of `width` depending on the encoding, but can be greater to incorporate padding."
4690
5036
  },
4691
5037
  "data": {
4692
5038
  "type": "string",
4693
5039
  "contentEncoding": "base64",
4694
- "description": "Raw image data"
5040
+ "description": "Raw image data.\n\nFor each `encoding` value, the `data` field contains image pixel data serialized as follows:\n\n- `yuv422` or `uyvy`:\n - Pixel colors are decomposed into [Y'UV](https://en.wikipedia.org/wiki/Y%E2%80%B2UV) channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - U and V values are shared between horizontal pairs of pixels. Each pair of output pixels is serialized as [U, Y1, V, Y2].\n - `step` must be greater than or equal to `width` * 2.\n- `yuv422_yuy2` or `yuyv`:\n - Pixel colors are decomposed into [Y'UV](https://en.wikipedia.org/wiki/Y%E2%80%B2UV) channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - U and V values are shared between horizontal pairs of pixels. Each pair of output pixels is encoded as [Y1, U, Y2, V].\n - `step` must be greater than or equal to `width` * 2.\n- `rgb8`:\n - Pixel colors are decomposed into Red, Green, and Blue channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is serialized as [R, G, B].\n - `step` must be greater than or equal to `width` * 3.\n- `rgba8`:\n - Pixel colors are decomposed into Red, Green, Blue, and Alpha channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is serialized as [R, G, B, Alpha].\n - `step` must be greater than or equal to `width` * 4.\n- `bgr8` or `8UC3`:\n - Pixel colors are decomposed into Red, Blue, Green, and Alpha channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is serialized as [B, G, R].\n - `step` must be greater than or equal to `width` * 3.\n- `bgra8`:\n - Pixel colors are decomposed into Blue, Green, Red, and Alpha channels.\n - Pixel channel values are represented as unsigned 8-bit integers.\n - Each output pixel is encoded as [B, G, R, Alpha].\n - `step` must be greater than or equal to `width` * 4.\n- `32FC1`:\n - Pixel brightness is represented as a single-channel, 32-bit little-endian IEEE 754 floating-point value, ranging from 0.0 (black) to 1.0 (white).\n - `step` must be greater than or equal to `width` * 4.\n- `bayer_rggb8`, `bayer_bggr8`, `bayer_rggb8`, `bayer_gbrg8`, or `bayer_grgb8`:\n - Pixel colors are decomposed into Red, Blue and Green channels.\n - Pixel channel values are represented as unsigned 8-bit integers, and serialized in a 2x2 bayer filter pattern.\n - The order of the four letters after `bayer_` determine the layout, so for `bayer_wxyz8` the pattern is:\n ```plaintext\n w | x\n - + -\n y | z\n ```\n - `step` must be greater than or equal to `width`.\n- `mono8` or `8UC1`:\n - Pixel brightness is represented as unsigned 8-bit integers.\n - `step` must be greater than or equal to `width`.\n- `mono16` or `16UC1`:\n - Pixel brightness is represented as 16-bit unsigned little-endian integers. Rendering of these values is controlled in [Image panel color mode settings](https://docs.foxglove.dev/docs/visualization/panels/image#general).\n - `step` must be greater than or equal to `width` * 2.\n"
4695
5041
  }
4696
5042
  }
4697
5043
  };
@@ -4983,6 +5329,24 @@ exports.TextPrimitive = {
4983
5329
  }
4984
5330
  }
4985
5331
  };
5332
+ exports.Timestamp = {
5333
+ "title": "foxglove.Timestamp",
5334
+ "description": "A timestamp composed of seconds and nanoseconds",
5335
+ "$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
5336
+ "type": "object",
5337
+ "properties": {
5338
+ "sec": {
5339
+ "type": "integer",
5340
+ "minimum": 0,
5341
+ "description": "The number of seconds since a user-defined epoch"
5342
+ },
5343
+ "nsec": {
5344
+ "type": "integer",
5345
+ "minimum": 0,
5346
+ "description": "The number of nanoseconds since the sec value"
5347
+ }
5348
+ }
5349
+ };
4986
5350
  exports.TriangleListPrimitive = {
4987
5351
  "title": "foxglove.TriangleListPrimitive",
4988
5352
  "description": "A primitive representing a set of triangles or a surface tiled by triangles",
@@ -5157,4 +5521,5 @@ exports.Vector3 = {
5157
5521
  }
5158
5522
  }
5159
5523
  };
5524
+ exports.Time = exports.Timestamp;
5160
5525
  //# sourceMappingURL=index.js.map