View | Details | Raw Unified | Return to bug 2862
Collapse All | Expand All

(-)a/src/lte/helper/radio-environment-map-helper.cc (+2 lines)
 Lines 232-237   RadioEnvironmentMapHelper::DelayedInstall () Link Here 
232
      p.phy = CreateObject<RemSpectrumPhy> ();
232
      p.phy = CreateObject<RemSpectrumPhy> ();
233
      p.bmm = CreateObject<ConstantPositionMobilityModel> ();
233
      p.bmm = CreateObject<ConstantPositionMobilityModel> ();
234
      Ptr<MobilityBuildingInfo> buildingInfo = CreateObject<MobilityBuildingInfo> ();
234
      Ptr<MobilityBuildingInfo> buildingInfo = CreateObject<MobilityBuildingInfo> ();
235
      Ptr<Node> node = CreateObject<Node> ();
236
      p.bmm->AggregateObject (node); // operation usually done by MobilityHelper::Install
235
      p.bmm->AggregateObject (buildingInfo); // operation usually done by BuildingsHelper::Install
237
      p.bmm->AggregateObject (buildingInfo); // operation usually done by BuildingsHelper::Install
236
      p.phy->SetRxSpectrumModel (LteSpectrumValueHelper::GetSpectrumModel (m_earfcn, m_bandwidth));
238
      p.phy->SetRxSpectrumModel (LteSpectrumValueHelper::GetSpectrumModel (m_earfcn, m_bandwidth));
237
      p.phy->SetMobility (p.bmm);
239
      p.phy->SetMobility (p.bmm);

Return to bug 2862