Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify comment for size fields in bounding box messages #51

Merged
merged 2 commits into from
Jan 5, 2021

Conversation

Kukanani
Copy link
Collaborator

Closes #27. See that issue for details.

# The size (in pixels) of the bounding box surrounding the object relative
# to the pose of its center.
# The total size (in pixels) of the bounding box surrounding the
# object. The X and Y axes are relative to the center pose
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is "including rotation" mean?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that entire second sentence is necessary (and honestly is pretty confusing)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, it's a confusing wording.

It was an attempt to clarify that the size is not measured in "global frame" XY coordinates, but in "local frame" XY coordinates. In other words, the sizes given are not for an axis-aligned bounding box, but for the rotated bounding box.

How about "The X and Y axes are expressed in the frame defined by the the center field" (pulled directly from #27 discussion)? Or do you still feel it's confusing?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that you don't need to clarify this point, its pretty clear. What that ticket is commenting on is whether the size is full width or the width compared against the center point (like a radius vs diameter).

I think you just need the word "total" to clarify that point

@Kukanani Kukanani merged commit cb1beef into ros2 Jan 5, 2021
@Kukanani Kukanani deleted the clarify-bbox-size branch January 5, 2021 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants