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

sorry!

I made a mistake in typing. 

 

Thank you Jakob!

-----Original Message-----
From: "Lusong"<kmo2578@xxxxxxxxx>
To: "Sumo project User discussions"<sumo-user@xxxxxxxxxxx>;
Cc:
Sent: 2022-05-23 (월) 16:00:46 (GMT+09:00)
Subject: Re: [sumo-user] Vehicles appearing in different GUIs on sumo-gui
 

Hi 

I tried by creating a new vType and putting an imgfile here.

<vType id="type2" imgFile="wall.jpg" sigma="1"/>

<vehicle id="vehicle_6" type="tyep2" depart="0" departLane="2" departPos="500" departSpeed="0" route="route_0"/> 

However, these error statements do not run when they appear. Could you tell me what the problem is? 

Error: The vehicle type 'tyep2' for vehicle 'vehicle_6' is not known. 

 

-----Original Message-----
From: "Jakob Erdmann"<namdre.sumo@xxxxxxxxx>
To: "Sumo project User discussions"<sumo-user@xxxxxxxxxxx>;
Cc:
Sent: 2022-05-23 (월) 15:39:19 (GMT+09:00)
Subject: Re: [sumo-user] Vehicles appearing in different GUIs on sumo-gui
 


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

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