use installable shared lib for shared code
This commit is contained in:
@@ -6,10 +6,9 @@ from datetime import datetime
|
||||
from circuitbreaker import circuit
|
||||
|
||||
# Default switching time in seconds
|
||||
from shared import traffic_light_color
|
||||
from shared.traffic_light_color import TrafficLightColor
|
||||
from shared.message_broker_wrapper import MBWrapper
|
||||
from shared.traffic_light_state import TrafficLightState
|
||||
from dse_shared_libs.traffic_light_color import TrafficLightColor
|
||||
from dse_shared_libs.message_broker_wrapper import MBWrapper
|
||||
from dse_shared_libs.traffic_light_state import TrafficLightState
|
||||
|
||||
SWITCHING_TIME = 500
|
||||
# Scale speed of switching by factor x
|
||||
|
||||
@@ -7,12 +7,12 @@ from typing import Union
|
||||
import geopy
|
||||
import geopy.distance
|
||||
from circuitbreaker import circuit
|
||||
from shared.daf import DAF
|
||||
from dse_shared_libs.daf import DAF
|
||||
|
||||
from shared.message_broker_wrapper import MBWrapper
|
||||
from dse_shared_libs.message_broker_wrapper import MBWrapper
|
||||
|
||||
# Lat, Long
|
||||
from shared.target_velocity import TargetVelocity
|
||||
from dse_shared_libs.target_velocity import TargetVelocity
|
||||
|
||||
STARTING_POINT = geopy.Point(48.853, 2.349)
|
||||
# in km/h
|
||||
|
||||
Reference in New Issue
Block a user