Defya Simga
2011-11-17 02:48:48 UTC
Hello all,
I'm been trying to change vehicle colors with TraCI and does not work. I've
already used "traci.vehicle.setColor(id,[255,0,0,255])" but nothing changes
(visualizing with SUMO-GUI). I've also tried to define vehicle colors
directly on the routes file by adding the attribute color="1,0,0" (red),
and nothing happens... the vehicles are always yellow.
Thank you for your help.
I'm been trying to change vehicle colors with TraCI and does not work. I've
already used "traci.vehicle.setColor(id,[255,0,0,255])" but nothing changes
(visualizing with SUMO-GUI). I've also tried to define vehicle colors
directly on the routes file by adding the attribute color="1,0,0" (red),
and nothing happens... the vehicles are always yellow.
Thank you for your help.