15 #ifndef VISION_MSGS_BUILD_BBOX_H_
16 #define VISION_MSGS_BUILD_BBOX_H_
18 #include "vision_msgs/BoundingBox2D.h"
19 #include "vision_msgs/BoundingBox3D.h"
35 bbox.center.x = left + width/2.0;
36 bbox.center.y = top + height/2.0;
57 bbox.center.position.x = min_x + size_x/2.0;
58 bbox.center.position.y = min_y + size_y/2.0;
59 bbox.center.position.z = min_z + size_z/2.0;
60 bbox.center.orientation.w = 1;