-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with Regions of Interest #305
Comments
Hi @akhilsimha7, this error message belongs to our environment model and is thus unrelated to the ROI feature. I will check if there is a bug when both are employed. However, I am currently abroad and can only check after my return. |
Policies executed by the `ExtensibleNodeManager` might cause objects to be added after were removing which leaves the `mObjectRtree` tainted (see riebl#305).
I also encountered this issue recently. Normally, the This works if adding, removing, and updating/refreshing are always processed in that order. However, with the In a case where one vehicle leaves and a second enters the RoI in the same step, it can cause an error, as A simple and naive approach to fix this would be just to rebuild the tree in the rare case it is tainted when an object is added. |
Thanks @awillecke for your detailed explanation of the current regions of interest issues! I would like to refactor the |
I am trying to use the regions of interest feature in the Luxembourg SUMO Traffic (LuST) Scenario (https://github.com/lcodeca/LuSTScenario). I just selected a region in the map and then included in the regions_of_interest.xml as below:
I have included the .xml file in the omnetpp.ini file as below:
But after the simulations start, an error is thrown:
ASSERT: Condition 'mObjects.size() == mObjectRtree.size()' does not hold in function 'addVehicle' at /home/user/artery/src/artery/envmod/GlobalEnvironmentModel.cc:123 -- in module (traci::Core) World.traci.core (id=7), at t=1141s, event #972432
My queries are:
The text was updated successfully, but these errors were encountered: