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 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):
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
Loading…
Reference in New Issue