Dear all,
I have added a new device to the SUMO-0.30.0 source code. This new added
device is a new energy model for the electric vehicle. After the building
step, the SUMO project does not take into consideration the new added
device.
I have build the sumo project with Microsoft Visual Studio Expr
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.
--
Thank you for your help.
I have developed a server witch send a set of edges to ech vehicle in SUMO
and this one change its route? How can I proceed ?
Kindly.
Le 14 mars 2018 8:12 AM, "Jakob Erdmann" a
écrit :
> traci.vehicle.setRoute(vehicleID, [edge1, edge2, ])
>
> 2018-03-13 13:48 GMT+01
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
Ok, thanks.
Le mer. 28 mars 2018 à 06:44, Jakob Erdmann a
écrit :
> the vehicle either has not yet been loaded or already left the simulation.
>
> 2018-03-27 23:37 GMT+02:00 Sagaama Insaf :
>
>> Dear all,
>>
>> When I add this code to the Python script
>> : traci.vehicle.setRoute("down_567", ["
Dear all,
When I add this code to the Python script :
*import traci*
*traci.start(sumoCmd) *
*step = 0*
*while step < 1000:*
* traci.simulationStep()*
* if traci.vehicle.getRouteID("veh0")=="route0":*
* traci.vehicle.setRoute("veh0", ["44468929", "189216027",
"371230575", "167920445"])*
*
Dear all,
I want to make each vehicle in SUMO receives a packet through a TCP Socket
from the Server.
The packet contains the ("vehicle ID", "edges IDs") to refer the optimal
route.
Is there another solution (i.e developing a code in SUMO ) except the
Python Traci solution ? and how ?
Thanks.
B
Dear all,
I want to make each vehicle in SUMO receives a TCP packet from an external
Server.
I have implemented this Python Script :
*import traci*
*traci.start(sumoCmd) *
*while traci.simulation.getMinExpectedNumber() > 0: *
* for veh_id in traci.vehicle.getIDList():*
*position = traci.veh
Thanks. But, I have runned the SUMO
simulation and the traci script in the same local computer and i have
allways the same error. What shall I do?
Thanks.
Le mar. 3 avr. 2018 à 09:58, Jakob Erdmann a
écrit :
> Hello,
>
> traci.start() assumes that sumo will be started by the script on the local