propagation: m_percType3Vehicles is a percentage

This commit is contained in:
Tommaso Zugno
2021-01-29 16:25:49 +01:00
committed by Tom Henderson
parent 4b60c4d6f0
commit ef7ea11aec

View File

@@ -99,7 +99,7 @@ ThreeGppV2vUrbanPropagationLossModel::GetAdditionalNlosvLoss (double distance3D,
double blockerHeight = 0;
double mu_a = 0;
double sigma_a = 0;
double randomValue = m_uniformVar->GetValue ();
double randomValue = m_uniformVar->GetValue () * 100.0;
if (randomValue < m_percType3Vehicles)
{
// vehicles of type 3 have height 3 meters