Use explicit flatbuffer IDs in y2017 and newer.
Non-explicit ids are risky. We've seen backwards incompatible
changes...
Change-Id: Id6ceebe031ac80430191f367635d0e951c3d2cbc
diff --git a/y2020/vision/vision.fbs b/y2020/vision/vision.fbs
index 17dc4a4..e89a181 100644
--- a/y2020/vision/vision.fbs
+++ b/y2020/vision/vision.fbs
@@ -10,13 +10,13 @@
// * Order: row major (index 0 is upper left, index 1 is to its right)
table CameraImage {
// The number of rows in the image.
- rows:int;
+ rows:int32 (id: 0);
// The number of columns in the image.
- cols:int;
+ cols:int32 (id: 1);
// The image data.
- data:[ubyte];
+ data:[ubyte] (id: 2);
// Timestamp when the frame was captured. This is the end-of-frame timestamp.
- monotonic_timestamp_ns:long;
+ monotonic_timestamp_ns:int64 (id: 3);
}
root_type CameraImage;