Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Assing device parameters per vehicle type

Hi Ivan,

 

while it is possible for other devices to define them like you showed below, the FCD device is implemented differently. You can restrict output only by the global options you can find in the options list.

 

Best regards

Mirko

 

 

 

 

-----Original-Nachricht-----

Betreff: [sumo-user] Assing device parameters per vehicle type

Datum: 2024-02-08T22:54:28+0100

Von: "Ivan Postigo via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>

 

 

 

Hi, 
I dont have clear how to assign the same device to 2 different vehicle types, but with different device parameters.
 
for example, in my route file i have :
 
 
<vType id="v1">
        <param key="has.fcd.device" value="true"/>
** here i want to assign the fcd.period to be 0.1 for example **
** i want the fcd-output.acceleration to be true **
</vType>
 <vType id="v2">
        <param key="has.fcd.device" value="true"/>
** here i want to assign the fcd.period to be 0.5 **
** i want the fcd-output.max-leader-distanceto be 150m **
 </vType>
 
How to do this, is it possible? i cant find the way to define my device prefereces per vehicle type in my route file.
thanks!
Ivan
 

 



Back to the top