@foxglove/schemas 1.6.0 → 1.6.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/internal/__snapshots__/exportTypeScriptSchemas.test.ts.snap +15 -7
- package/internal/schemas.d.ts.map +1 -1
- package/internal/schemas.js +6 -6
- package/internal/schemas.js.map +1 -1
- package/internal/schemas.ts +7 -6
- package/package.json +1 -1
- package/schemas/README.md +11 -7
- package/schemas/flatbuffer/CompressedImage.fbs +1 -1
- package/schemas/flatbuffer/CompressedVideo.fbs +9 -5
- package/schemas/flatbuffer/PointsAnnotation.fbs +1 -1
- package/schemas/jsonschema/CompressedImage.json +1 -1
- package/schemas/jsonschema/CompressedVideo.json +4 -4
- package/schemas/jsonschema/ImageAnnotations.json +1 -1
- package/schemas/jsonschema/PointsAnnotation.json +1 -1
- package/schemas/jsonschema/index.js +7 -7
- package/schemas/jsonschema/index.js.map +1 -1
- package/schemas/jsonschema/index.ts +7 -7
- package/schemas/omgidl/foxglove/CompressedImage.idl +1 -1
- package/schemas/omgidl/foxglove/CompressedVideo.idl +9 -5
- package/schemas/omgidl/foxglove/PointsAnnotation.idl +1 -1
- package/schemas/proto/foxglove/CompressedImage.proto +1 -1
- package/schemas/proto/foxglove/CompressedVideo.proto +9 -5
- package/schemas/proto/foxglove/PointsAnnotation.proto +1 -1
- package/schemas/ros1/CompressedImage.msg +1 -1
- package/schemas/ros1/CompressedVideo.msg +9 -5
- package/schemas/ros1/PointsAnnotation.msg +1 -1
- package/schemas/ros2/CompressedImage.msg +1 -1
- package/schemas/ros2/CompressedVideo.msg +9 -5
- package/schemas/ros2/PointsAnnotation.msg +1 -1
- package/schemas/typescript/CompressedImage.d.ts +1 -1
- package/schemas/typescript/CompressedImage.ts +1 -1
- package/schemas/typescript/CompressedVideo.d.ts +13 -5
- package/schemas/typescript/CompressedVideo.d.ts.map +1 -1
- package/schemas/typescript/CompressedVideo.ts +13 -5
- package/schemas/typescript/PointsAnnotation.d.ts +1 -1
- package/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
- package/schemas/typescript/PointsAnnotation.ts +1 -1
|
@@ -3,16 +3,20 @@
|
|
|
3
3
|
|
|
4
4
|
# Generated by https://github.com/foxglove/schemas
|
|
5
5
|
|
|
6
|
-
# Timestamp of
|
|
6
|
+
# Timestamp of video frame
|
|
7
7
|
builtin_interfaces/Time timestamp
|
|
8
8
|
|
|
9
|
-
# Frame of reference for the
|
|
9
|
+
# Frame of reference for the video.
|
|
10
|
+
#
|
|
11
|
+
# The origin of the frame is the optical center of the camera. +x points to the right in the video, +y points down, and +z points into the plane of the video.
|
|
10
12
|
string frame_id
|
|
11
13
|
|
|
12
|
-
# Compressed video frame data.
|
|
14
|
+
# Compressed video frame data.
|
|
15
|
+
#
|
|
16
|
+
# For packet-based video codecs this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Foxglove Studio does not support video streams that include B frames because they require lookahead.
|
|
13
17
|
uint8[] data
|
|
14
18
|
|
|
15
|
-
# Video format
|
|
19
|
+
# Video format.
|
|
16
20
|
#
|
|
17
|
-
# Supported values: `h264`
|
|
21
|
+
# Supported values: `h264` (Annex B formatted data only)
|
|
18
22
|
string format
|
|
@@ -29,7 +29,7 @@ foxglove_msgs/Point2[] points
|
|
|
29
29
|
# Outline color
|
|
30
30
|
foxglove_msgs/Color outline_color
|
|
31
31
|
|
|
32
|
-
# Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`.
|
|
32
|
+
# Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`, `LINE_STRIP` or `LINE_LOOP`.
|
|
33
33
|
foxglove_msgs/Color[] outline_colors
|
|
34
34
|
|
|
35
35
|
# Fill color
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
import { Time } from "./Time";
|
|
2
2
|
/** A single frame of a compressed video bitstream */
|
|
3
3
|
export type CompressedVideo = {
|
|
4
|
-
/** Timestamp of
|
|
4
|
+
/** Timestamp of video frame */
|
|
5
5
|
timestamp: Time;
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Frame of reference for the video.
|
|
8
|
+
*
|
|
9
|
+
* The origin of the frame is the optical center of the camera. +x points to the right in the video, +y points down, and +z points into the plane of the video.
|
|
10
|
+
*/
|
|
7
11
|
frame_id: string;
|
|
8
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Compressed video frame data.
|
|
14
|
+
*
|
|
15
|
+
* For packet-based video codecs this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Foxglove Studio does not support video streams that include B frames because they require lookahead.
|
|
16
|
+
*/
|
|
9
17
|
data: Uint8Array;
|
|
10
18
|
/**
|
|
11
|
-
* Video format
|
|
19
|
+
* Video format.
|
|
12
20
|
*
|
|
13
|
-
* Supported values: `h264`
|
|
21
|
+
* Supported values: `h264` (Annex B formatted data only)
|
|
14
22
|
*/
|
|
15
23
|
format: string;
|
|
16
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompressedVideo.d.ts","sourceRoot":"","sources":["CompressedVideo.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,qDAAqD;AACrD,MAAM,MAAM,eAAe,GAAG;IAC5B
|
|
1
|
+
{"version":3,"file":"CompressedVideo.d.ts","sourceRoot":"","sources":["CompressedVideo.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,qDAAqD;AACrD,MAAM,MAAM,eAAe,GAAG;IAC5B,+BAA+B;IAC/B,SAAS,EAAE,IAAI,CAAC;IAEhB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -5,19 +5,27 @@ import { Time } from "./Time";
|
|
|
5
5
|
|
|
6
6
|
/** A single frame of a compressed video bitstream */
|
|
7
7
|
export type CompressedVideo = {
|
|
8
|
-
/** Timestamp of
|
|
8
|
+
/** Timestamp of video frame */
|
|
9
9
|
timestamp: Time;
|
|
10
10
|
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Frame of reference for the video.
|
|
13
|
+
*
|
|
14
|
+
* The origin of the frame is the optical center of the camera. +x points to the right in the video, +y points down, and +z points into the plane of the video.
|
|
15
|
+
*/
|
|
12
16
|
frame_id: string;
|
|
13
17
|
|
|
14
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Compressed video frame data.
|
|
20
|
+
*
|
|
21
|
+
* For packet-based video codecs this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Foxglove Studio does not support video streams that include B frames because they require lookahead.
|
|
22
|
+
*/
|
|
15
23
|
data: Uint8Array;
|
|
16
24
|
|
|
17
25
|
/**
|
|
18
|
-
* Video format
|
|
26
|
+
* Video format.
|
|
19
27
|
*
|
|
20
|
-
* Supported values: `h264`
|
|
28
|
+
* Supported values: `h264` (Annex B formatted data only)
|
|
21
29
|
*/
|
|
22
30
|
format: string;
|
|
23
31
|
};
|
|
@@ -12,7 +12,7 @@ export type PointsAnnotation = {
|
|
|
12
12
|
points: Point2[];
|
|
13
13
|
/** Outline color */
|
|
14
14
|
outline_color: Color;
|
|
15
|
-
/** Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`. */
|
|
15
|
+
/** Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`, `LINE_STRIP` or `LINE_LOOP`. */
|
|
16
16
|
outline_colors: Color[];
|
|
17
17
|
/** Fill color */
|
|
18
18
|
fill_color: Color;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PointsAnnotation.d.ts","sourceRoot":"","sources":["PointsAnnotation.ts"],"names":[],"mappings":"AAGA,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,
|
|
1
|
+
{"version":3,"file":"PointsAnnotation.d.ts","sourceRoot":"","sources":["PointsAnnotation.ts"],"names":[],"mappings":"AAGA,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,oIAAoI;IACpI,cAAc,EAAE,KAAK,EAAE,CAAC;IAExB,iBAAiB;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -20,7 +20,7 @@ export type PointsAnnotation = {
|
|
|
20
20
|
/** Outline color */
|
|
21
21
|
outline_color: Color;
|
|
22
22
|
|
|
23
|
-
/** Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`. */
|
|
23
|
+
/** Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`, `LINE_STRIP` or `LINE_LOOP`. */
|
|
24
24
|
outline_colors: Color[];
|
|
25
25
|
|
|
26
26
|
/** Fill color */
|