Closed Ryanf55 closed 3 months ago
@ahcorde Would you be able to provide another round of feedback on the functionality of this PR. I'm looking for some direction on how to best contribute my time to Gazebo's support of terrain data. We can use Gazebo for outdoor 3D aerial robotics applications that the aerial working group is currently working on.
Attention: Patch coverage is 90.90909%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 80.54%. Comparing base (
2d06bf7
) to head (7e8b197
). Report is 26 commits behind head on gz-common5.
Files | Patch % | Lines |
---|---|---|
geospatial/src/Dem.cc | 90.90% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Also, please merge from gz-common5
to get the latest changes that fix CI failures.
@Ryanf55 we are now in Feature freeze for Gazebo Ionic. Since PR is already open, I've applied the beta
label which means it's slotted for the Ionic release if we can get it merged before 08/28/2024. Do you think that's feasible? If not, please let me know and I'll remove the beta
label.
Thanks for the heads up, I'll do my best to make time over the next 2 days.
gz-common5
Rebase complete.
š New feature
Closes #596
Summary
vsizip
andvsicurl
that aren't true filepaths.Test it
I added a unit test which is self explanatory.
I also hacked a demo with one SRTMHGT file, and confirmed it can load. Gazebo does not perform well with this terrain size (3601 x 3601), but it does load. SDF needs ability to truncate the size of the heightmap in order to be usable, or perhaps decimate the data resolution.
Open Questions
How do we want the logs to look? Perhaps queue the errors and only report them if the DEM loading fails.
Do we need to solve user-configurable origin to load? The previous implementation loaded everything in the raster, so there was nothing to configure
Should we rely on ArduPilot's terrain server being up for the test, or generate a large in-memory dataset for testing large rasters?
Future Improvements
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.