mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 18:13:57 +02:00
Simplify beam angle computation
This commit is contained in:
parent
1531696255
commit
ae1d24ca80
5 changed files with 43 additions and 168 deletions
|
@ -168,7 +168,7 @@ MockChannel::Deliver (
|
|||
{
|
||||
// check if signal reaches destination
|
||||
rxPower = pLoss->CalcRxPower (txPower, srcMob, dstMob);
|
||||
if (rxPower <= -1000.0)
|
||||
if (rxPower < -900.0)
|
||||
{
|
||||
NS_LOG_WARN (this << "unable to reach destination " << dst->GetNode ()->GetId () << " from " << src->GetNode ()->GetId ());
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue