python_motion_planning icon indicating copy to clipboard operation
python_motion_planning copied to clipboard

Repeated subplots in plot.py file

Open kevinqyh0827 opened this issue 4 months ago • 0 comments

Hi, there,

When I was running the example of RRT* star methods, the visualization result has the problem that multiple axes exist at the same time as shown below. 1708550523564

To fix that, a possible solution is:

  1. Locate the plotEnv() function at /utlils/plot/plot.py
  2. Comment line 54 since it creates another subplot.
  3. Change the "ax" from line 57, 66, 75 to "self.ax" to reuse the already existed subplots.

kevinqyh0827 avatar Feb 21 '24 21:02 kevinqyh0827