update import for travis

This commit is contained in:
Atsushi Sakai
2019-07-15 12:13:53 +09:00
parent b14a97f153
commit 33d62af0dd
2 changed files with 9 additions and 2 deletions

View File

@@ -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

View File

@@ -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