-
Notifications
You must be signed in to change notification settings - Fork 295
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
Adjust pose decimals based on element width #1089
Conversation
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Codecov Report
@@ Coverage Diff @@
## ign-gazebo3 #1089 +/- ##
===============================================
+ Coverage 77.56% 77.85% +0.28%
===============================================
Files 208 221 +13
Lines 11385 12687 +1302
===============================================
+ Hits 8831 9877 +1046
- Misses 2554 2810 +256
Continue to review full report at Codecov.
|
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.
I can't reproduce the original issue on my machine, because all digits fit with the inspector's minimum width. I tried changing the display resolution and still couldn't reproduce it... But it looks good to me.
My only request would be to do the same for Vector3d
:
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Done in 0ce4e5c |
Signed-off-by: Nate Koenig <nate@openrobotics.org> Signed-off-by: Louise Poubel <louise@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Louise Poubel <louise@openrobotics.org> Signed-off-by: William Lew <WilliamMilesLew@gmail.com>
Signed-off-by: Nate Koenig nate@openrobotics.org
🦟 Bug fix
Summary
Pose values would be truncated because they didn't fit in the spin box. This PR adjusts the number of decimals based on the available width.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge