Hi Michael/Leo,
Thank you for writing me back. I tried few ways and was able to run the Platoon simulation. I am using Python 3.6 version. Previously, I used "type" instead of "vType" in the below trip file : <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> <trip id="truck_l0" depart="350.00" from="25865510" to="25887741#1" vType="leader_type1"/> </routes> Thanks and Regards, Vrinda Khirwadkar University of Memphis ________________________________ From: sumo-user-boun...@eclipse.org <sumo-user-boun...@eclipse.org> on behalf of sumo-user-requ...@eclipse.org <sumo-user-requ...@eclipse.org> Sent: Monday, July 16, 2018 2:27 PM To: sumo-user@eclipse.org Subject: sumo-user Digest, Vol 13, Issue 58 Send sumo-user mailing list submissions to sumo-user@eclipse.org To subscribe or unsubscribe via the World Wide Web, visit https://dev.eclipse.org/mailman/listinfo/sumo-user or, via email, send a message with subject or body 'help' to sumo-user-requ...@eclipse.org You can reach the person managing the list at sumo-user-ow...@eclipse.org When replying, please edit your Subject line so it is more specific than "Re: Contents of sumo-user digest..." Today's Topics: 1. Re: Platooning in SUMO (leonhard.luec...@dlr.de) 2. Multiple sumo instances (Thanos Tasakos) 3. Re: Controlling the lateral alignment via TraCI (Umair Durrani) 4. POI (Stefano Niero via sumo-user) 5. Re: POI (Jakob Erdmann) ---------------------------------------------------------------------- Message: 1 Date: Mon, 16 Jul 2018 16:22:07 +0000 From: <leonhard.luec...@dlr.de> To: <sumo-user@eclipse.org> Subject: Re: [sumo-user] Platooning in SUMO Message-ID: <3ce4e0e9cf19094f8562c58d1d8e24c80da2a...@dldeffmimp03exc.intra.dlr.de> Content-Type: text/plain; charset="iso-8859-1" I wasn't able to reproduce the error, either. Please send a minimal failing example. Best, Leo ________________________________________ Von: sumo-user-boun...@eclipse.org [sumo-user-boun...@eclipse.org]" im Auftrag von "Michael Behrisch [o...@behrisch.de] Gesendet: Montag, 9. Juli 2018 09:01 An: Sumo project User discussions; Vrinda Khirwadkar (vkhrwdkr) Betreff: Re: [sumo-user] Platooning in SUMO Hi, our tests are just running fine. Can you send your complete example and also information on the sumo and python version you are using? Best regards, Michael Am 02.07.2018 um 02:19 schrieb Vrinda Khirwadkar (vkhrwdkr): > Hello Team, > > I am trying to implement a Platoon model using the following > configuration provided at this link > :http://sumo.dlr.de/wiki/Simpla#configuration > > I am facing issues while using "simpla" with Traci Client. Below is the > "simpla" configuration file - > > <configuration> > <vTypeMap original="original_type1" leader="leader_type1" > follower="follower_type1" catchup ="catchup_type1" catchupFollower > ="catchupFollower_type1"/> > </configuration> > The corresponding vehicle types are mentioned below: > <routes> > <vType id="original_type1" guiShape="truck" vClass="truck"/> > <vType id="leader_type1" guiShape="truck" vClass="truck"/> > <vType id="follower_type1" guiShape="truck" vClass="truck"/> > <vType id="catchup_type1" guiShape="truck" vClass="truck"/> > <vType id="catchupFollower_type1" guiShape="truck" vClass="truck"/> > </routes> > > I am getting this error : AttributeError: 'PlatoonManager' object has no > attribute '_controlInterval'. > Please let me know if i need to change any input configuration or what > is the correct way ? > > Thanks, > > Vrinda Khirwadkar > > University of Memphis > > > > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user > ------------------------------ Message: 2 Date: Mon, 16 Jul 2018 19:37:05 +0300 From: Thanos Tasakos <thanos....@gmail.com> To: sumo-user@eclipse.org Subject: [sumo-user] Multiple sumo instances Message-ID: <CAAAFAJYfr06EGNPXvcSMG-QO5rZfAr_aVTLdQS9VRjsxw=6...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hello, i want to run in parallel multiple sumo instances (servers) and connect to them using traci. Can i have multiple traci clients so that i have a 1 to 1 mapping (client to server)? Each sumo instance is a different experiment and i want to take some statistics every x seconds from every experiment and if possible combine them. Is it possible? Kind regards, Thanos Tasakos -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dev.eclipse.org/mailman/private/sumo-user/attachments/20180716/b4c27c96/attachment.html> ------------------------------ Message: 3 Date: Mon, 16 Jul 2018 13:03:33 -0400 From: Umair Durrani <durra...@uwindsor.ca> To: Sumo project User discussions <sumo-user@eclipse.org> Subject: Re: [sumo-user] Controlling the lateral alignment via TraCI Message-ID: <capsznk711s2u5c7dn999b9q6gg7eojkstggzk1d_k2zp6uy...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Thank you Jakob. This is a request to the community to please provide any examples of manipulating vtype behavior using TraCI based on some condition. I have a particular problem about controlling the lateral alignment, but an example would help me to write the appropriate code. My problem is explained below. So, the condition that I want to specify is this: Check the class of the vehicle which is *parallel* to a particular car (ID = "EXT") in the neighboring lane. If the class is a "trailer" then change the lateral alignment of the "EXT" car, otherwise, keep the alignment at the default value. *Parallel *is arbitrary so I want to specify that any part of the neighboring vehicle is within the range equal to length + 5 meters of "EXT" (or any other helpful rule). I have found getLaneIndex(), setLatAlignment(), getLanePosition(), etc. functions in traci module that are helpful. Now I'm trying to use an if else statement to write this rule. But am not successful so far. Any ideas are welcome. Thanks in advance. best regards, *Umair Durrani * Ph.D. Candidate Civil and Environmental Engineering LinkedIn <https://www.linkedin.com/in/durraniu/> On Sun, Jul 15, 2018 at 9:28 AM, Jakob Erdmann <namdre.s...@gmail.com> wrote: > Hello, > currently, you can only do this via TraCI by checking the condition > yourself and then setting the alignment parameter or lateral change > explicitly. > regards, > Jakob > > 2018-07-13 17:42 GMT+02:00 Umair Durrani <durra...@uwindsor.ca>: > >> Hi, >> >> Is it possible to programmatically change the lateral alignment (and >> other parameters of sublane model) via TraCI using some condition? For >> instance, I want to align the vehicle to the left when overtaking a truck >> but keep it center aligned when overtaking a car. >> >> best regards, >> *Umair Durrani * >> Ph.D. Candidate >> Civil and Environmental Engineering >> LinkedIn <https://www.linkedin.com/in/durraniu/> >> >> _______________________________________________ >> sumo-user mailing list >> sumo-user@eclipse.org >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/sumo-user >> >> > > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dev.eclipse.org/mailman/private/sumo-user/attachments/20180716/d28e3747/attachment.html> ------------------------------ Message: 4 Date: Mon, 16 Jul 2018 15:31:41 +0000 From: Stefano Niero via sumo-user <sumo-u...@lists.sourceforge.net> To: "sumo-u...@lists.sourceforge.net" <sumo-u...@lists.sourceforge.net> Subject: [sumo-user] POI Message-ID: <am0pr0502mb3921b2f83ab9b90f379007c386...@am0pr0502mb3921.eurprd05.prod.outlook.com> Content-Type: text/plain; charset="us-ascii" Hi, I added a POI in the simulation at a certain point of the simulation. I used this command: traci.poi.add("station1", 50.0, 50.0, (1,1,0,0)) According to what I found in the documentation. The point is that I don't have any representation in the simulation. I don't see it. Moreover, is there any way to set the POI giving the edge and the position in the edge instead of using x,y coordinates? Thank you very much Stefano Niero ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list sumo-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------ Message: 5 Date: Mon, 16 Jul 2018 23:27:56 +0200 From: Jakob Erdmann <namdre.s...@gmail.com> To: Sumo project User discussions <sumo-user@eclipse.org> Subject: Re: [sumo-user] POI Message-ID: <cambucbwu5loyseweatmltlze5go0vaz6iqnrrd8-1nmrgwz...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hello, - your POI is invisible because you have set the fourth component (alpha) to 0 - when loading POIs from an additional file you can define it using attributes 'lane' and 'pos' as an alternative to 'x','y'. - Via TraCI you can use the function simulation.convert2D() to compute x,y positions for a given lane/pos) regards, Jakob 2018-07-16 17:32 GMT+02:00 Stefano Niero <stefano.ni...@hotmail.it>: > Hi, > > I added a POI in the simulation at a certain point of the simulation. I > used this command: > > traci.poi.add(?station1?, 50.0, 50.0, (1,1,0,0)) > According to what I found in the documentation. The point is that I don?t > have any representation in the simulation. I don?t see it. > Moreover, is there any way to set the POI giving the edge and the position > in the edge instead of using x,y coordinates? > > > > Thank you very much > > Stefano Niero > > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dev.eclipse.org/mailman/private/sumo-user/attachments/20180716/bb9d2d29/attachment.html> ------------------------------ _______________________________________________ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user End of sumo-user Digest, Vol 13, Issue 58 *****************************************
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user