yes

2018-06-19 16:25 GMT+02:00 Craig <[email protected]>:

> Hi Jakob,
>
> Thanks for your information.
> I need create a trip and the vehicle is equipped with a rerouting device.
> Then, startEdge and endEdge come from the trip.
> Is that right?
>
>
> Best regards,
> Craig
>
>
> 2018-06-19 21:30 GMT+08:00 Jakob Erdmann <[email protected]>:
>
>> Hello,
>> in order for trips to work, the vehicle must be able to compute a rounte
>> between startEdge and endEdge. This only works if it is equipped with a
>> rerouting device. This is explained in the link but missing from your code.
>> regards,
>> Jakob
>>
>> 2018-06-19 14:50 GMT+02:00 Craig <[email protected]>:
>>
>>> Hi all,
>>>
>>> I want to create a random route and add a vehicle via TraCI.
>>> In the wiki, the usage examples show the function,
>>> traci.route.add("trip", ["startEdge", "endEdge"])
>>> traci.vehicle.add("newVeh", "trip", typeID="reroutingType")
>>> http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python
>>>
>>> When I execute the function
>>> traci.route.add("trip", ["edge01", "edge43"])
>>> traci.vehicle.add("newVeh", "trip")
>>> , the error message says "Vehicle 'veh0' has no valid route. No
>>> connection between edge 'edge01' and edge 'edge43'."
>>>
>>> The startEdge and endEdge must be connected ?
>>>
>>>
>>> Best regards,
>>> Craig
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>
>>>
>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>
>>
>
>
> --
> Best regards,
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Reply via email to