mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-04-22 03:00:22 -04:00
update import for travis
This commit is contained in:
@@ -7,11 +7,18 @@ Path planning Sample Code with RRT with path smoothing
|
||||
"""
|
||||
|
||||
import math
|
||||
import os
|
||||
import random
|
||||
import sys
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
from rrt import RRT
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
try:
|
||||
from rrt import RRT
|
||||
except ImportError:
|
||||
raise
|
||||
|
||||
show_animation = True
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ sys.path.append(os.path.dirname(os.path.abspath(__file__)) +
|
||||
"/../RRT/")
|
||||
|
||||
try:
|
||||
from RRT.rrt import RRT
|
||||
from rrt import RRT
|
||||
except ImportError:
|
||||
raise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user