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
  • From: Ivan Postigo <ivan.postigo@xxxxxx>
  • Date: Fri, 9 Feb 2024 11:22:10 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=liu.se; dmarc=pass action=none header.from=liu.se; dkim=pass header.d=liu.se; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7ENSJ+zaxRCwcjATwmgkmUjWbdYw3/5PxZ1wTQjutFY=; b=FWfL8O66kMBXdOmXK67t/cvKq5c42irklUmiApNxSoTfFqmukqb9upp7DNZMOgyHzcVFVEIWJmv0lDx1uAgiA9YUJnJaaA2q3cbb+B/3GnXQcNBR934CGt38YYFC+SjmUUhmQjNDD9LOCmEFbtSKtYJPLM6Io3v7Kj8UdDfiVtxMsVwR67MdcXVqRZQj2x47BI0ex8Daj1LVMfvE+T3/NO6zQgPbApMYXFvLYDXr81xYF8IUNFg5R5mECXuK2zFHg/g7issbKcTojtBMjdL6zz6gKJBTwbUFxrjvGNrl2AL251YaTEwOHYP465i0JZ01kKIC7cVSuuQ9nIPDQ0AEJA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kEy+9vl3koPIEoWWcKp7ukklEAZMdw909GR4FYzYMRtX/CnXw466/PJICthSGby3L6IR41/7xKKPtHdRLgGgxcWsO9AUvVAtob5nwdrtl/bLFbqKUMfemb/viDmP3VE4tmUYZvypFT3fiDqU+atE6VVpEemp2BrSqtDhKRiFBTDw6YZ/o1/y2rpiT9pzpn4ZSBsw6hNbEyUHJge7cqAlPZzm0WgN+CG2GzXwDYw1OUTeuKgX2Zwd/L/vJvgfDTxnbpOErV7kQlViyoh8FiWso9dIpisbY4LtZQ6r2OwjtsVuoAwew3U8tbYP5eXIAPUC3il25qiof3JUM5xvA5k76g==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user/>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHaWtgcU3+fb5O7IEmXOSMybp6i87EBs/eAgAARwvyAABFNAIAAB6mF
  • Thread-topic: [sumo-user] Assing device parameters per vehicle type

Excellent! thank you very much!

From: Mirko Barthauer <m.barthauer@xxxxxxxxxxx>
Sent: Friday, February 9, 2024 11:54 AM
To: Ivan Postigo <ivan.postigo@xxxxxx>; Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: AW: [sumo-user] Assing device parameters per vehicle type
 

Hi Ivan,

 

in the general case just add a param child tag with attributes key="<device option>" ("device.driverstate.headwayErrorCoefficient" in your example) and value="<value>" ("0.5" in your case). The general rule is that more specific definitions prevail: vehicle types override global options and vehicles override vehicle types.

 

Best regards

Mirko

 

 

 

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

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

Datum: 2024-02-09T11:00:07+0100

Von: "Ivan Postigo" <ivan.postigo@xxxxxx>

An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>, "Mirko Barthauer" <m.barthauer@xxxxxxxxxxx>

 

 

 

Thanks Mirko,
 
How about the driver state device?
 
I would like for example vehicle 1 to have a "headwayErrorCoefficient = 0.5" and vehicle 2 to have "headwayErrorCoefficient=0.75" just as an example.
 
the global option is : --device.driverstate.headwayErrorCoefficient
 
in the route file the, what would be the "param key" to assign values per vehicle type?
Also, what is the hierarchy, in case i also define default values globally, do the global options override the per vehicle definition? or the otherway around?
 
thanks!
 
 
 
 
 

From: Mirko Barthauer <m.barthauer@xxxxxxxxxxx>
Sent: Friday, February 9, 2024 9:49 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Cc: Ivan Postigo <ivan.postigo@xxxxxx>
Subject: AW: [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
 

 

w


Back to the top