fix for 1211

This commit is contained in:
German Ros 2019-02-12 17:44:07 -08:00
parent 5e8964ca0d
commit db2f56a733
2 changed files with 9 additions and 1 deletions

View File

@ -12,7 +12,7 @@ import numpy as np
import networkx as nx
import carla
from local_planner import RoadOption
from agents.navigation.local_planner import RoadOption
class GlobalRoutePlanner(object):

View File

@ -73,6 +73,14 @@ try:
except IndexError:
pass
# ==============================================================================
# -- add PythonAPI for release mode --------------------------------------------
# ==============================================================================
try:
sys.path.append(glob.glob('PythonAPI')[0])
except IndexError:
pass
import carla
from carla import ColorConverter as cc
from agents.navigation.roaming_agent import *