mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 10:03:58 +02:00
Use propagation loss
This commit is contained in:
parent
9fdd70166c
commit
582d6c58d0
6 changed files with 14 additions and 18 deletions
|
@ -83,17 +83,13 @@ IslPropagationLossModel::DoCalcRxPower (double txPowerDbm,
|
|||
Ptr<MobilityModel> a,
|
||||
Ptr<MobilityModel> b) const
|
||||
{
|
||||
|
||||
// TODO perform line-earth intersection (ray tracing or based on earth
|
||||
// curvature + distance)
|
||||
|
||||
// primitivec cut-of at 1000 km
|
||||
if (!GetLos (a, b))
|
||||
{
|
||||
return 0;
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double rxc = 0;//-m_variable->GetValue ();
|
||||
double rxc = 0.0;//-m_variable->GetValue ();
|
||||
NS_LOG_DEBUG ("attenuation coefficient="<<rxc<<"Db");
|
||||
return txPowerDbm + rxc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue