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

Purpose a Manager/class that builds up the Road Geometry out of parsed information #34

Closed
francocipollone opened this issue Oct 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@francocipollone
Copy link
Contributor

Summary

At the moment https://github.com/maliput/maliput_osm is an example on how maliput_sparse could be used.

maliput_osm contains:

  • A RoadGeometryBuilder entity that uses the maliput_sparse's builder api for creating the RoadGeometry out of some structs that contains the obtained information of the underlying format. (maliput_osm::osm::Lane, maliput_osm::osm::Segment).
  • A OSMManager entity, that parses the OSM files and fills up a collection of maliput_osm::osm::Segment with that information.

Note:

  1. Both maliput_osm::osm::Lane and maliput_osm::osm::Segment are not backend dependant.
  2. RoadGeometryBuilder is not backend dependant.

Proposal

We could make them part of maliput_sparse.

  1. RoadGeometry builder for creating the RoadGeometry using the builder api and the segment structs.
  2. For the Manager/Parser we could define an API that should be implemented by the backend.
    • Manager with a Parser that is injected by the backend.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant