Skip to content

Commit 94b8309

Browse files
BruceVonKMichelle Sintov
authored andcommitted
Committing changes to proto for removing objectfamily (#109)
1 parent d531944 commit 94b8309

3 files changed

Lines changed: 43 additions & 40 deletions

File tree

anki_vector/messaging/cube.proto

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ enum ObjectType
121121
// Light Cube (a.k.a. Active Block)
122122
//
123123
BLOCK_LIGHTCUBE1 = 2;
124+
125+
CHARGER_BASIC = 6;
124126

125127
FIRST_CUSTOM_OBJECT_TYPE = 15;
126-
127-
OBJECT_TYPE_COUNT = 38;
128128
}
129129

130130
enum CustomType
@@ -157,6 +157,7 @@ enum CustomType
157157
CUSTOM_TYPE_COUNT = 20;
158158
}
159159

160+
// Note: ObjectFamily is deprecated and will be removed in future releases
160161
enum ObjectFamily {
161162
option allow_alias = true;
162163

@@ -217,11 +218,11 @@ message ObjectTapped {
217218
}
218219

219220
// RobotObservedObject for signaling that an object
220-
// with specified ID/Type/Family was seen at a particular location in the image
221+
// with specified ID/Type was seen at a particular location in the image
221222
// and the world
222223
message RobotObservedObject {
223224
uint32 timestamp = 1;
224-
ObjectFamily object_family = 2;
225+
ObjectFamily object_family = 2 [deprecated=true]; // ObjectFamily is deprecated. Use ObjectType instead to reason about groupings of objects.
225226
ObjectType object_type = 3;
226227
int32 object_id = 4; // signed to match U2G::PickAndPlaceObject which has the option to have objectID<0
227228
CladRect img_rect = 5; // position in image coords

0 commit comments

Comments
 (0)