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 b14a97f commit 33d62afCopy full SHA for 33d62af
PathPlanning/RRT/rrt_with_pathsmoothing.py
@@ -7,11 +7,18 @@
7
"""
8
9
import math
10
+import os
11
import random
12
+import sys
13
14
import matplotlib.pyplot as plt
15
-from rrt import RRT
16
+sys.path.append(os.path.dirname(os.path.abspath(__file__)))
17
+
18
+try:
19
+ from rrt import RRT
20
+except ImportError:
21
+ raise
22
23
show_animation = True
24
PathPlanning/RRTStar/rrt_star.py
@@ -17,7 +17,7 @@
"/../RRT/")
try:
- from RRT.rrt import RRT
except ImportError:
raise
0 commit comments