new folder structure
This commit is contained in:
parent
4c0a279cfa
commit
1ca9e31ae8
|
@ -14,7 +14,7 @@ import math
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
import carla
|
import carla
|
||||||
from tools.misc import distance_vehicle, get_speed
|
from agents.tools.misc import distance_vehicle, get_speed
|
||||||
|
|
||||||
class VehiclePIDController():
|
class VehiclePIDController():
|
||||||
"""
|
"""
|
|
@ -12,8 +12,8 @@ from enum import Enum
|
||||||
from collections import deque
|
from collections import deque
|
||||||
import random
|
import random
|
||||||
|
|
||||||
from navigation.controller import VehiclePIDController
|
from agents.navigation.controller import VehiclePIDController
|
||||||
from tools.misc import distance_vehicle, draw_waypoints
|
from agents.tools.misc import distance_vehicle, draw_waypoints
|
||||||
|
|
||||||
class RoadOption(Enum):
|
class RoadOption(Enum):
|
||||||
"""
|
"""
|
|
@ -12,8 +12,8 @@ The agent also responds to traffic lights. """
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
import carla
|
import carla
|
||||||
from navigation.local_planner import LocalPlanner
|
from agents.navigation.local_planner import LocalPlanner
|
||||||
from tools.misc import is_within_distance_ahead
|
from agents.tools.misc import is_within_distance_ahead
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ except ImportError:
|
||||||
|
|
||||||
import carla
|
import carla
|
||||||
from carla import ColorConverter as cc
|
from carla import ColorConverter as cc
|
||||||
from carla.navigation.roaming_agent import *
|
from agents.navigation.roaming_agent import *
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# -- World ---------------------------------------------------------------
|
# -- World ---------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue