DRIVER-EU / sumo-connector

Connecting the Test-bed to DLR's open-source traffic simulator SUMO.
MIT License
1 stars 2 forks source link

Affected area: update area #6

Open erikvullings opened 5 years ago

erikvullings commented 5 years ago

When sending a new affected area, it seems to only listen to the first message and ignoring updates. I must restart SUMO to update it. Can we support multiple messages, and thereby multiple affected areas?

And how can we remove them again? For example, should we include an ID in the affected area message, and if we resend it, update the area. And in case there is no area, remove it?

behrisch commented 5 years ago

@erikvullings Since the affected area already contains a duration for which it is valid, I would propose to remove via an update with an end time in the past. Multiple affected areas should in principle work (but updating does not, yet). I'll recheck that.