Hi, there seems to be a bug in the python traci client. The function traci.vehicle.getColor returns the vehicle's color values as inverted. E.g., blue is returned as (255, 255, 0, 255) (RGBA). Thus the following call is not a no-op but an inversion of the vehicle's color (assuming vehid is a valid vehicle id):
traci.vehicle.setColor(vehid, traci.vehicle.getColor(vehid)) Kind regards, Dominik -- Dominik Buse, M.Sc. Distributed Embedded Systems (CCS Labs) Heinz Nixdorf Institut, Paderborn University, Germany http://www.ccs-labs.org/~buse/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
