I am working with obstacles in Veins 5.0. I looked into veins example and in config.xml, I found that the obtacle of type 'building' is defined as follows:
<type id="building" db-per-cut="9" db-per-meter="0.4" />
I am wondering what are the effects of db-per-cut
and db-per-meter
?
My scenario is a straight highway with one lane on each direction. There is an obstacle (of type polygon) between the opposite lanes (i.e., in the middle of the highway). There is only one vehicle moving in each direction, i.e., two vehicles moving in opposite direction meet at the center of highway. When I set db-per-cut="9"
and db-per-meter="0.4"
, then both vehicles are exchanging beacon messages. However, when I set db-per-cut="27"
and db-per-meter="1.2"
, then beacons are not received by any vehicle (achieving my objective).
Although I achieved what I wanted (i.e., vehicles should not exchange beacon if there is an obstacle between them) but I am curious to know how db-per-cut
and db-per-meter
work?
Does anyone has idea about db-per-cut
and db-per-meter
?