Giter Club home page Giter Club logo

corridor's People

Contributors

dspetrich avatar m-naumann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

corridor's Issues

Segfault with duplicate points in reference line

I just realized with one of our lanelet2 maps that instanciating a Corridor object results in a segmentation fault if the reference line contains duplicate points.
That is because the delta arc lengths in ClampedSplineMatrixL() become zero.

I don't know if you want to catch duplicate points or mention that assumption in the Readme or so, but I guess it helps letting you know that lanelet2 does not forbid duplicate points in a linestring, so that could happen to all people using lanelet2.
For me, I solved it by removing duplicates before creating the Corridor object.

How to access cubic spline of a corridor

First of all, thanks @dspetrich for this great library and your talk at our institute! I'm considering using it in my planning stack :)

After checking your headers and examples, I'm wondering:
What is the intended way to access the cubic spline reference line of a corridor, namely the reference_line_? Wouldn't it make sense to expose reference_line_ with a const getter function?

The application I have in mind is creating a corridor object from a given lanelet sequence and resample a smoothed version of the reference line, e.g. as an initialization path for trajectory planning, predition, โ€ฆ

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.