use installable shared lib for shared code
This commit is contained in:
@@ -3,13 +3,13 @@ import sys
|
||||
from random import randrange
|
||||
from typing import List, Dict
|
||||
|
||||
from shared import daf
|
||||
from shared.traffic_light_color import TrafficLightColor
|
||||
from shared.message_broker_wrapper import MBWrapper
|
||||
from dse_shared_libs import daf
|
||||
from dse_shared_libs.traffic_light_color import TrafficLightColor
|
||||
from dse_shared_libs.message_broker_wrapper import MBWrapper
|
||||
|
||||
# necessary to unpickle daf object
|
||||
from shared.target_velocity import TargetVelocity
|
||||
from shared.traffic_light_state import TrafficLightState
|
||||
from dse_shared_libs.target_velocity import TargetVelocity
|
||||
from dse_shared_libs.traffic_light_state import TrafficLightState
|
||||
|
||||
sys.modules['daf'] = daf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user