From 70ef8b5f5c63e6ed33f4b8923cf31f2af2856c1b Mon Sep 17 00:00:00 2001 From: Roman Shtylman Date: Fri, 28 Jul 2023 16:57:04 -0700 Subject: [PATCH] Remove forced protobuf field number --- internal/schemas.ts | 1 - schemas/proto/foxglove/CompressedVideo.proto | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/internal/schemas.ts b/internal/schemas.ts index 36532d9..446eeca 100644 --- a/internal/schemas.ts +++ b/internal/schemas.ts @@ -805,7 +805,6 @@ const CompressedVideo: FoxgloveMessageSchema = { type: { type: "primitive", name: "string" }, description: "Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image.", - protobufFieldNumber: 4, }, { name: "data", diff --git a/schemas/proto/foxglove/CompressedVideo.proto b/schemas/proto/foxglove/CompressedVideo.proto index 5b33f80..9d61961 100644 --- a/schemas/proto/foxglove/CompressedVideo.proto +++ b/schemas/proto/foxglove/CompressedVideo.proto @@ -12,13 +12,13 @@ message CompressedVideo { google.protobuf.Timestamp timestamp = 1; // Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image. - string frame_id = 4; + string frame_id = 2; // Compressed video frame data. 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). - bytes data = 2; + bytes data = 3; // Video format // // Supported values: `h264` - string format = 3; + string format = 4; }