mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 10:03:58 +02:00
Add missing propagation delay
This commit is contained in:
parent
fb9950c8cc
commit
9599470b0f
3 changed files with 13 additions and 8 deletions
|
@ -22,7 +22,7 @@ IslPropagationLossModel::GetTypeId (void)
|
|||
.AddConstructor<IslPropagationLossModel> ()
|
||||
.AddAttribute ("MaxDistance",
|
||||
"Cut-off distance for signal propagation",
|
||||
DoubleValue (1000.0),
|
||||
DoubleValue (2000.0),
|
||||
MakeDoubleAccessor (&IslPropagationLossModel::SetCutoffDistance,
|
||||
&IslPropagationLossModel::GetCutoffDistance),
|
||||
MakeDoubleChecker<double> ())
|
||||
|
@ -41,6 +41,8 @@ IslPropagationLossModel::~IslPropagationLossModel ()
|
|||
bool
|
||||
IslPropagationLossModel::GetLos (Ptr<MobilityModel> moda, Ptr<MobilityModel> modb)
|
||||
{
|
||||
// TODO get max distance with line-sphere intersection
|
||||
|
||||
// origin of LOS
|
||||
Vector3D oc = moda->GetPosition ();
|
||||
Vector3D bp = modb->GetPosition ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue