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

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 <kmo2578@xxxxxxxxx>: 

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

Back to the top