[sumo-user] Net instance has no attribute '__getitem__' : ​Query in Answer to Hayder

2019-01-18 Thread Bijal Varia
ertices and edges of a sumo network using the [] operator. You have to use methods like getEdge / getOutgoing, see here: I am not able to understand how to resolve this problem. Hayder if you have solved this problem please let me know What would be the best solution of this. I am expecting new hay_2 fi

[sumo-user] Help TraCI + Sumo : Select next edge based on calculation

2019-01-15 Thread Bijal Varia
Dear All, Anyone have idea on how to implement the ant colony algorithm to select route for the given Source and Destination edge? ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe fr

Re: [sumo-user] Traci + Sumo : Drive vehicle based on edge weight from Source to Destination

2019-01-11 Thread Bijal Varia
imulation.getMinExpectedNumber() > 0: >> traci.simulationStep() >> > > This loop runs the simulation until all vehicles are gone. Your whole code > comes afterwards. > Instead put your traci code inside the loop. > > Am Do., 10. Jan. 2019 um 10:29 Uhr schrieb B

Re: [sumo-user] Calculating shortest driving route between 2 nodes in SUMO/TraCI/SumoLib

2019-01-10 Thread Bijal Varia
us reply) Le jeu. 10 janv. 2019 à 11:50, Bijal Varia a écrit : > Thanks for detail reply sir, > > But for the beginner like me its too difficult to understand your code. > so i need to go step by step. > > 1. What code converts road network into a weighted graph ? Sir please &

Re: [sumo-user] Calculating shortest driving route between 2 nodes in SUMO/TraCI/SumoLib

2019-01-10 Thread Bijal Varia
< arslane.hamzache...@gmail.com> wrote: > Hello Bijal VARIA, > > The solution that I had used was somewhat bounded to the considered > version of SUMO, this is why my solution involved several tools (I was > using at that time SUMO 0.13): > >- First of all I ha

Re: [sumo-user] Traci + Sumo : Drive vehicle based on edge weight from Source to Destination

2019-01-10 Thread Bijal Varia
Sorry sir i forgot to attache route file and config files: Route File : Sumo Config File : On Thu, Jan 10, 2019 at 5:24 PM Bijal Varia wrote: > Thanks sir for your reply. > > I am

Re: [sumo-user] Traci + Sumo : Drive vehicle based on edge weight from Source to Destination

2019-01-10 Thread Bijal Varia
at 4:43 PM Jakob Erdmann wrote: > What part about http://sumo.dlr.de/wiki/Simulation/Routing#TraCI is > unclear? > > Am Mi., 9. Jan. 2019 um 17:08 Uhr schrieb Bijal Varia < > bijal.vari...@gmail.com>: > >> Thanks for reply sir. >> >> But what about following?

Re: [sumo-user] Traci + Sumo : Drive vehicle based on edge weight from Source to Destination

2019-01-09 Thread Bijal Varia
Thanks for reply sir. But what about following? How to drive vehicle based on Edge weight given Source & destination Junction using Traci? On Wed 9 Jan, 2019, 1:04 PM Jakob Erdmann, wrote: > You can set custom edge weights either for individual vehicles or for all > vehicles at the same time.

[sumo-user] Calculating shortest driving route between 2 nodes in SUMO/TraCI/SumoLib

2019-01-09 Thread Bijal Varia
you help me in this regard.* Bijal Varia ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Re: [sumo-user] Anyway to find a best next lane

2019-01-07 Thread Bijal Varia
Hi would you please send me some basic/sample code for this? On Sat, Dec 29, 2018 at 8:37 AM iCashWave wrote: > Hi, > I suggest that you can write some codes like python language to > automatically finish the net file. > > > > > Mahdi Afshin 於 2018年12月27日 週四 14:49 寫道: > >> Hello Everyone, >> >>

[sumo-user] Traci + Sumo : Drive vehicle based on edge weight from Source to Destination

2019-01-05 Thread Bijal Varia
edge using Traci Code? 2. How to drive vehicle based on Edge weight given Source & destination Junction? Please advise me to resolve my query. Bijal Varia ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve

[sumo-user] Sumo + Traci Drive traffic from source to destinaction using Dijkstra

2018-12-26 Thread Bijal Varia
Dear Sumo listing I am new bee in SUMO and it's implementation. I want to drive single car from source to destination using Dijkstra algorithm using Traci. I would be grateful if anyone helps me to run simple program in this regard. Thanks in advance. Bijal _