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: Thodoris Zerlentis <zerlentis@xxxxxxxx>
  • Date: Thu, 7 Jan 2021 18:04:27 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=OH648UAzgT2jo0tk+L8tAhlnDSWqVIEwpjwM2okKHx8=; b=g2c8/BEme0QXl8IhDITYSt5aPDPd1mwzqfSO1d9GSE28VkEgsh/I0j/m2gQG6oVV1ZQRvFoIGbXHGuHZ2mEgMbXYvNj3q6TTB9L7hMhbjZIhIXuxzSb2yRXBLKugRBOeKWbWdfJga2EFqU7hJGQMzYgkPWj/q0TNbeaG0e/ewz/ahB6SF7EYEpAVVCA8TXB58TjEOOXuoXFH5wDICfP35TwWDyvEGANv6Vb2IZI+2ud9zWpyxtRuUrCQELwmPcLE4qaXUl5IMXxP4IReDr34QkDHPUNNylXqrKGCcW7+EkHgLOsz1GPK3tUfeFDa9y3lcAMRvAt+OsGdj3QhBUAO+g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m1rDpEQktcQ4FaQNAEmtRszm7ROeWy29SnSFrl1zcPPWSP1o2SD7QwYUoJJfe8363EHIOC/UxGGOEGtLyURwdcdbAtQ0NNl34mi/2OFEyF115OLc5CgTog0oZbDM104NBFtVGfNJV1WjfqyYffzb64Hn35i6wp5h0S8B9VSePEOksq5V4hE07DN6LLIgDzcDzHIjU2snrcp7Qf+jqg4mnzKEgGEgKBEdgUZikYifDGBLeOAeDrxd+FiO34mTYhpkWwNvSAlqC3aXQh+JWuVgFws8Nq1Mc9vuQyx6ucOgBSrZ7Q2jdEBvpjDoeZJFDGEiS83NSn6wf3mad/tn5ODWLg==
  • 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>
  • Thread-index: AQHW44nX4xVp4FphrEKcUCNnxWBe6Kob7b8AgAAJaTqAAASlAIAAAsKxgAAhzYCAAFPdWw==
  • Thread-topic: [sumo-user] Error while inserting vehicles from Sumo .rou file using PLEXE

Ok perfect, so i managed to implement my requirment by using the PlatoonsTrafficManager and modifing the .ini file as you mentioned. The human cars are inserted as you mentioned from the .rou file with the standard SUMO way while the platoons cars are handled from the TrafficManager. So i noticed that if my .rou file has multiple routes the platoons cars are inserted with a random or the first one ( i am not sure which one ). If i want to have a scenario with multiple routes (lets say 10 different routes) and the platoons can only use specific ones (only 3 routes) i must modify the TraCIBaseTrafficManager and tell it exactly which ones i want to use for platoons? Am i correct?.

Best regards,
Thodoris


From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Michele Segata <michele.segata@xxxxxxxx>
Sent: Thursday, January 7, 2021 2:50 PM
To: sumo-user@xxxxxxxxxxx <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] Error while inserting vehicles from Sumo .rou file using PLEXE
 
This is also possible and there is an example in examples/human.
Basically there you have a single platoon plus a human driven vehicle on
a side lane that sends 802.11p messages as well. If you look at the
omnetpp.ini file you will find the following:

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

This means that a vtypehuman vehicle in SUMO will be instantiated as a
HumanCar node in OMNeT++ by Veins. You find the definition of
HumanCar.ned inside the examples/human folder. As you see, the HumanCar
node has a different stack. It uses an 802.11p NIC but a different
application.
Before running this example, please fetch the plexe-3.0a3 release from
github I just pushed. I noticed I mistake an I've quickly fixed it.

Let me know.
Best,
Michele

On 07/01/2021 11:54, Thodoris Zerlentis wrote:
> Great I will try it, thank you. But I would like to ask you if I want
> the human-driven cars to be able to send messages to an RSU node, and
> that means veins must create a node for each vehicle, will it complicate
> things?? The human car type will only send those messages and won't
> involve as I said previously with joining or creating platoons.
>
> 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/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top