Search code examples
omnet++

Sumo and OMNET++


I just edited my map and can run it with 100 cars using SUMO. Now I want to launch this map and these cars with omnet++. I had created a launch file and going to ini file and set the launch file

Config DSRUU-City]
description = "DSRUU"
*.numHosts = 100
*.manager.launchConfig = xmldoc("..\\_maps\\Mapsprojec\\City.launchd.xml")
*.**.nic.phy80211p.decider = xmldoc("..\\_maps\\Mapsprojec\\config.xml")
*.**.nic.phy80211p.analogueModels = xmldoc("..\\_maps\\Mapsprojec\\config.xml")
*.playgroundSizeX =3000
*.playgroundSizeY =3000
*.playgroundSizeZ = 50m
**.roiRects = "0,100-2200,2000"#x,y-X,Y

My problem is, When I run the simulation, I can't see the cars as nodes inside the omnet++ although I can see them in the sumo gui at the same time. So how I can solve this issue? How do I see the cars as nodes in the omnet++ and as cars in the sumo ? Thanks in advance ...


Solution

  • Make sure to enable the drawing of annotations in your omnetpp.ini by adding (or modifying) the line:

    *.annotations.draw = true