Sam1324
Sam1324

Reputation: 380

Switching off ObstacleShadowing in veins

I was working on veins 4.4 then moved to the latest version. I was facing the issue of This link so commented out that code. Now I do not want Obstacle shadowing how I can do that? Removing

<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>

from config.xml and obstacle definition from .ini file enough? Will there be any side effect?

Upvotes: 2

Views: 491

Answers (1)

Christoph Sommer
Christoph Sommer

Reputation: 6943

You are absolutely correct: after removing this part of the channel configuration, obstacle shadowing will no longer be taken into account.

Note you might even want to alter the channel configuration further, to better capture the type of channel in your scenario.

Upvotes: 5

Related Questions