Unipisa / Simu5G

Simu5G - 5G NR and LTE/LTE-A user-plane simulation model for OMNeT++ & INET
https://simu5g.org
Other
146 stars 83 forks source link

Use simu5g to obtain vehicle speed information, and there is a flash back phenomenon #97

Open hezhongyi opened 1 year ago

hezhongyi commented 1 year ago

When I use this function to obtain the vehicle location information, it can operate normally: veins::VeinsInetMobility vehiclemobility = dynamic_cast<veins::VeinsInetMobility>(getParentModule()->getSubmodule("mobility", 0)); When I add this function to obtain the vehicle speed information, the simulation flashback occurs: veins::TraCICommandInterface::Vehicle* vehicleCommand = vehiclemobility->getVehicleCommandInterface();

hezhongyi commented 1 year ago

simu5g1.2.1:This problem will occur When I use this function to obtain the vehicle location information, it can operate normally: veins::VeinsInetMobility vehiclemobility = dynamic_castveins::VeinsInetMobility(getParentModule()->getSubmodule("mobility", 0)); When I add this function to obtain the vehicle speed information, the simulation flashback occurs: veins::TraCICommandInterface::Vehicle* vehicleCommand = vehiclemobility->getVehicleCommandInterface();

hezhongyi commented 1 year ago

Simu5g1.1.0 can obtain vehicle information, speed and location, but when there are many vehicles, such as more than 20, the following situations will occur: New data arriving in busy harq process -- this should not happen -- in module (NRMacUe) Highway.car[0].cellularNic.nrMac (id=322), at t=24.133s, event #1674429