Giter Club home page Giter Club logo

Comments (11)

Endoman123 avatar Endoman123 commented on May 27, 2024 1

@minglethepringle I think the misconception is because of the second issue; the angle is actually measured counter-clockwise, until you get to ±90, ±180, ±270, ±360 or 0; they are (for some reason) the same angle. @sriharis123's point still stands in that this is a problem with the Pathfinder libraries and not the UI.

from pathplanner.

JaciBrunning avatar JaciBrunning commented on May 27, 2024 1

They are the same, there is no discrepancy between them - what the graph shows is what you'll get

from pathplanner.

sriharis123 avatar sriharis123 commented on May 27, 2024

I believe this is an issue with the libraries that are used by this generator (Jaci's Pathfinder), and not the generator itself. I may be wrong.

from pathplanner.

minglethepringle avatar minglethepringle commented on May 27, 2024

@sriharis123 I'm afraid that because of this issue, my trajectories are wrong :(

from pathplanner.

minglethepringle avatar minglethepringle commented on May 27, 2024

@Endoman123 it displays correctly on the graph, but do you think the trajectories would be generated accurately, even with the "incorrect" angle?

from pathplanner.

Endoman123 avatar Endoman123 commented on May 27, 2024

@minglethepringle AFAIK it should be fine; from my own personal experience with using the Pathfinder library, it has not affected the path.

Best way to check is to generate a CSV and look through the trajectory points in some kind of table viewer

from pathplanner.

minglethepringle avatar minglethepringle commented on May 27, 2024

@Endoman123 alrighty, thanks!

from pathplanner.

JaciBrunning avatar JaciBrunning commented on May 27, 2024

This is a bug due to how Pathfinder treats angles that sit in specific locations on a circle, depending on the slope angle between the waypoints. Basically, if you plot a straight line between two waypoints, the angle of either waypoint is calculated as an offset from this angle. This adds the constraint that you can't have a perpendicular exit angle, since this is tan(90) which is inf. This also means any angles over 90deg with respect to these two lines will not be signed.

This is being fixed in V2

from pathplanner.

minglethepringle avatar minglethepringle commented on May 27, 2024

@JacisNonsense Will my trajectories still be generated accurately, as shown by the generator?

from pathplanner.

JaciBrunning avatar JaciBrunning commented on May 27, 2024

What do you mean? The display in the generator is the trajectory, they are one in the same

from pathplanner.

minglethepringle avatar minglethepringle commented on May 27, 2024

@JacisNonsense Because I specified -90° instead of 90° because they displayed as the same; I don't want my trajectory to be shown pointing left and generated pointing right or something.

from pathplanner.

Related Issues (18)

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.