I have encountered a critical issue in veins-5.2 simulation in the vehicle obstacle shadowing model for a V2I scenario as follows.
initializeVehicleObstacleShadowing(): cannot find VehicleObstacleControl module -- in module (veins::PhyLayer80211p) RSUExampleScenario.rsu[0].nic.phy80211p (id=11), during network initialization
However, I can find VehicleObstacleControl module in the veins::PhyLayer80211p.cc as follows.
**unique_ptr<AnalogueModel> PhyLayer80211p::initializeVehicleObstacleShadowing(ParameterMap& params)
{
// init with default value
bool useTorus = world->useTorus();
const Coord& playgroundSize = *(world->getPgs());
ParameterMap::iterator it;
VehicleObstacleControl* vehicleObstacleControlP = VehicleObstacleControlAccess().getIfExists();
if (!vehicleObstacleControlP) throw cRuntimeError("initializeVehicleObstacleShadowing(): cannot find VehicleObstacleControl module");
return make_unique<VehicleObstacleShadowing>(this, *vehicleObstacleControlP, useTorus, playgroundSize);
}**
I highly appreciate if you could provide me with some guidance so that I can resolve this problem.
Thank you in advance.