mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-09 02:23:57 +02:00
Fix LOS computation for ISL
This commit is contained in:
parent
bf59e66526
commit
0f49ceb4aa
10 changed files with 37 additions and 22 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "ns3/names.h"
|
||||
#include "ns3/assert.h"
|
||||
#include "ns3/string.h"
|
||||
#include "ns3/data-rate.h"
|
||||
|
||||
#include "../model/leo-mock-channel.h"
|
||||
#include "../model/leo-mock-net-device.h"
|
||||
|
@ -119,11 +120,11 @@ LeoChannelHelper::SetConstellationAttributes (double eirp,
|
|||
m_satDeviceFactory.Set ("RxLoss", DoubleValue (rxGain));
|
||||
m_satDeviceFactory.Set ("RxGain", DoubleValue (rxLoss));
|
||||
|
||||
m_gndDeviceFactory.Set ("DataRate", DoubleValue (dataRate));
|
||||
m_satDeviceFactory.Set ("DataRate", DoubleValue (dataRate));
|
||||
m_gndDeviceFactory.Set ("DataRate", DataRateValue (DataRate (dataRate)));
|
||||
m_satDeviceFactory.Set ("DataRate", DataRateValue (DataRate (dataRate)));
|
||||
|
||||
m_propagationLossFactory.Set ("ElevationAngle", DoubleValue (elevationAngle));
|
||||
m_propagationLossFactory.Set ("FreeSpaceLoss", DoubleValue (fspl));
|
||||
m_propagationLossFactory.Set ("FreeSpacePathLoss", DoubleValue (fspl));
|
||||
m_propagationLossFactory.Set ("AtmosphericLoss", DoubleValue (atmosphericLoss));
|
||||
m_propagationLossFactory.Set ("LinkMargin", DoubleValue (linkMargin));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue