> 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 <[email protected]>:

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

Reply via email to