Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Vehicles appearing in different GUIs on sumo-gui

You can "skin" the vehicle with a custom imageFile: https://sumo.dlr.de/docs/sumo-gui.html#vehicle_shape_shemes
https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#available_vtype_attributes

Am Mo., 23. Mai 2022 um 08:17 Uhr schrieb Lusong <xxxxx@xxxxxxx>:

Hi

 

I want to display one vehicle in sumo-gui with a GUI different from other vehicles. 

In general, theIs there any way to change the GUI rather than the color of a specific vehicle? method of changing the GUI of a vehicle will change the GUI of all vehicles. 

Is there any way to change the GUI rather than the color of a specific vehicle? 

We will use that particular vehicle as a stationary vehicle (using it as an obstacle). Or is there a way to get the vehicle's information with a command such as 'traci.vehicle.getLeaders' and make the GUI look different? 

 

Thanks!!

 

_______________________________________________
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