Comments (11)
@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.
They are the same, there is no discrepancy between them - what the graph shows is what you'll get
from pathplanner.
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.
@sriharis123 I'm afraid that because of this issue, my trajectories are wrong :(
from pathplanner.
@Endoman123 it displays correctly on the graph, but do you think the trajectories would be generated accurately, even with the "incorrect" angle?
from pathplanner.
@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.
@Endoman123 alrighty, thanks!
from pathplanner.
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.
@JacisNonsense Will my trajectories still be generated accurately, as shown by the generator?
from pathplanner.
What do you mean? The display in the generator is the trajectory, they are one in the same
from pathplanner.
@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)
- Add other natives to Pathfinder library HOT 2
- FXUI sizing varies on different resolutions/monitors HOT 1
- Opening Previously Known Directory [Enhancement] HOT 1
- Add ability to deploy trajectory files directly to a target via SSH HOT 1
- Add ability to move waypoints on the graph HOT 4
- Draw robot perimeter
- Building via gradle causes Jar file to be 1KB HOT 5
- Error :/ HOT 1
- Not Working on Mac properly
- Error While Generating Path HOT 6
- Implement Command-Line Interface
- Field overlay HOT 1
- Changes to parameters don't regenerate path HOT 1
- TableView highlighting does not work after loading in project
- Add ability to change colors
- "New" function is broken HOT 1
- Add ability to convert bot files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pathplanner.