Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Obtaining the simulation image as a matrix through Traci

you could use traci.gui.screenshot: https://sumo.dlr.de/pydoc/traci._gui.html#GuiDomain-screenshot

Am Do., 17. März 2022 um 00:29 Uhr schrieb Paul Gazel-Anthoine <paul.gazel-anthoine@xxxxxxxxxxxxxxxxxxx>:
Hi,

I'm using SUMO in a Reinforcement Learning project and I'm looking for a way to provide the image of the simulation to my agent.

Is there a way to obtain the simulation image as a matrix ? (Through Traci).
Something like obtaining the value of the pixel in the simulation through x, y coordinates.

Thank you in advance.

Cordially,
Paul.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top