Hello,
there currently isn't a way to add or remove this device dynamically (
https://github.com/eclipse/sumo/issues/7923)
However, you can create a new vehicle that has the device by
- defining a vType in an xml file that sets the device (<param
key="has.bluelight.device" value="true"/>)
- load that file at startup
- create a new vehicle with this type

regards,
Jakob

Am Mo., 7. Dez. 2020 um 18:19 Uhr schrieb Bernd Loeber <
[email protected]>:

> Hello sumo community,
> I need help with simulating emergency vehicles for my Master project.
>
> Setting the vClass and the shape via TraCI worked fine. However I am
> unable to set the bluelight device for those vehicles which seems to be
> needed to get the proper emergency vehicle behaviour.
> Is there a trick or recommended way to add a bluelight device to an
> emergency vehicle via TraCI?
>
> Thanks a lot and best regards,
> Bernd
> _______________________________________________
> 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