Set corret data rate unit

This commit is contained in:
Tim Schubert 2020-08-19 16:42:36 +02:00
parent df97dfa3e4
commit 98468c4857
6 changed files with 14 additions and 14 deletions

View file

@ -107,7 +107,7 @@ LeoChannelHelper::SetConstellationAttributes (double eirp,
double fspl,
double atmosphericLoss,
double linkMargin,
double dataRate,
std::string dataRate,
double rxGain,
double rxLoss)
{
@ -120,8 +120,8 @@ LeoChannelHelper::SetConstellationAttributes (double eirp,
m_satDeviceFactory.Set ("RxLoss", DoubleValue (rxLoss));
m_satDeviceFactory.Set ("RxGain", DoubleValue (rxGain));
m_gndDeviceFactory.Set ("DataRate", DataRateValue (DataRate (dataRate)));
m_satDeviceFactory.Set ("DataRate", DataRateValue (DataRate (dataRate)));
m_gndDeviceFactory.Set ("DataRate", StringValue (dataRate));
m_satDeviceFactory.Set ("DataRate", StringValue (dataRate));
m_propagationLossFactory.Set ("ElevationAngle", DoubleValue (elevationAngle));
m_propagationLossFactory.Set ("FreeSpacePathLoss", DoubleValue (fspl));