fixed positions in lena-x2-handover
This commit is contained in:
@@ -39,8 +39,6 @@ NS_LOG_COMPONENT_DEFINE ("EpcX2HandoverExample");
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
Config::SetDefault ("ns3::LteSpectrumPhy::CtrlErrorModelEnabled", BooleanValue (false));
|
||||
Config::SetDefault ("ns3::LteSpectrumPhy::DataErrorModelEnabled", BooleanValue (false));
|
||||
// LogLevel logLevel = (LogLevel)(LOG_PREFIX_FUNC | LOG_PREFIX_TIME | LOG_LEVEL_ALL);
|
||||
|
||||
// LogComponentEnable ("LteHelper", logLevel);
|
||||
@@ -108,6 +106,10 @@ main (int argc, char *argv[])
|
||||
{
|
||||
positionAlloc->Add (Vector(distance * 2*i - distance, 0, 0));
|
||||
}
|
||||
for (uint16_t i = 0; i < numberOfUes; i++)
|
||||
{
|
||||
positionAlloc->Add (Vector(0, 0, 0));
|
||||
}
|
||||
MobilityHelper mobility;
|
||||
mobility.SetMobilityModel("ns3::ConstantPositionMobilityModel");
|
||||
mobility.SetPositionAllocator(positionAlloc);
|
||||
|
||||
Reference in New Issue
Block a user