nyuwireless-unipd / ns3-mmwave

ns-3 module for simulating mmWave-based cellular systems. See https://ieeexplore.ieee.org/document/8344116/ (open access) as a reference.
GNU General Public License v2.0
302 stars 194 forks source link

Assertion shows up when run the mmwave-epc-tdma.cc #42

Closed cscxxx553 closed 6 years ago

cscxxx553 commented 6 years ago

Hi, The paper End-to-End Simulation of 5G mmWave Networks.pdf V3 said the example related to the setup of the PHY layer parameters can be found in mmwave-tdma.cc and mmwave-epc-tdma.cc. When I run the mmwave-epc-tdma.cc , the following assertion shows up:

assert failed. cond="it != m_lcInfoMap.end ()", msg="received packet with unknown lcid 3", file=../src/mmwave/model/mmwave-ue-mac.cc, line=514 terminate called without an active exception Command ['/home/garrick/Documents/ns3/workspace/ns3-mmwave-new-handover/build/src/mmwave/examples/ns3-dev-mmwave-epc-tdma-debug'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s ").

The result of mmwave-tdma.cc is ok and then I check the parameters on Table I in the paper and in mmwave-epc-tdma.cc. I can't figure out why the assertion show up. Please let me know if I miss anything or anything is incorrect.

Thank you!

mychele commented 6 years ago

Hi, are you using the latest version? Michele

cscxxx553 commented 6 years ago

Hi Michele, I download the current version of new-handover and wow it is awesome and works fine. I will update the code in my machine if encounter a problem next time. And I've read about MmWaveFlexTtiMacScheduler process on the same paper and the explanation isn't clearly for me. Could you suggest a paper or detailed explanation, please?

Thank you. Garrick

mychele commented 6 years ago

Hi, MmWaveFlexTtiMacScheduler is a simple round robin scheduler. You can scan the literature for general papers on schedulers, there are plenty. Michele

2018-04-30 1:21 GMT-04:00 Garrick notifications@github.com:

Hi Michele, I download the current version of new-handover and wow it is awesome and works fine. I will update the code in my machine if encounter a problem next time. And I've read about MmWaveFlexTtiMacScheduler process on the same paper and the explanation isn't clearly for me. Could you suggest a paper or detailed explanation, please?

Thank you. Garrick

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nyuwireless-unipd/ns3-mmwave/issues/42#issuecomment-385315380, or mute the thread https://github.com/notifications/unsubscribe-auth/AG1b5Z55_71TaaBwokmzVPxuQHCYHXuUks5ttp8_gaJpZM4TqCOk .

-- Michele Polese

Ph.D. Student Dept. of Information Engineering (DEI) - SIGNET Research Group University of Padova Via Gradenigo 6/B, 35131 Padova (Italy)

email: michele@polese.io web: polese.io - mmwave.dei.unipd.it

cscxxx553 commented 6 years ago

Hi Michele, Okey, I have found some paper for round robin. I am curious to know how MmWaveFlexTtiMacScheduler works so I look into the file mmwave-flex-tti-mac-scheduler.cc. I wonder which class and variable name do you use to implement and store round robin order. Could you help me out, please?

Thank you.