Open hezhongyi opened 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();
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
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();