Hello,
if you do not require a real-time coupling between SUMO and your
application, the easiest way is to use the xml-output files. There are
outputs for individual detected vehicles as well as traffic light switches.
Otherwise you probably need to use TraCI. Using the TraCI python client (or
java, c++ or matlab client) you should be able to couple this to your app
somehow.
regards,
Jakob

2017-02-01 14:21 GMT+01:00 Abdul Salam Shaikh <[email protected]>:

> Hi,
>
> I am a university student and fairly new to Sumo, I am looking for options
> to generate demo data from the Sumo application for the evaluation of a
> novel way for calculation of saturation degree of traffic lanes.
>
> Is there a way where I can model detectors, traffic signal lights and
> vehicles(As far as I have read, we can model them in Sumo)?
>
> Can I generate event everytime the detector detects a vehicle or everytime
> a signal changes colour in my simulation which can later be sent from Sumo
> to my application?
>
> P.s I am aware we can control the simulation using Python script(Traci
> library) but I am unsure whether the communication can be done from the
> Sumo App to my application.
>
> Thanks in anticipation!
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to