# HG changeset patch # User Nicola Baldo # Date 1336734337 -7200 # Node ID 2aec19a85c73c1fd60c3208ad99414281acae0bd # Parent e1cbf693c71dfebbd5896fc90b7ed705ea5cc45a fixed homeUe position allocation in lena-dual-stripe diff -r e1cbf693c71d -r 2aec19a85c73 src/lte/examples/lena-dual-stripe.cc --- a/src/lte/examples/lena-dual-stripe.cc Fri May 11 13:04:51 2012 +0200 +++ b/src/lte/examples/lena-dual-stripe.cc Fri May 11 13:05:37 2012 +0200 @@ -222,6 +222,8 @@ cmd.AddValue ("simTime", "Total duration of the simulation [s]", simTime); cmd.AddValue ("generateRem", "if true, will generate a REM and then abort the simulation;" "if false, will run the simulation normally (without generating any REM)", generateRem); + cmd.AddValue ("printBuildingList", "if true, will save a list of buildings with their positions to file;" + "if false, will run the simulation normally (without generating any REM)", printBuildingList); cmd.AddValue ("epc", "if true, will setup the EPC to simulate an end-to-end topology;" "if false, only the LTE radio access will be simulated.", epc); cmd.AddValue ("epcDl", "if true, will activate data flows in the downlink when EPC is being used. " @@ -348,6 +350,7 @@ // home UEs located in the same apartment in which there are the Home eNBs positionAlloc = CreateObject (homeEnbs); + mobility.SetPositionAllocator (positionAlloc); mobility.Install (homeUes); NetDeviceContainer homeUeDevs = lteHelper->InstallUeDevice (homeUes); lteHelper->AttachToClosestEnb (homeUeDevs, homeEnbDevs);