Skip to content

Commit

Permalink
Added 3D bounding box message
Browse files Browse the repository at this point in the history
  • Loading branch information
Kukanani committed May 9, 2017
1 parent 6f45931 commit 6b0f13d
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ add_message_files(
Detection2DArray.msg
Detection3D.msg
Detection3DArray.msg
BoundingBox3D.msg
)

## Generate services in the 'srv' folder
Expand Down
5 changes: 5 additions & 0 deletions msg/BoundingBox3D.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# position and rotation of the bounding box
geometry_msgs/Pose pose

# size of the bounding box
geometry_msgs/Vector3 size
2 changes: 1 addition & 1 deletion msg/ClassifierInfo.msg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ string method

# ROS parameter name where the metadata database is stored in XML format.
# The exact information stored in the database is left up to the user.
String database_param
string database_param

# locally-incremented metadata database version. This counter is incremented
# each time the classifier responds to changes in the metadata database.
Expand Down
5 changes: 3 additions & 2 deletions msg/Detection2D.msg
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
# non-geometric results of detection.
vision_msgs/Classification2D classification

# The x/y position and (optional) rotation of the bounding box.
# The x/y position and (optional) rotation of the bounding box center.
geometry_msgs/Pose2D pose

# (Optional) The size of the bounding box surrounding the object. The center of
# the bounding box is the position of the detection point.
geometry_msgs/Vector2 bbox_size
float32 bbox_size_x
float32 bbox_size_y
5 changes: 4 additions & 1 deletion msg/Detection3D.msg
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ vision_msgs/Classification3D classification
# geometric center of the bounding box or the center of mass of the object.
# Note that this pose is not stamped, but frame information can be provided by
# setting classification.header.frame_id.
geometry_msgs/Pose pose
geometry_msgs/Pose pose

# (Optional) The bounding box in 3D space that surrounds the object.
vision_msgs/BoundingBox3D bbox
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<!-- Author tags are optional, multiple are allowed, one per tag -->
<!-- Authors do not have to be maintainers, but could be -->
<!-- Example: -->
<!-- <author email="jane.doe@example.com">Jane Doe</author> -->
<author email="adam.d.allevato@gmail.com">Adam Allevato</author>


<!-- The *_depend tags are used to specify dependencies -->
Expand Down

0 comments on commit 6b0f13d

Please sign in to comment.