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

An exception occurred when drawing with bfs in "Search_2D" #25

Open
xioacd99 opened this issue Nov 6, 2021 · 1 comment
Open

An exception occurred when drawing with bfs in "Search_2D" #25

xioacd99 opened this issue Nov 6, 2021 · 1 comment

Comments

@xioacd99
Copy link

xioacd99 commented Nov 6, 2021

I downloaded the entire zip and unzipped it in PyCharm. When I tried bfs for testing, everything went well until plot.animation(path,visited,"Breadth-first Search (BFS)")

Then I created a breakpoint and found the statement that stops the program. It is plt.plot(self.xI[0], self.xI[1], "bs") in def plot_grid(self, name) : In Search_based_Planning/Search_2D/plotting.py.

There may be something I didn't realize, but can you give a solution or some help? thanks : )

my environment is as follows:

  1. Python 3.8.12 with acaconda
  2. matplotlib 3.4.3
  3. numpy 1.18.5

By the way, queue.py is best renamed to something like diy_queue.py, and queue.py will cause problems AttributeError: module'queue' has no attribute'queue'

@SquareSon
Copy link

I also have this problem. Rename queue.py to something else is a good solution.

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