Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] setColor renders vehicles invisible

Hello,

I am using
traci.vehicle.setColor("veh1", (1,0,0,0)) # red
to change a vehicle's color depending on where it changes lanes to, but the vehicles become invisible after first being inserted. Here is an example where you can spot the cars from their indicators instead:

invisible cars.png

Thank you. Please advise.

Sincerely,
Hriday

Back to the top