-
Notifications
You must be signed in to change notification settings - Fork 59
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
3 -> 4 #138
3 -> 4 #138
Conversation
Signed-off-by: Louise Poubel <[email protected]>
This failed consistently on all GitHub actions:
Is this on your radar, @iche033 ? Should we make those checks not required for |
It looks like Actions has been consistently green for I don't think this PR is introducing the issue though. Maybe an upstream change? I retriggered the |
after taking a closer look at the test failure, it's caused by loss of precision. The expected vs actual depth value now slightly exceeds the specified tolerance (1e-4). The only upstream PR that looks related is gazebosim/gz-rendering#296 that configures the depth texture resolution based on the number of lidar samples instead of a hardcoded 1024 value (to save memory). I did not expect this to affect precision though since depth buffers precision is mainly affected by near and far clip planes which had not changed. I reverted gazebosim/gz-rendering#296 locally and verified that depth precision didn't change so the test is passing locally as well. I think we can do one of the followings:
|
Spoke too soon! The value did change by a very small amount locally, by a diff of 6-e5, . So I think gazebosim/gz-rendering#296 is the reason for the test failure. So the tradeoff here is depth sensor accuracy vs gpu memory. The precision loss is very small so I'm leaning towards just relaxing the tolerance for that particular check in the gpu integration test |
SGTM 👍 |
Signed-off-by: Ian Chen <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-sensors4 #138 +/- ##
================================================
+ Coverage 75.86% 76.10% +0.23%
================================================
Files 23 23
Lines 2329 2390 +61
================================================
+ Hits 1767 1819 +52
- Misses 562 571 +9
Continue to review full report at Codecov.
|
CI green after c087c9a |
➡️ Forward port
Port ign-sensors3 to ign-sensors4
Branch comparison: ign-sensors4...ign-sensors3
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)