File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
130130enum 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
160161enum 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
222223message 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
You can’t perform that action at this time.
0 commit comments