Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node duplication issue at the connection node of dubinShot and regular search #52

Open
yslenjoy opened this issue Jun 24, 2022 · 1 comment

Comments

@yslenjoy
Copy link

yslenjoy commented Jun 24, 2022

dubinsNodes[i].setPred(&start);

This line is at the condition that i equals to 0, it sets dubinsNodes[0]'s predecessor as start node. However, checking dubinsNodes[0] == start would get true, which means the first dubin node will equal to is predecessor, and it brings node duplication at the connection of dubinShot and regular search.

(I am using these node results for velocity profile generation, thus duplicated node definitely affect the angle calculation)

@karlkurzer
Copy link
Owner

Does this fix the issue?

x += Constants::dubinsStepSize;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants