Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Error while inserting vehicles from Sumo .rou file using PLEXE
  • From: Michele Segata <michele.segata@xxxxxxxx>
  • Date: Thu, 7 Jan 2021 11:39:56 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=unibz.it; dmarc=pass action=none header.from=unibz.it; dkim=pass header.d=unibz.it; 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-SenderADCheck; bh=u7vIcm134Ezto3QCek9MiP3cJ43jMpheKsTWeVS/oXo=; b=KxR95YopjKQy3WBq/uTMwhXBZQ+K3IIah+8IKMPweLkHGweoAk38DjCBXThNRsdF/xQ+K5dhV9BVe+AjQ5fkFZO+k4zHITproTYisIVEz5TyW2htLUp/m3j/Joq6pyMgu2sPCwtkmcquV0pKui42qhKmDBNBghG3s2fyyssSI1gE+iFb1gJStC82D/FjR1ukmiVMJyLYYbwoq64QMjvd+3K8AcqJJO55+R5uZG/5NsM1AVzi47fYdoA5kbLuu8nDnp53J/VoDIrHKt4+HABAnljVbMZNZQz3YB27V3UsWPBBwJ2Db+HOCUx7HpD4n54Pgk+nclaqrzOV/Mqwa1FbOA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gCbSieAssswWv5RiFWAi9OppRUe3FvXZsTJ2NP+8hz4P2NU16loVDrfJFCUEt5omlUx4SODyYqftQHVYmX1QqsbwkgDrPOJ3gPzAUv2OJAtIUmXgn491VLb0fpkzB6cePEG9wCinD6zyqOPlUw62HKJcam6PWY9fp6qWEHGI8nQRgbw/Izr990G6Kh5Z0cGeB2yjXo5DTxtdweuEeGOwoRv7TTkPIIFXqM/ili6qDKiLtCWNL+q0vwwBMYa7eF1F4JXMPuI1ZpvF0vtLa8Wu4ps0W20HcoSzrt3j+EAyOV09szjDxO/HVytRGVvBtX5SjPM/GITfGUfqb7DMiiJJjw==
  • 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>
  • User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

This is great, because you can easily circumvent the issue then.

You can simply use the classic traffic manager to inject platoons whenever you want. You will have to modify it, but it should be easy.

Then simply create a .rou file that inserts traffic using the standard SUMO way. Give them a different SUMO type name, for example "vtypeauto" for platooning vehicles and "vtypehuman" for human-driven vehicles. Then edit the omnetpp.ini file to have something like this:

*.manager.moduleType = "vtypeauto=org.car2x.plexe.PlatoonCar vtypehuman=0"
*.manager.moduleName = "vtypeauto=node vtypehuman=human"

vtypehuman=0 tells Veins not to instantiate a network node for vehicles of that type.

Try this out and let me know if this works.

Best,
Michele

On 07/01/2021 11:29, Thodoris Zerlentis wrote:
Thank you for your response Michele. In my scenario I want to have regular-human driven cars with NO capability of forming platoons or even joining. About the platoons I want to insert them at specific time step. So in general the traffic would be human-driven and casually (like let's say every 5minutes) platoons will pop up and enter the simulation.

Best regards,
Thodoris Zerlentis

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
Michele Segata, PhD
Assistant Professor, Faculty of Computer Science
University of Bolzano, Italy
https://www.inf.unibz.it/~segata/


Back to the top