2

I defined a simple map in sumo with 5 edges and inserted it in my veins but I get this error

error in module (veins::obstaclecontrol) rsuexamplesenario.obstacles (id=2) at event #467, t=46:unable to use simpleObstacleShadowing: no obstacles have been added.

I don't know how to remove obstacles from config.xml and omnetpp.ini file in veins.

1
  • *.obstacles.debug = false *.obstacles.obstacles = xmldoc("config.xml", "//AnalogueModel[@type='SimpleObstacleShadowing']/obstacles") comment these in ini file and comment these in config file <AnalogueModel type="SimpleObstacleShadowing"> <parameter name="carrierFrequency" type="double" value="5.890e+9"/> <obstacles> <type id="building" db-per-cut="9" db-per-meter="0.4" /> </obstacles> </AnalogueModel> Jan 4, 2017 at 23:23

1 Answer 1

4

Comment out these lines in the ini file:

*.obstacles.debug = false
*.obstacles.obstacles = xmldoc("config.xml", "//AnalogueModel[@type='SimpleObstacleShadowing']/obstacles"‌​)

Comment out these lines in the config file:

<AnalogueModel type="SimpleObstacleShadowing">
   <parameter name="carrierFrequency" type="double" value="5.890e+9"/>
   <obstacles>
      <type id="building" db-per-cut="9" db-per-meter="0.4" />
   </obstacles>
</AnalogueModel>
0

Not the answer you're looking for? Browse other questions tagged or ask your own question.