Skip to content

Commit

Permalink
Cave Circuit Communication Adjustment (#441)
Browse files Browse the repository at this point in the history
* Adjustment of fading exponent from 2.5 to 1.5 for the cave circuit.

* Add fading exponent to cloudsim launch files

Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>
  • Loading branch information
acschang and Nate Koenig authored Jun 3, 2020
1 parent d6d35eb commit d62b4ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion subt_ign/launch/cave_circuit.ign
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@

<range_config>
<max_range>500.0</max_range>
<fading_exponent>2.5</fading_exponent>
<fading_exponent>1.5</fading_exponent>
<L0>40</L0>
<sigma>10.0</sigma>
</range_config>
Expand Down
7 changes: 6 additions & 1 deletion subt_ign/launch/cloudsim_sim.ign
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
end
end
$commsFadingExponent = 2.5
if $circuit == "cave"
$commsFadingExponent = 1.5
end
# spawn world offset
if $circuit == "urban"
spawnWorldXPos = 6
Expand Down Expand Up @@ -569,7 +574,7 @@

<range_config>
<max_range>500.0</max_range>
<fading_exponent>2.5</fading_exponent>
<fading_exponent><%= $commsFadingExponent %></fading_exponent>
<L0>40</L0>
<sigma>10.0</sigma>
</range_config>
Expand Down

0 comments on commit d62b4ab

Please sign in to comment.