forked from ros-perception/vision_msgs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] simpler BoundingBox2D (ros-perception#5)
* Bounding boxes: Switch back to center instead of origin * BoundingBox2D: use floats for size * Add pixel/meter warning to BoundingBox2D * Use RegionOfInterest instead of BoundingBox2D
- Loading branch information
Showing
3 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# Note: This message plans to move to geometry_msgs in the final implementation. | ||
# Note: This message *DOES NOT* plan to move to geometry_msgs in the final | ||
# implementation, because it uses pixels, not meters. | ||
|
||
# The 2D position (in pixels) and orientation of the bounding box origin. | ||
geometry_msgs/Pose2D origin | ||
# The 2D position (in pixels) and orientation of the bounding box center. | ||
geometry_msgs/Pose2D center | ||
|
||
# The size (in pixels) of the bounding box surrounding the object relative | ||
# to the pose of its origin | ||
uint32 size_x | ||
uint32 size_y | ||
# The size (in pixels) of the bounding box surrounding the object relative | ||
# to the pose of its center | ||
float size_x | ||
float size_y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Note: This message plans to move to geometry_msgs in the final implementation. | ||
|
||
# The 3D position and orientation of the bounding box origin | ||
geometry_msgs/Pose origin | ||
# The 3D position and orientation of the bounding box center | ||
geometry_msgs/Pose center | ||
|
||
# The size of the bounding box surrounding the object relative to the pose of | ||
# its origin | ||
# The size of the bounding box surrounding the object relative to the pose of | ||
# its center | ||
geometry_msgs/Vector3 size |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters