update RRT 2D

This commit is contained in:
zhm-real
2020-06-24 13:00:25 -07:00
parent 0f3c445664
commit edda55d524
5 changed files with 33 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
<component name="ProjectDictionaryState">
<dictionary name="zhou">
<words>
<w>huiming</w>
<w>zhou</w>
</words>
</dictionary>
</component>
+7 -1
View File
@@ -1,3 +1,9 @@
"""
Environment for rrt_2D
@author: huiming zhou
"""
class Env: class Env:
def __init__(self): def __init__(self):
self.x_range = (0, 50) self.x_range = (0, 50)
@@ -42,4 +48,4 @@ class Env:
(45, 20, 2) (45, 20, 2)
] ]
return obs_cir return obs_cir
@@ -1,3 +1,9 @@
"""
Plotting tools for RRT_2D
@author: huiming zhou
"""
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import matplotlib.patches as patches import matplotlib.patches as patches
+6
View File
@@ -1,3 +1,9 @@
"""
RRT_2D
@author: huiming zhou
"""
from rrt_2D import env from rrt_2D import env
from rrt_2D import plotting from rrt_2D import plotting
@@ -1,3 +1,9 @@
"""
RRT_star 2D
@author: huiming zhou
"""
from rrt_2D import env from rrt_2D import env
from rrt_2D import plotting from rrt_2D import plotting