Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] [sumo-devel] Help

Dear all,

When I add this code to the Python script
:  traci.vehicle.setRoute("down_567", ["52o", "2i", "1o", "51i"]);  a traci
exception is raising :  *run*
*    traci.vehicle.setRoute("down_567", ["52o", "2i", "1o", "51i"])*
*  File "C:\sumo-0.30.0\tools\traci\_vehicle.py", line 815, in setRoute*
*    self._connection._sendExact()*
*  File "C:\sumo-0.30.0\tools\traci\connection.py", line 109, in _sendExact*
*    raise TraCIException(prefix[1], _RESULTS[prefix[2]], err)*
*TraCIException: Vehicle 'down_567' is not known*

What is the problem ? Can you help me please ?

Thanks.

My Best Regards,
SAGAAMA Insaf.

2018-03-14 8:12 GMT+01:00 Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx>:

> traci.vehicle.setRoute(vehicleID, [edge1, edge2, ....])
>
> 2018-03-13 13:48 GMT+01:00 Sagaama Insaf <sagaama.insaf@xxxxxxxxx>:
>
>> Dear all,
>> -I have developed a Route Planning Algorithms for Electric Car
>> Navigation.
>> How can update the route of each  vehicle in SUMO ?
>>
>> --
>> ​
>> My B
>> ​est regards,​
>> SAGAAMA Insaf.
>>
>> PhD student at CRISTAL Lab, RA
>> ​​
>> MSIS Pole, ENSI- Tunisia.
>>
>
>


-- 
Bien Cordialement
SAGAAMA Insaf.

PhD student at CRISTAL Lab, RAMSIS Pole, ENSI- Tunisia.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-devel mailing list
sumo-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-devel

Back to the top