riebl / artery

OMNeT++ V2X simulation framework for ETSI ITS-G5
GNU General Public License v2.0
204 stars 132 forks source link

connecting artery simulation scenario with the external v2x device #322

Closed Ambica2022 closed 8 months ago

Ambica2022 commented 9 months ago

Hi,

I would like to connect artery simulation scenario with the external v2x device, device's state of v2x stack is controlled with MQTT messages. Could you please help me with the initial steps to be done?

Regards, Ambica

riebl commented 9 months ago

You will most likely need a special event scheduler for this purpose to synchronize time between simulation and your external device. Have a look at the testbed scenario and its use of artery::TestbedScheduler. This should give you a good idea how to insert events in the simulation on behalf of your external device.

Ambica2022 commented 8 months ago

Thank you.

Regards, Ambica

Ambica2022 commented 8 months ago

Hi,

Can this be achieved with Transfusion service by changing remote_port and remote_ip parameters?The MQTT broker(remote_ip) running on v2x device can be reached via TCP on remote_port.

Thanks, Ambica