AtsushiSakai / PythonRobotics

Python sample codes for robotics algorithms.
https://atsushisakai.github.io/PythonRobotics/
Other
23.33k stars 6.54k forks source link

PathPlanning/InformedRRTStar/informed_rrt_star.py: Fix hard coded graph axis #982

Closed wltjr closed 8 months ago

wltjr commented 8 months ago

Replacing the hard coded graph axis values with class variables

Reference issue

What does this implement/fix?

This replaces hard coded axis values of -2, 15 with self.min_rand, self.max_rand class variables when drawing the graph

Additional information

This makes the function re-usable for varying sized graphs, beyond the example case in the main function

CheckList