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