mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 14:48:02 -05:00
add
This commit is contained in:
@@ -44,8 +44,17 @@ This script is a path planning code with RRT \*
|
||||
|
||||
Path planning for a car robot with RRT and dubins path planner.
|
||||
|
||||
|
||||
## RRTStarCar
|
||||
|
||||

|
||||
|
||||
Path planning for a car robot with RRT\* and ducings path planner.
|
||||
|
||||
|
||||
## Dubins path planning
|
||||
|
||||
|
||||
A sample code for Dubins path planning.
|
||||
|
||||
[Dubins path - Wikipedia](https://en.wikipedia.org/wiki/Dubins_path)
|
||||
|
||||
@@ -60,10 +60,9 @@ class RRT():
|
||||
self.nodeList.append(newNode)
|
||||
self.rewire(newNode, nearinds)
|
||||
|
||||
if animation:
|
||||
if animation and i % 5 == 0:
|
||||
self.DrawGraph(rnd=rnd)
|
||||
if i % 5 == 0:
|
||||
matplotrecorder.save_frame() # save each frame
|
||||
matplotrecorder.save_frame() # save each frame
|
||||
|
||||
# generate coruse
|
||||
lastIndex = self.get_best_last_index()
|
||||
|
||||
Reference in New Issue
Block a user