Yes, You are right. The cause of error was that I forgot to edit the file SUMOVehicleParserHelper.cpp file. I made the following edits to this file as I do not need any additional parameter than Krauss car following model at this stage:
std::set<SumoXMLAttr> kraussMymodelParams(kraussParams);
allowedCFModelAttrs[SUMO_TAG_CF_KRAUSS_MYMODEL = kraussMymodelParams;
allParams.insert(kraussMymodelParams.begin(), kraussMymodelParams.end());
This removed the earlier error but generates a new one.
Now, three vehicles are able to complete their journey and when the fourth vehicle is about to exit the first edge (enters the junction) in the route, the error occurs stating "Error: Empty Data".
I found the following reason for this: I have defined a GenericParameter for lane which I am retrieving in the car-following model. As the vehicle is not on any edge (it is at junction), that parameter value is None.
Is there any clean way to deal with behavior? Can I force the parameter read only when the vehicle is on Lane?
Please help
Regards,
Manish
What is missing this time?
Regards,
Manish