@foxglove/schemas 1.1.0 → 1.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.
Files changed (35) hide show
  1. package/.github/workflows/ci.yml +1 -1
  2. package/README.md +11 -3
  3. package/internal/schemas.js +6 -6
  4. package/internal/schemas.js.map +1 -1
  5. package/internal/schemas.ts +6 -6
  6. package/package.json +1 -1
  7. package/schemas/README.md +6 -6
  8. package/schemas/flatbuffer/CircleAnnotation.fbs +3 -3
  9. package/schemas/flatbuffer/PointCloud.fbs +1 -1
  10. package/schemas/flatbuffer/PointsAnnotation.fbs +2 -2
  11. package/schemas/jsonschema/CircleAnnotation.json +3 -3
  12. package/schemas/jsonschema/ImageAnnotations.json +5 -5
  13. package/schemas/jsonschema/PointCloud.json +1 -1
  14. package/schemas/jsonschema/PointsAnnotation.json +2 -2
  15. package/schemas/jsonschema/index.js +11 -11
  16. package/schemas/jsonschema/index.js.map +1 -1
  17. package/schemas/jsonschema/index.ts +11 -11
  18. package/schemas/proto/foxglove/CircleAnnotation.proto +3 -3
  19. package/schemas/proto/foxglove/PointCloud.proto +1 -1
  20. package/schemas/proto/foxglove/PointsAnnotation.proto +2 -2
  21. package/schemas/ros1/CircleAnnotation.msg +3 -3
  22. package/schemas/ros1/PointCloud.msg +1 -1
  23. package/schemas/ros1/PointsAnnotation.msg +2 -2
  24. package/schemas/ros2/CircleAnnotation.msg +3 -3
  25. package/schemas/ros2/PointCloud.msg +1 -1
  26. package/schemas/ros2/PointsAnnotation.msg +2 -2
  27. package/schemas/typescript/CircleAnnotation.d.ts +3 -3
  28. package/schemas/typescript/CircleAnnotation.d.ts.map +1 -1
  29. package/schemas/typescript/CircleAnnotation.ts +3 -3
  30. package/schemas/typescript/PointCloud.d.ts +1 -1
  31. package/schemas/typescript/PointCloud.d.ts.map +1 -1
  32. package/schemas/typescript/PointCloud.ts +1 -1
  33. package/schemas/typescript/PointsAnnotation.d.ts +2 -2
  34. package/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
  35. package/schemas/typescript/PointsAnnotation.ts +2 -2
@@ -9,13 +9,13 @@ export type CircleAnnotation = {
9
9
  /** Timestamp of circle */
10
10
  timestamp: Time;
11
11
 
12
- /** Center of the circle in 2D image coordinates */
12
+ /** Center of the circle in 2D image coordinates (pixels) */
13
13
  position: Point2;
14
14
 
15
- /** Circle diameter */
15
+ /** Circle diameter in pixels */
16
16
  diameter: number;
17
17
 
18
- /** Line thickness */
18
+ /** Line thickness in pixels */
19
19
  thickness: number;
20
20
 
21
21
  /** Fill color */
@@ -11,7 +11,7 @@ export type PointCloud = {
11
11
  pose: Pose;
12
12
  /** Number of bytes between points in the `data` */
13
13
  point_stride: number;
14
- /** Fields in `data`. At least 2 coordinate fields from `x`, `y`, and `z` (all `float64`s) are required for each point's position; `red`, `green`, `blue`, and `alpha` (all `float64`s) are optional for customizing each point's color. */
14
+ /** Fields in `data`. At least 2 coordinate fields from `x`, `y`, and `z` are required for each point's position; `red`, `green`, `blue`, and `alpha` are optional for customizing each point's color. */
15
15
  fields: PackedElementField[];
16
16
  /** Point data, interpreted using `fields` */
17
17
  data: Uint8Array;
@@ -1 +1 @@
1
- {"version":3,"file":"PointCloud.d.ts","sourceRoot":"","sources":["PointCloud.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,+HAA+H;AAC/H,MAAM,MAAM,UAAU,GAAG;IACvB,+BAA+B;IAC/B,SAAS,EAAE,IAAI,CAAC;IAEhB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IAEjB,uEAAuE;IACvE,IAAI,EAAE,IAAI,CAAC;IAEX,mDAAmD;IACnD,YAAY,EAAE,MAAM,CAAC;IAErB,2OAA2O;IAC3O,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAE7B,6CAA6C;IAC7C,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"PointCloud.d.ts","sourceRoot":"","sources":["PointCloud.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,+HAA+H;AAC/H,MAAM,MAAM,UAAU,GAAG;IACvB,+BAA+B;IAC/B,SAAS,EAAE,IAAI,CAAC;IAEhB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IAEjB,uEAAuE;IACvE,IAAI,EAAE,IAAI,CAAC;IAEX,mDAAmD;IACnD,YAAY,EAAE,MAAM,CAAC;IAErB,yMAAyM;IACzM,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAE7B,6CAA6C;IAC7C,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
@@ -18,7 +18,7 @@ export type PointCloud = {
18
18
  /** Number of bytes between points in the `data` */
19
19
  point_stride: number;
20
20
 
21
- /** Fields in `data`. At least 2 coordinate fields from `x`, `y`, and `z` (all `float64`s) are required for each point's position; `red`, `green`, `blue`, and `alpha` (all `float64`s) are optional for customizing each point's color. */
21
+ /** Fields in `data`. At least 2 coordinate fields from `x`, `y`, and `z` are required for each point's position; `red`, `green`, `blue`, and `alpha` are optional for customizing each point's color. */
22
22
  fields: PackedElementField[];
23
23
 
24
24
  /** Point data, interpreted using `fields` */
@@ -8,7 +8,7 @@ export type PointsAnnotation = {
8
8
  timestamp: Time;
9
9
  /** Type of points annotation to draw */
10
10
  type: PointsAnnotationType;
11
- /** Points in 2D image coordinates */
11
+ /** Points in 2D image coordinates (pixels) */
12
12
  points: Point2[];
13
13
  /** Outline color */
14
14
  outline_color: Color;
@@ -16,7 +16,7 @@ export type PointsAnnotation = {
16
16
  outline_colors: Color[];
17
17
  /** Fill color */
18
18
  fill_color: Color;
19
- /** Stroke thickness */
19
+ /** Stroke thickness in pixels */
20
20
  thickness: number;
21
21
  };
22
22
  //# sourceMappingURL=PointsAnnotation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PointsAnnotation.d.ts","sourceRoot":"","sources":["PointsAnnotation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,uCAAuC;AACvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,8BAA8B;IAC9B,SAAS,EAAE,IAAI,CAAC;IAEhB,wCAAwC;IACxC,IAAI,EAAE,oBAAoB,CAAC;IAE3B,qCAAqC;IACrC,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,oBAAoB;IACpB,aAAa,EAAE,KAAK,CAAC;IAErB,uGAAuG;IACvG,cAAc,EAAE,KAAK,EAAE,CAAC;IAExB,iBAAiB;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB,uBAAuB;IACvB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"PointsAnnotation.d.ts","sourceRoot":"","sources":["PointsAnnotation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,uCAAuC;AACvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,8BAA8B;IAC9B,SAAS,EAAE,IAAI,CAAC;IAEhB,wCAAwC;IACxC,IAAI,EAAE,oBAAoB,CAAC;IAE3B,8CAA8C;IAC9C,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,oBAAoB;IACpB,aAAa,EAAE,KAAK,CAAC;IAErB,uGAAuG;IACvG,cAAc,EAAE,KAAK,EAAE,CAAC;IAExB,iBAAiB;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -13,7 +13,7 @@ export type PointsAnnotation = {
13
13
  /** Type of points annotation to draw */
14
14
  type: PointsAnnotationType;
15
15
 
16
- /** Points in 2D image coordinates */
16
+ /** Points in 2D image coordinates (pixels) */
17
17
  points: Point2[];
18
18
 
19
19
  /** Outline color */
@@ -25,6 +25,6 @@ export type PointsAnnotation = {
25
25
  /** Fill color */
26
26
  fill_color: Color;
27
27
 
28
- /** Stroke thickness */
28
+ /** Stroke thickness in pixels */
29
29
  thickness: number;
30
30
  };