-
Notifications
You must be signed in to change notification settings - Fork 138
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
Added messages for 2D Bounding Boxes to ros_gz_bridge #458
Conversation
ignition::msgs::Vector2d min_corner = box.min_corner(); | ||
ignition::msgs::Vector2d max_corner = box.max_corner(); | ||
|
||
auto id = ros_msg.results.at(0).hypothesis.class_id; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should check here if there is any values availables in the results
array.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick review! Should we maybe print a warning when there is nothing in the results array as it is a malformed message? If I am not mistaken, the id in the GZ message will be 0 if it is not explicitly set. Or is there any other way of conveying "None-ness" here?
…2DBox_V messages Signed-off-by: wittenator <[email protected]>
Integrated first batch of suggestions Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: wittenator <[email protected]>
Signed-off-by: wittenator <[email protected]>
Signed-off-by: wittenator <[email protected]>
Signed-off-by: wittenator <[email protected]>
Signed-off-by: wittenator <[email protected]> Co-authored-by: Alejandro Hernandez Cordero <[email protected]>
🎉 New feature
Closes #457
Summary
I added the bridging of Detection2D and Detection2DArray to AnnotatedAxisAligned2DBox and AnnotatedAxisAligned2DBox_V and vice versa.
Test it
WIP
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸