brianmc95 / OpenCV2X

OMNeT++ V2X simulation framework for ETSI ITS-G5
GNU General Public License v2.0
37 stars 15 forks source link

Out of range: map bug in LteMacEnb #9

Closed MounaKaroui closed 4 years ago

MounaKaroui commented 4 years ago

Hi @brianmc95,

While I am trying to evaluate LTE-V2X mode 3, mode 4 and ITS-G5. I found the run-time error below:

image

I used the following scenario: https://github.com/brianmc95/OpenCV2X/blob/master/scenarios/simulte/omnetpp.ini

I tried another scenario where I changed to typical Mac Type (not realistic) of simulte, and not D2D, but the problem persist. So, the bug is not in related to LTEMacEnbRealisticD2D. I think that the problem is either in LteMacEnb or LteMacBase.

Could you help me please to resolve this problem?

Regards, Mouna

MounaKaroui commented 4 years ago

Hi @brianmc95, The bug is caused by [ ] operator applied to racStatus_ in Ul Enb scheduler. I resolved the bug using find() as follow: https://github.com/MounaKaroui/artery/commit/1a2ed017b66ec0151474231be7777de27793fff9 Regards, Mouna

MounaKaroui commented 4 years ago

UE nodes in mode 3 didn't receive messages. I tested mode 3 before and it works but with your modifications, UE nodes do not receive message anymore.

brianmc95 commented 4 years ago

Hi @MounaKaroui,

Sorry for not getting back to you sooner. So First and foremost the implementation does not have a mode 3 version. Mode 4 is the only developed model, any simuLTE based D2D simulations are based on the original D2D definition as of release 12. Furthermore, it's most likely that during the development of the model for mode 4 that changes have been made to simuLTE that have impacted the previous implementation which is the cause of your issue. This is something I need to return to fix but is not a priority currently. If you wish to run simulations based on the release 12 D2D model then I would checkout the master version of the original simuLTE. https://github.com/inet-framework/simulte

Otherwise if you want mode 3 based simulations you will have to develop the model based on release 14. Sorry for the inconvenience at the same time and let me know if you have questions.

MounaKaroui commented 4 years ago

Thank you for your answer. I am trying to find a solution for fixing that. Because I am currently developing a multi-technology car model that cover ITS-G5, mode 3 and mode 4. That's why I need all of these technologies implementation carModel

brianmc95 commented 4 years ago

I see but mode 3 in that diagram isn't mode 3 it's actually release 12 D2D which isn't the same thing.

At the current moment in time a mode 3 model hasn't been integrated with the model and as such a car with ITS-G5, mode 3 and mode 4 isn't possible to implement.

If you decide to develop the mode 3 model integrating it with the model would be fantastic. But for the moment ensuring that the model works with the old D2D release 12 simuLTE isn't the highest priority as I said previously.

MounaKaroui commented 4 years ago

Ok, I see :)