Skip to content

MOSAIC simulator coupling #112

Answered by kschrab
CiscoFrisco asked this question in Q&A
May 28, 2021 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Hi Francisco,

as soon as the simulator you want to couple is not based on Java, you will need to implement a socket-based interface to exchange messages between the ambassador (Java class coupled directly to MOSAIC), and the simulator (your python code). Currently there are three simulators coupled to MOSAIC which use such interface: The SumoAmbassador uses the TraCI interface provided directly by SUMO. This won't help you because it is a protocol offered by SUMO itself, we just wrote the client code for that to use this API. For our other couplings of OMNeT++ and ns-3 we implemented an own socket interface based on Protobuf messages. You can find that in the
AbstractNetworkAmbassador cla…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@CiscoFrisco
Comment options

@CiscoFrisco
Comment options

@kschrab
Comment options

@CiscoFrisco
Comment options

@kschrab
Comment options

Answer selected by CiscoFrisco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants