Check out Simpla which switches vTypes based on the leader vehicle:
https://sumo.dlr.de/docs/Simpla.html
If Simpla doesn't fit your use case, you can achieve the same affect in
your own TraCI code. Simply define enough types in advance and switch them
at runtime.


Am So., 7. Mai 2023 um 19:54 Uhr schrieb Chen Di <[email protected]>:

> Hi,
>
> I have a mixed traffic scenario (say mixed of AV and HV) and would like to
> define vehicle types that differ by the types of leader vehicles. In
> other words, I need 4 vehicle types in this case: vType for HV when
> following other HVs, vType for HV when following AVs; and vice versa.
>
> I am wondering whether sumo can do this. If not, are there any hints on
> how to achieve this?
>
> Thanks,
> Cindy
>
> _______________________________________________
> 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