0

Usually when integrating SUMO, VEINS and OMNeT ++ is shown in OMNeT ++ the polygons of buildings that are close to the streets, allowing to see the outline of the streets.

However, Manhattan-type models do not have polygons that outline the streets.

Would it be possible using another feature to view the grid of a Manhattan model in OMNeT ++?

campos
  • 153
  • 2
  • 12
  • In my project, as I use parked cars, I can change the color of parked vehicles to perceive the road. To change the color of the parked car just use "getParkingState". – campos Oct 30 '19 at 19:39
  • An example code in handlePositionUpdate is: `if (mobility->getParkingState()) { findHost()->getDisplayString().setTagArg("i", 1, "darkcyan"); }` – campos Oct 30 '19 at 19:41
  • You could use TraCI commands to get the streets from SUMO, then use the annotation manager to draw them. – Christoph Sommer Nov 03 '19 at 09:20
  • If you cannot see buildings in the OMNeT++ GUI in some simulations, but can see them in others, most likely these buildings are not known to the simulation. This will be a problem if you care about their impact on radio propagation – Christoph Sommer Nov 03 '19 at 09:23
  • Is it possible to generate polygons in SUMO even without importing a map? – campos Nov 03 '19 at 13:30
  • Yes, this is possible. – Christoph Sommer Nov 04 '19 at 08:34

0 Answers0