You've closed the destination edge of that vehicle and no amount of
rerouting can fix this.
However, the error should be a a catch-able TraCIException so you can still
remove the vehicle or change it's route to a new destination.

Am Sa., 5. Feb. 2022 um 23:15 Uhr schrieb Mahima <[email protected]>:

> Hi Jakob,
>
> Thanks for the reply.
>
> On calling this so as to close the lane,
> libsumo::Edge::setDisallowedVehicleClasses("79324",{"all"});
>
> I get a segmentation fault with this error.........what():  Vehicle '11'
> has no valid route. No connection between edge '179325' and edge '79324'.
>
> I was waiting that the vehicle should reroute when rerouting probability
> is set to 1.
> Why it is still searching for this edge?
>
> Thanks,
> Mahima
>
> On Thu, Jan 27, 2022 at 8:50 PM Jakob Erdmann <[email protected]>
> wrote:
>
>> The network isn't modified and no new network is saved. The GUI operation
>> is equivalent to calling traci.edge.setAllowed(edgeID, ["authority"])
>>
>> Am Do., 27. Jan. 2022 um 18:46 Uhr schrieb Mahima <[email protected]>:
>>
>>> Hi,
>>>
>>> I have a query -  when we are running a simulation on sumo-gui and we
>>> want to close the edge by right-clicking on the edge. Where does the new
>>> network is saved?
>>> Which parameters are passed from the user interface to sumo?
>>>
>>> Thanks,
>>> Mahima
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to