Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] SUMO obstales and virtual vehicles

1. yes
2. see later mail

Am Fr., 20. Mai 2022 um 10:14 Uhr schrieb Lusong <xxxxx@xxxxxxx>:

Sorry to keep asking the same question. 

Currently, both speed control and lane change of the vehicle are possible only through traci. 

In that state, I wanted to create a virtual vehicle to create a vehicle that only exists and can be ignored. 

 

1. If '--collision.action.warn' is used, will all vehicles send only a warning message and operate normally without any other specific action even if there is a collision??

2. Also, I want to stop the vehicle at the obstacle arrangement in the first question and change the GUI only for that vehicle (obstacle). Is that possible?

(https://sumo.dlr.de/docs/sumo-gui.html#vehicle_visualisation_settings) This link will change the GUI for all vehicles.

 

Thank you very much!

 

-----Original Message-----
From: "Jakob Erdmann"<namdre.sumo@xxxxxxxxx>
To: "Sumo project User discussions"<sumo-user@xxxxxxxxxxx>;
Cc:
Sent: 2022-05-20 (금) 16:56:52 (GMT+09:00)
Subject: Re: [sumo-user] SUMO obstales and virtual vehicles
 

> I'm wondering if there is a way to make sure that only certain vehicles don't crash.
Right now this isn't supported.  
For your virtual vehicle, you could use a POI with an imgFile that looks like a vehicle. The POI does have a position which you can update via TraCI. 

 

Am Fr., 20. Mai 2022 um 09:52 Uhr schrieb Lusong <xxxxx@xxxxxxx>: 

Thanks Jakob.

 

I'm thinking of a way to do that too.

In question 2, I want only virtual vehicles to not collide, but when I use that command, doesn't all vehicles crash?

I'm wondering if there is a way to make sure that only certain vehicles don't crash.

 

-----Original Message-----
From: "Jakob Erdmann"<namdre.sumo@xxxxxxxxx>
To: "Sumo project User discussions"<sumo-user@xxxxxxxxxxx>;
Cc:
Sent: 2022-05-20 (금) 16:47:41 (GMT+09:00)
Subject: Re: [sumo-user] SUMO obstales and virtual vehicles
 

1. use vehicle as obstacles and place them with traci.vehicle.add + setStop. You can change their appearance by skinning them with an imgFile (https://sumo.dlr.de/docs/sumo-gui.html#vehicle_visualisation_settings)
2. also vehicle.add, you can disable collision checking via --collision.action none 

Am Fr., 20. Mai 2022 um 08:11 Uhr schrieb Lusong <xxxx@xxxxxxxx>: 

Hi

 

1. I want to place an obstacle in the middle of a broken road. I want to get the position, lane index, etc. for this obstacle using traci. 

However, I looked around and didn't see any obstacles like walls in the middle. How can you put obstacles? 

 

2. I also want to place a virtual vehicle on the left side of the currently running vehicle, given certain conditions.

This virtual vehicle appears on the simulation screen, and information such as position can be received using traci, but a collision does not occur. 

I would like to use traci to place and delete this virtual vehicle. 

 

Could the above two be used in SUMO?

Thanks.

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
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