Dear Monika, you can use the traas library as API for Java for example. It supports a lot of methods like the python TraCI client. The Traci commands are generated in the background so you can use the function calls like the ones in python.
For example: http://traas.sourceforge.net/cms/index.php?id=change-a-tls-program Kind regards, Mario Am 16.01.2014 11:52, schrieb Monika Mitkar: Thanks Christoph and Jakob for your reply. It means we can communicate with SUMO by sending TRACI commands over the socket. And we canot directly use APIs which we use in Python (e.g. traci.setStop(), traci.vehicle.add() etc.) Please validate my understanding. Thanks & Regards, Monika -----Christoph Sommer <[email protected]> <[email protected]> wrote: ----- To: [email protected] From: Christoph Sommer <[email protected]> <[email protected]> Date: 01/16/2014 03:44PM Subject: Re: [sumo-user] #Personal#Calling TRACI APIs from scripts/languages other than Python Dear Monika, Monika Mitkar wrote: Is it possible to call TRACI APIs from scripts/languages other than Python? Sure. Some possibilities are listed in the `resources' section of the TraCI wiki page at [1]. For example, all of the vehicular networking simulators listed on [2] are using a C++ API to communicate via TraCI. Best, Christoph [1]http://sourceforge.net/apps/mediawiki/sumo/index.php?title=TraCI#Resources [2] http://sourceforge.net/apps/mediawiki/sumo/index.php?title=Topics/V2X ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
