Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] POI placing

Hi,
you should probably start getting familiar with SUMO and TraCI using the
tutorials: http://sumo.dlr.de/wiki/Tutorials.

Am 14.03.2018 um 07:13 schrieb Pravin Ghorpade:
> 1. Sir, how to make sure that POI is visible in SUMO simulator. We are
> placing the POI in NETEDIT but it is not visible in the SUMO.

You need to load the pois as an additional file, e.g. sumo-gui -n
net.net.xml -a pois.xml

>  2. I want to change the states of POI when a vehicle is detected in its
> vicinity. Can you show us how to do me?  How do I code it? Could you
> tell me what to do in xml and in python?

You could easily check via context subscriptions
http://sumo.dlr.de/wiki/TraCI/Object_Context_Subscription whether and
which vehicles are near.

> 3. How can i connect TRACI with sumo using PORT ?

Please see the tutorials.

Best regards,
Michael

Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top