Controlling a simulation in my point of view is a very specific task. So it will be very difficult to find a tool for what you want. As far as I know, there are no tools that allows you to control a simulation. You must create the scripts by yourself Em 31/12/2013 08:08, "Monika Mitkar" <[email protected]> escreveu:
> Thanks for reply. > > I used TRACI APIs to control simulation. > > One more query, > Would like to know the availability any tool which can directly > communicate with SUMO using TRACI. > > Regards, > Monika > -----Guilherme Íscaro <[email protected]> wrote: ----- > To: Monika Mitkar <[email protected]> > From: Guilherme Íscaro <[email protected]> > Date: 12/27/2013 05:27PM > Cc: [email protected] > Subject: Re: #Personal#Re: [sumo-devel] Regd: Communicating client > apllication with SUMO for controlling a CAR in SUMO > > "As per my understanding, we can communicate with SUMO using socket > programming. Please validate." > Yes, that's right. You can commuicate with SUMO using an API called TraCI > (Traffic controller interface). You can find all the availebles API at this > page: http://sumo-sim.org/userdoc/TraCI.html > > Sumo developers already made a TraCI implementation in python that already > comes with Sumo binaries, you can find them at: "The Place Where Sumo Is > Installed"/tools/traci, however this default implementation it's made in > python (here is the docs : http://sumo-sim.org/pydoc/traci.html) , if you > have any restrictions about languages, let's say your program must be in > C++, then you will need to implement the TraCI API yourself. This is not a > challenging task, since TraCI is well documented and you will find the > message formats discribed as they should be ( > http://sumo-sim.org/userdoc/TraCI/Protocol.html <- traci speficication) > > Now, about your car problem. TraCI provides an API to controll cars and > all available commands are here > http://sumo-sim.org/userdoc/TraCI/Change_Vehicle_State.html , as you may > see you can make it turn and break it. > You may find sumo TraCI usage examples under the docs dir in your sumo > installation or take a quick start using this example > http://sourceforge.net/apps/trac/sumo/browser/trunk/sumo/tests/complex/tutorial/traci_tls/runner.py > > > > > > 2013/12/27 Monika Mitkar <[email protected]> > >> >> Hello, >> >> As per my understanding, we can communicate with SUMO using socket >> programming. Please validate. >> >> I need to control simulated car inside SUMO using received parameters >> from client application at run time (e.g apply brakes, take turn etc), then >> what can be done? Is SUMO provides some architecture/implementation for >> same or any changes to be implemented and where?(I am new to SUMO). >> >> Please help. >> >> Thanks & Regards, >> Monika >> -----Guilherme Íscaro <[email protected]> >> <[email protected]>wrote: ----- >> To: Monika Mitkar <[email protected]> <[email protected]> >> From: Guilherme Íscaro <[email protected]> <[email protected]> >> Date: 12/26/2013 10:35PM >> Cc: [email protected] >> Subject: Re: [sumo-devel] Regd: Communicating client apllication with >> SUMO for controlling a CAR in SUMO >> >> What kind of help do you need, can you give more context? >> You want to know how to connect with sumo and send messages? >> >> >> 2013/12/26 Monika Mitkar <[email protected]> >> >>> Hello, >>> >>> SUMO has Socket-Server implementation and we need to communicate with it >>> using client application to control simulated car inside SUMO. >>> >>> Request help if anybody have done similar work or have some information >>> about the same. >>> >>> Thank you! >>> >>> Regards, >>> Monika >>> =====-----=====-----===== >>> Notice: The information contained in this e-mail >>> message and/or attachments to it may contain >>> confidential or privileged information. If you are >>> not the intended recipient, any dissemination, use, >>> review, distribution, printing or copying of the >>> information contained in this e-mail message >>> and/or attachments to it are strictly prohibited. If >>> you have received this communication in error, >>> please notify us by reply e-mail or telephone and >>> immediately and permanently delete the message >>> and any attachments. Thank you >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into >>> your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>> AppDynamics Pro! >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> sumo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/sumo-devel >>> >> >> > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ sumo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-devel
