Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] sumo-gui rendering error

Thanks for reporting. The issue has been fixed in the latest development version. You can download the updated binary tomorrow at
https://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version

regards,
Jakob

Am Di., 28. Mai 2019 um 19:37 Uhr schrieb Marco Malinverno <marco.malinverno1@xxxxxxxxx>:
Hi everyone,
I'm writing because I'm stuck in this problem for a while and I ran out of ideas. 
I am trying to change the image of vehicles in the GUI and I'm using the "imgFile" attribute. In particular, I do something like this:
<vType id="Car1" accel="5.0" decel="1.0" imgFile="car1.png" maxSpeed="100.0" color="255,255,255" />
<vehicle depart="0" id="veh1" route="1" type="Car1" />

The GUI recognizes the file and load the image without problem. The problem is that the rendered image is very small and that it is not where it should be. I attached some pictures to explain better. 
In file snap1, you can see how SUMO renders the image, while in snap2 where the rendered image should be. I also attach the file car1.png.
I tried every file extension possible (.gif, .xmp, .jpg, .bmp etc), I tried to change dimensions, I tried changing vType attributes and I always have the problem that the image is rendered too far ahead with respect to where the vehicle is.
Does anyone have any idea on that?

SUMO version: 1.2.0
OS: Ubuntu 18.04

Thank you very much in advance,
Marco
--
Marco Malinverno
Ph.D Student
Politecnico di Torino
Department of Electronics and Telecommunications
C.so Duca degli Abruzzi 24
10129 Torino - Italy
Ph. +39 011 090 4108
_______________________________________________
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