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 networkx as nx
import carla import carla
from local_planner import RoadOption from agents.navigation.local_planner import RoadOption
class GlobalRoutePlanner(object): class GlobalRoutePlanner(object):

View File

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