We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfcc08e commit ed5004bCopy full SHA for ed5004b
PathPlanning/RRT/rrt.py
@@ -199,7 +199,7 @@ def draw_graph(self, rnd=None):
199
plt.plot(self.start.x, self.start.y, "xr")
200
plt.plot(self.end.x, self.end.y, "xr")
201
plt.axis("equal")
202
- plt.axis([-2, 15, -2, 15])
+ plt.axis([self.min_rand, self.max_rand, self.min_rand, self.max_rand])
203
plt.grid(True)
204
plt.pause(0.01)
205
0 commit comments