From aab491106bfc2cc040869ee7e5d7e7d2a528200c Mon Sep 17 00:00:00 2001 From: dan-du-car Date: Wed, 26 Jul 2023 14:23:55 +0000 Subject: [PATCH] address comms --- configuration/amd64/docker-compose.yml | 11 ----------- .../scripts/send_sim_detected_object_udp.py | 18 +++++++++--------- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/configuration/amd64/docker-compose.yml b/configuration/amd64/docker-compose.yml index d3ba706d9..6b5188297 100755 --- a/configuration/amd64/docker-compose.yml +++ b/configuration/amd64/docker-compose.yml @@ -38,17 +38,6 @@ services: - db environment: - MYSQL_PASSWORD=/run/secrets/mysql_password - - SIMULATION_MODE=true - - SIMULATION_IP=127.0.0.1 - - SIMULATION_REGISTRATION_PORT=6767 - - LOCAL_IP=127.0.0.1 - - TIME_SYNC_TOPIC=time_sync - - TIME_SYNC_PORT=7575 - - SIM_V2X_PORT=5757 - - SIM_INTERACTION_PORT=7576 - - V2X_PORT=8686 - - INFRASTRUCTURE_ID=1 - - KAFKA_BROKER_ADDRESS=127.0.0.1:9092 secrets: - mysql_password volumes: diff --git a/src/v2i-hub/CDASimAdapter/scripts/send_sim_detected_object_udp.py b/src/v2i-hub/CDASimAdapter/scripts/send_sim_detected_object_udp.py index e07b0f8a5..e90eaf9c3 100755 --- a/src/v2i-hub/CDASimAdapter/scripts/send_sim_detected_object_udp.py +++ b/src/v2i-hub/CDASimAdapter/scripts/send_sim_detected_object_udp.py @@ -33,21 +33,21 @@ def generate_sim_external_object(): }, "positionCovariance" : [12,12,2, 34, 34, 55], "velocity": { - "x": 1.0, - "y": 2.5, - "z": 1.1 + "x": 1.0, + "y": 2.5, + "z": 1.1 }, "velocityCovariance" : ["a11", "a12", "a13", "a21", "a22", "a23", "a31", "a32", "a33"], "angularVelocity":{ - "x": 1.0, - "y": 2.5, - "z": 1.1 + "x": 1.0, + "y": 2.5, + "z": 1.1 }, "angularVelocityCovariance" : ["a11", "a12", "a13", "a21", "a22", "a23", "a31", "a32", "a33"], "size": { - "length": 0.1, - "width": 0.4, - "height": 1.5 + "length": 0.1, + "width": 0.4, + "height": 1.5 } } }