Code Monkey home page Code Monkey logo

Comments (2)

poggenhans avatar poggenhans commented on June 27, 2024

That Lanelet2 has no concept of roads is intentional. In many situations it is difficult to define what a road actually is, where it begins and where it ends. Close to or within intersections or roundabouts, for example. Adding roads as a "collection of Lanelets that can be treated like one" would raise further potential problems:

  • It must be checked whether the roads are actually consistent from the point of view of all possible participants (what if at some point the road is no longer passable for trucks?).
  • That there is a road connecting A and B does not mean that it is possible to get from the entry Lanelet to the exit Lanelet. Maybe it is not possible to change lanes in between.

Regarding performance: if a map is really big, I would argue that the bottleneck will not be the routing itself (which, by the way, has to be done only once per trip), but everything that happens before: the parsing, the map interpretation, the pre-calculation of graphs and so on. This problem has not yet been addressed (since we are still far from having such large maps), but it could be solved in a similar way to other digital maps (e.g. by cutting the map data into tiles and then putting them together along the probable route).

It might be an idea to use the road concept by internally merging parts of the Lanelet graph where nothing changes into "meta" nodes. But that would rather be an internal optimization that remains hidden from the user.

from lanelet2.

msmcconnell avatar msmcconnell commented on June 27, 2024

Fair points though I think for the second bullet you would define roads as connected only where the lanes allow a connection. A road (road segment might be a better term) would simply be a collection of lanes so the lanes would define "connects to" relationships.

However, I'm not trying to define a new feature here and just wanted to hear your approach. For this system to be picked up for autonomous driving, map size will certainly be a factor.
Thank you for the detailed response.

from lanelet2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.