Simplify beam angle computation

This commit is contained in:
Tim Schubert 2020-08-28 00:43:47 +02:00
parent 1531696255
commit ae1d24ca80
5 changed files with 43 additions and 168 deletions

View file

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