fix for 1211
This commit is contained in:
parent
5e8964ca0d
commit
db2f56a733
|
@ -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):
|
||||
|
|
|
@ -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 *
|
||||
|
|
Loading…
Reference in New Issue