Code Monkey home page Code Monkey logo

Comments (2)

whyekit-motional avatar whyekit-motional commented on July 18, 2024

@AngelosSE curves can be composed using multiple arcs, where each arc is from a circle of a certain radius R and intersecting angle D. Here's a visualization of a single arc (credits to here):

Now, you could use different arcs to compose different curves, like so (credits to here once again):

Applying this concept to the visualization generated by your code snippet:

You can see that the lane is made up of two arcs, where the red one is of radius 13.47 m and the blue one is of radius 10.22 m

from nuscenes-devkit.

AngelosSE avatar AngelosSE commented on July 18, 2024

I understand your explanation, but the curves in my plot do not look like arcs from a circle. For example, if one traverses the red curve starting from the red dot, then tangent is first changing and then it becomes approximately constant.

Perhaps there is some settings in my plotting. I have tried using ax.set_aspect('equal') but I get the same result.

Is it possible to determine the center point of a circle? Then one can plot also the circles corresponding to the segments.

from nuscenes-devkit.

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.