Hello,
sumolib is only available as a python library. You cannot use this directly
with traci4matlab.
You could try using the function traci.lane.readLinks() but I'm not sure if
it's already implemented.
(
http://sumo.dlr.de/wiki/TraCI/Lane_Value_Retrieval#command_links_0x33_compound_response_value
).

If you want to re-route vehicles probabilistically you could use rerouters
instead of TraCI:
http://sumo.dlr.de/wiki/Simulation/Rerouter

regards,
Jakob

2016-11-24 10:49 GMT+01:00 Mariam ZOUARI <mariam.zouari...@ieee.org>:

> I'm beginner in SUMO, my probléme is how to change the following edge of a
> vehicle in every intersection (with or without control of traffic light)
> what are the commands that i must use or have you an example.
> can you help me please.
>
> i try to *use traci.route.getEdges() to get list of edges. Then use
> sumolib*
>
> *http://sumo.dlr.de/wiki/Tools/Sumolib
> <http://sumo.dlr.de/wiki/Tools/Sumolib>** to get the junction:*
>
> *net.getEdge(EDGEID).getToNode()*
>
> *but i failed. *
>
> *How to use or call up sumolib in traci4matlab?*
>
> *cordialement *
> ------------------------------------------------------------
> ------------------
> _______________________________________________
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to