@@ -140,22 +140,25 @@ message ReadingsRequest {
140
140
}
141
141
142
142
message ReadingsResponse {
143
- // timestamp all sensor readings were taken
144
- google.protobuf.Timestamp captured_at = 1 ;
145
143
// map of camera sensor names to camera sensor readings returned from the
146
144
// camera at the captured_at time
147
- map <string , Reading > readings = 2 ;
145
+ // if there is only a single reading a key of empty string may be used to
146
+ // represent an unlabeled sensor reading
147
+ map <string , Reading > readings = 1 ;
148
+
149
+ // contains timestamp data
150
+ common.v1.ResponseMetadata response_metadata = 84260 ;
148
151
}
149
152
150
153
message Reading {
151
- // image_metadata is set if data contains an image, mutually exclusive with
154
+ // image_metadata is set if data contains an image, mutually exclusive with
152
155
// all other _metadata fields
153
156
ImageMetadata image_metadata = 1 ;
154
- // bitmap_metadata is set if data contains an bitmap, mutually exclusive with
157
+ // bitmap_metadata is set if data contains an bitmap, mutually exclusive with
155
158
// all other _metadata fields
156
159
BitmapMetadata bitmap_metadata = 2 ;
157
- // pointcloud_metadata is set if data contains an pointcloud, mutually exclusive with
158
- // all other _metadata fields
160
+ // pointcloud_metadata is set if data contains an pointcloud, mutually
161
+ // exclusive with all other _metadata fields
159
162
PointCloudMetadata pointcloud_metadata = 3 ;
160
163
161
164
// the reading's data
@@ -164,14 +167,14 @@ message Reading {
164
167
165
168
enum ImageType {
166
169
IMAGE_TYPE_UNSPECIFIED = 0 ;
167
- IMAGE_TYPE_IMAGE_JPEG = 1 ;
168
- IMAGE_TYPE_IMAGE_PNG = 2 ;
170
+ IMAGE_TYPE_JPEG = 1 ;
171
+ IMAGE_TYPE_PNG = 2 ;
169
172
}
170
173
171
174
enum BitmapType {
172
175
BITMAP_TYPE_UNSPECIFIED = 0 ;
173
- BITMAP_TYPE_BITMAP_VIAM_RAW_RGBA = 1 ;
174
- BITMAP_TYPE_BITMAP_VIAM_RAW_DEPTH = 2 ;
176
+ BITMAP_TYPE_VIAM_RAW_RGBA = 1 ;
177
+ BITMAP_TYPE_VIAM_RAW_DEPTH = 2 ;
175
178
}
176
179
177
180
enum PointCloudType {
@@ -191,16 +194,16 @@ message Dimensions {
191
194
uint32 y = 3 ;
192
195
}
193
196
194
- message BitmapMetadata {
197
+ message BitmapMetadata {
195
198
// type of the bitmap
196
- BitmapType type = 1 ;
199
+ BitmapType type = 1 ;
197
200
// pixel dimensions of the bitmap
198
201
Dimensions pixel_dimensions = 2 ;
199
202
}
200
203
201
- message PointCloudMetadata {
204
+ message PointCloudMetadata {
202
205
// type of the pointcloud
203
- PointCloudType type = 1 ;
206
+ PointCloudType type = 1 ;
204
207
}
205
208
206
209
message GetPropertiesRequest {
0 commit comments