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. 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 <xxxxx@xxxxxxx>:

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