Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Advice on visualizing additional information

You can display custom labels by creating pois or polygons and enabling either one of the following gui settings
- show poi names
- show poi types
- show polygon names
- show polygon types
This allows for 4 different sizes/colors of labels. You can make the pois/polygons themselves invisible by setting their alpha to 0
Gui setting files can also be switched at runtime by setting another schema Id.

You can also load raster images for pois which gives you additional freedom for custom shapes and lettering.

regards,
Jakob


Am Fr., 21. Dez. 2018 um 13:41 Uhr schrieb m.barthauer@xxxxxxxxxxx <m.barthauer@xxxxxxxxxxx>:

For simple shapes like lines or arrows, I draw some polygon shapes using the functions described here: http://www.sumo.dlr.de/pydoc/traci._polygon.html . But it sounds like a good idea to make labels accessible from outside for the future...

 

Regards

Mirko

 

 

 

 

-----Original-Nachricht-----

Betreff: [sumo-user] Advice on visualizing additional information

Datum: 2018-12-21T11:30:50+0100

Von: "Joel Greenyer" <greenyer@xxxxxxxxxxxxxxxxxxx>

An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>

 

 

 

Hi SUMO users,

(not sure if this is a users or dev question, trying here first...)

We extended SUMO to run some behavior on top of the traffic simulation in SUMO. (JVM application communicating with SUMO via Traas/TraCI)  Now we would like to visualize additional information, and need some advice on how to do this.

Ideally, we would like to show additional information in the SUMO GUI -- what we would need is essentially only showing additional labels on objects, or popping up arrows on or between vehicles. Unfortunately, the GUI and TraCI interface does not allow this. What we would need, minimally, would be to show a label at a certain position for a certain duration, and showing an arrow from one position to another for a certain duration.

Would you recommend that we extend the SUMO GUI for this? This would entail extending Traas/TraCI as well...

Or would you recommend building a separate GUI?

Thanks,

Joel

 

--
Prof. Dr. Joel Greenyer
Software Engineering Group
Faculty of Electrical Engineering and Computer Science
Leibniz Universität Hannover
Welfengarten 1, Room G322, 30167 Hannover, Germany
Phone: +49 511 / 762 - 3361
greenyer@xxxxxxxxxxxxxxxxxxx
http://jgreen.de

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top