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

A* #2

Open
yisinyang opened this issue Mar 21, 2024 · 3 comments
Open

A* #2

yisinyang opened this issue Mar 21, 2024 · 3 comments

Comments

@yisinyang
Copy link

First of all, thank you for your contribution, but I would like to ask, how should I remove the green part? Thank you

@MortezaHagh
Copy link
Owner

MortezaHagh commented Mar 21, 2024

In the RUN_Astar.m script, change the following line:

https://github.com/MortezaHagh/PathPlanning-MATLAB/blob/efa8779d38ddb46dcd67ff0b232c17e24620ab3e/AStar/RUN_Astar.m#L60C1-L60C38

plotSolution(Sol.coords, Msol.coords)
to:
plotSolution(Sol.coords, [])

@yisinyang
Copy link
Author

Thanks for your help, I successfully eliminated it.
After testing, I had a second problem because I increased neighbors to 32 in createModelAstar.m and it worked smoothly. But there seems to be something wrong with his path. He will go directly through obstacles. I would like to ask you what else should I change? Because my programming and English are not very good, so please help me. ,Thanks.
testfor32

@yisinyang
Copy link
Author

Also, I would like to ask, does the "cost" that appears in the Command Window mean the length of the moving path?
Thank you

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

No branches or pull requests

2 participants