Re: [sumo-user] Reinforcement learning for public transport system
Hi, You can give a look to https://github.com/lcodeca/rllibsumoutils and https://www.researchgate.net/publication/354696888_Using_Deep_Reinforcement_Learning_to_Coordinate_Multi-Modal_Journey_Planning_with_Limited_Transportation_Capacity, presented last year at the SUMO User conference. Best, Lara On Tue 15 Mar 2022 at 09:23, Pearla Hajjar wrote: > Hello, > > Thank you for your reply. I checked the link you sent, but I didn't see > how it can help me with RL in sumo. I have managed to mess around using > traci, but I don't get the idea of how RL will work with sumo. > > Every example I see is about the traffic lights only. > > Regards, > > Perla HAJJAR > > > -- > *From:* sumo-user on behalf of Lokesh Das > > *Sent:* Sunday, March 13, 2022 5:45:32 AM > *To:* Sumo project User discussions > *Subject:* Re: [sumo-user] Reinforcement learning for public transport > system > > Hi > The following link would be a very helpful and good starting point. SUMO > works as an environment and TraCI has APIs to bridge between RL algorithm > and SUMO. > > https://sumo.dlr.de/docs/TraCI.html > > Thanks, > Lokesh > > On Fri, Mar 11, 2022 at 10:20 AM Pearla Hajjar > wrote: > > Hello all, > > I am new to sumo and I am currently creating a public transport system > simulation. I want want to apply reinforcement learning on the buses to > apply some strategy. > > I don't know where to start from regarding how to implement the > environment of RL in sumo, how to link it to the graphical interface and > how to store states. > > Is there any link or documentation on how to implement these parameters? I > would appreciate any resources you provide. > > Regards, > > Perla HAJJAR > > Ph.D Student- Universite de Versailles SQ and Communauté d’Agglomération > de Saint Quentin en Yvelines > > Direction des Mobilités- Navettes autonomes > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Polyconvert fails
Hi, have you tried to call polyconvert directly to see what's the exact error that is giving you? You have the parameters in the error message: *['polyconvert', '--osm', 'CentreRabatSale3zones.osm', '--net', 'osm.net.xml', '-o', 'osm_polygons.add.xml']* Best, Lara On Mon, Dec 27, 2021 at 11:37 AM Arbi Alaouy wrote: > Hi Everyone, > I hope this email finds you well, > > I have chosen to work on a small area of an urban area for > time execution issues. I prepared the map as usual. However, When I started > applying SAGA on the new map, I got a problem on the polyconvert script > step as shown below: > > > Generate polygons using polyconvert. > Warning: 47 total messages of type: Ambiguity in turnarounds computation > at junction '%'. > Warning: 26 total messages of type: Ambiguous node type for node cluster > '%' (%,%), setting to 'priority'. > Warning: 13 total messages of type: Found angle of % degrees at edge '%', > segment %. > Warning: 23 total messages of type: Found sharp turn with radius % at the > end of edge '%'. > Warning: 27 total messages of type: Found sharp turn with radius % at the > start of edge '%'. > Warning: 12 total messages of type: Intersecting left turns at junction > '%' from lane '%' and lane '%' (increase junction radius to avoid this). > Warning: 33 total messages of type: Minor green from edge '%' to edge '%' > exceeds %m/s. Maybe a left-turn lane is missing. > Warning: 93 total messages of type: Not joining junctions % (%). > Warning: 46 total messages of type: Reducing junction cluster % (%). > Warning: 12 total messages of type: Removed a road without junctions: %. > Warning: 134 total messages of type: Speed of % connection '%' reduced by > % due to turning radius of % (length=%, angle=%). > Traceback (most recent call last): > File > "D:\Etudes\Postdoc\Workspaces\gitWorkspaces\silcovid19ihm/saga/scenarioFromOSM.py", > line 496, in > main(sys.argv[1:]) > File > "D:\Etudes\Postdoc\Workspaces\gitWorkspaces\silcovid19ihm/saga/scenarioFromOSM.py", > line 430, in main > > * _call_polyconvert(args.osm_file) File > "D:\Etudes\Postdoc\Workspaces\gitWorkspaces\silcovid19ihm/saga/scenarioFromOSM.py", > line 215, in* *_call_polyconvert* > > > > * subprocess.check_call(polyconvert_options) File "C:\Program > Files\Python38\lib\subprocess.py", line 364, in check_callraise > CalledProcessError(retcode, cmd)subprocess.CalledProcessError: Command > '['polyconvert', '--osm', 'CentreRabatSale3zones.osm', '--net', > 'osm.net.xml', '-o', 'osm_polygons.add.xml']' returned non-zero exit status > 3221225477.* > > > I did research on this issue with the same error message, but sadly I > found nothing. since it is not clear. > Can I get a help with this error message , especially the *exit status > 3221225477* > > Thank you and Happy day :) > Best regards. > > -- > El-arbi > > > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] LuST Dataset Timing
If you tell SUMO to start the sim at 8 AM, it will load the routes with a start time from 8 AM onward. Obviously, the number of vehicles and the level of congestion is going to be very different from the complete simulation. I would just run it whole collecting everything you need and filtering afterward. Regards, Lara On Mon, Feb 15, 2021 at 3:45 PM Moyukh Laha wrote: > Thanks, Lara. > > If I don't run it from the start, I won't see a similar number of running > vehicles? 5000-ish at 8 AM (as shown in the images)? > Or the number of ON vehicles will be in the same range, but the congestion > may be different? > > My primary target is to know each of the vehicles' positions at each time > step (snaps of the system) during the busy hour. > > Moyukh > > > On Mon, Feb 15, 2021 at 8:44 PM Lara Codeca wrote: > >> Hi, >> >> yes. 0 = midnight. >> >> > I want to generate traffic only from 8AM to 8:02AM, ... >> You need to take into account that the morning rush hour is due to what >> happened before. so if you don't run all of it, you are not going to have >> the same level of congestion. >> But yes, you need to change the start time, end time, and step. >> Keep into account that LuST was built for a sumo version that it's >> obsolete. I have no idea how would it behave with the latest SUMO version. >> >> Regards, >> Lara >> >> On Mon, Feb 15, 2021 at 2:39 PM Moyukh Laha wrote: >> >>> Hello, >>> As described in the paper, the LuST dataset is of 24hrs. I find the >>> sumo.cfg file starts from 0 with step size 1 (without any end field). >>> I want to confirm the starting time of the cfg? Is it 12 AM? >>> >>> For example, if I want to generate traffic only from 8AM to 8:02AM, >>> should I use--- >>> start time = (3600x8) = 28,800 >>> end time = 28,800 + 120 (60 x 2 min) = 28920? and step size = 1 >>> Is my understanding correct? >>> >>> And if I want the step size as 0.1 (i.e. snaps at every 0.1s), how >>> should I modify the cfg? Only the step-size or both start and end time >>> needs to be adjusted accordingly? >>> >>> Thanks. >>> >>> ___ >>> sumo-user mailing list >>> sumo-user@eclipse.org >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> ___ >> sumo-user mailing list >> sumo-user@eclipse.org >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] LuST Dataset Timing
Hi, yes. 0 = midnight. > I want to generate traffic only from 8AM to 8:02AM, ... You need to take into account that the morning rush hour is due to what happened before. so if you don't run all of it, you are not going to have the same level of congestion. But yes, you need to change the start time, end time, and step. Keep into account that LuST was built for a sumo version that it's obsolete. I have no idea how would it behave with the latest SUMO version. Regards, Lara On Mon, Feb 15, 2021 at 2:39 PM Moyukh Laha wrote: > Hello, > As described in the paper, the LuST dataset is of 24hrs. I find the > sumo.cfg file starts from 0 with step size 1 (without any end field). > I want to confirm the starting time of the cfg? Is it 12 AM? > > For example, if I want to generate traffic only from 8AM to 8:02AM, should > I use--- > start time = (3600x8) = 28,800 > end time = 28,800 + 120 (60 x 2 min) = 28920? and step size = 1 > Is my understanding correct? > > And if I want the step size as 0.1 (i.e. snaps at every 0.1s), how should > I modify the cfg? Only the step-size or both start and end time needs to be > adjusted accordingly? > > Thanks. > > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Edges with bi-directional lanes
Hi Hriday, the link you sent ( https://sumo.dlr.de/docs/Networks/PlainXML.html#neighboring_opposite-direction_lanes) is used to allow drifting on the opposite lane, not to build a lane in the opposite direction. In SUMO, edges are directional. You can see it in their definition, from node to node, and that gives the direction. There are only a few specific lanes that are bidirectional, like railways, for example. Regards, Lara On Thu, Feb 11, 2021 at 6:49 PM Hriday Sanghvi wrote: > Hello, > > I am trying to create a network one junction at the center and four edges > branching out from there in cardinal directions. But I need all these edges > to have 2 lanes, each lane allowing the passage of vehicles in the opposite > direction. > > I have referred to > https://sumo.dlr.de/docs/Networks/PlainXML.html#neighboring_opposite-direction_lanes > and tried to do it myself but it seemingly creates a new EDGE that acts as > the opposite-direction lane instead. > [image: Screenshot from 2021-02-11 18-44-28.png] > You may notice the gaps between the edges that are supposed to be > "neighbouring lanes". > > The closes image I found to what I am trying to achieve is as given: > > [image: ref img.jpg] > Note how the blue and orange car are facing. Assuming the blue car travels > straight upwards instead of right. Is it possible to get such a edge with > two lanes(bidirectional) > -- > Hriday > https://www.linkedin.com/in/hriday-sanghvi/ > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] OSM Node ID and SUMO IDs Confusion
Hello, I extensively hand-fixed the OSM file in JOSM to achieve a working network, and at the time (2014ish), each save was still changing the internal IDs. Regards, Lara On Thu, Nov 5, 2020 at 7:24 AM Jakob Erdmann wrote: > 1) For a relation between OSM and SUMO-ids, see > https://sumo.dlr.de/docs/Networks/Import/OpenStreetMap.html#dismissing_unwanted_traffic_modes > However, I think that LuST is not based on raw xml but rather on > pre-processed data that only looks like OSM. For details on geometry you > better ask the author of the Scenario directly. > > 2) There are various ways to add custom colors to a sumo .net.xml. If you > just need two colors, the easiest way is to define a selection of edges and > junctions and then use 'color by selection' and set the two colors. For a > more general edge coloring, see > https://sumo.dlr.de/docs/sumo-gui.html#visualizing_edge-related_data > > regards, > Jakob > > Am Do., 5. Nov. 2020 um 03:48 Uhr schrieb Moyukh Laha >: > >> Hello everyone, >> >> How the osm node ids and the sumo junction ids are related? I am looking >> at LuST. The lust.net.xml file has junction ids for the junctions. For >> example, >> >> >> Same is present at Lust.polygons.osm file as >> >> >> And in the lust.legacy.scenario.osm file as >> >> >> In the last two files, the node ids are same but their lat lon are >> different. Why? >> Also when it is made to the lust.net.xml how they are mapped and from >> which file? >> >> I am trying to plot few junctions and their connecting edges (like a >> tree) on top of the map file (osm file). Now the processing is done with >> the sumo ids and when I try the same ids to plot on the osm file some of >> the nodes are not matching or their connecting paths are not matching (i.e >> they are distant nodes, not adjacent). I am confused with the ids of the >> osm files and the sumo files and how they are related? >> >> BDW is there any way so that I can plot few junctions and their >> connecting edges (like a tree) on the sumo file itself rather than on the >> osm map file? I know about NetEdit and can manually select the junction and >> edge ids to plot them. But I have too many nodes to plot manually. How do I >> solve this issue? >> >> Thanks. >> ___ >> sumo-user mailing list >> sumo-user@eclipse.org >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] routing
Hi, If the period is equal to the simulation step, it’s gonna recompile the best route every time. Regards, Lara On Fri 2 Oct 2020 at 16:58, Raheleh Zarei wrote: > Hello, > > I want to use automatic rerouting, not periodic rerouting. We can't have > automatic rerouting while a vehicle running in the network(In traffic jam > condition)? > > Best, > Raheleh > > On Fri, Oct 2, 2020 at 9:26 AM wrote: > >> Hi Raheleh, >> >> >> >> I think the reason is that you are missing the option „ >> --device.rerouting.period”, >> as it says in the Wiki: “Please note that if a vehicle gets a routing >> device only rerouting before insertion is active by default. In order to >> activate periodic rerouting en route set --device.rerouting.period.” (see >> https://sumo.dlr.de/docs/Demand/Automatic_Routing.html#options). >> >> >> >> Regards, >> >> Giuliana >> >> >> >> *From:* sumo-user-boun...@eclipse.org [mailto: >> sumo-user-boun...@eclipse.org] *On Behalf Of *Raheleh Zarei >> *Sent:* Dienstag, 29. September 2020 17:10 >> *To:* Sumo project User discussions >> *Subject:* [sumo-user] routing >> >> >> >> Hello, >> >> >> >> I have two questions please. >> >> - I have a sumo configuration file like this: >> >> sumo.exe --routing-algorithm HL -n ./Mtl.net.xml -r >> ./RoutingSim1.rou.xml --junction-taz true >> --device.rerouting.adaptation-interval 100 --tripinfo-output ./tripinfo.xml >> --vehroute-output ./vehroute.xml --vehroute-output.cost true >> --vehroute-output.route-length true --duration-log.statistics true >> --xml-validation never --verbose true --device.rerouting.probability 1 >> >> >> >> RoutingSim1.rou.xml contains 1 vehicles that depart at each >> simulation step. >> >> In vehroute file, for some vehicles, rerouting have happened and log is >> like this: >> >> > routeLength="7659.49"> >> >> >> >> > reason="device.rerouting" replacedAtTime="246.00" probability="0" >> edges="665 664 663 662 661 55 54 737 3574 3575 3189 3190 2146 2147 2149 >> 2351 2148 3388 3389 1347 2905 1344 1345 1346 1300 2328 2061 1355 3756 2920 >> 3611 2329 2330 2914 2915 2916 2917 2921 2179 2923 2924 2815 2620 3033 1943 >> 858 857 859 770 768 767 1042 769 753 884 106 3249 1551 3255 3253 3731 3732 >> 3147 1440 2722"/> >> >> >> >> >> >> >> >> >> >> All routings have happened are like this. The saving is 0, Replacedage is >> empty and there is not a change in the route. As log file shows, there was >> some jam and I was wondering why rerouting actually didn't happen. >> >> >> >> - Another question is: why I see different number of queries in the log >> file? I have 1 vehicles in route file, but I've got different answered >> query number. >> >> >> >> HLRouter answered 9970 queries and explored ... >> >> In another case, that the number of vehicles in route file is smaller( >> 1000) , I get a bigger number of (1004). >> >> >> >> Thanks for your help. >> >> Raheleh >> >> >> > -- >> >> *RAZ* >> ___ >> sumo-user mailing list >> sumo-user@eclipse.org >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > > > -- > *RAZ* > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] misbehaviour of LuST simulation
Hello, I don't know about the ContextSubscription part of it, but the reason why you should "only use version 0.26 for the LuST scenario" is because I built and validated the mobility with it. Newer versions of SUMO have better and improved mobility models and the congestion levels in parts of the city are very different. This is actually what I think is happening with the different number of vehicles. If SUMO cannot insert the vehicles due to congestion, they sort of time out and get discarded. Hope it helps. Regards, Lara On Thu, Sep 10, 2020 at 10:36 AM blubb wrote: > Dear user group, > > I experienced misbehaviour in my LuST simulation. The problem is that > the simulation I ran recently has way more traces than anticipated. I > will attach the source code (extracttraces.py) for the simulation as > well as the lust.config. > > Basically I want to generate traces over one day and insert them into > some database. Also I use the ContextSubscription feature to see if the > vehicles are within observation radius of some specific junctions (the > 50 with most traffic throughput). > > When I ran the simulation a few months ago I got about 209 Mio traces > with 214315 different vehicles. Unfortunately I can't determine the > source code and config of this simulation, but it should have been the > same as I use now. > > However when I run the simulation now I get more than the double amount > of traces (427 Mio) with slightly less vehicles (213424). > > So somehow the new simulation generated way more traces which is very > unfortunate. > > By comparing the both databases I found out that both of them have > roughly the same amount of trace within the simulation time 0s < time < > 6s (around 90 Mio traces). > > At some point after this the new database and the old one diverge in the > number of traces. > > (6s < time < 86400s : old : 120 Mio, new 338 Mio traces). > > So something is going wrong there but I can't figure out what it is. > > It could be that I ran the old dabase on an older version of sumo. The > new one is running on sumo 1.6.0. > > I recently read that I should only use version 0.26 for the LuST > scenario, but it is hard to imagine that this misbehaviour comes from > different versions. > > However, if you have any advice for me I will be glad to hear from you. > > Kind regards > > Knut > > > ___ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] Error with flows definition in the development version
Hello Everyone, I'm a maintainer of a couple of open-source tools related to SUMO. With SUMO 1.6 my small toy scenario works fine. With the devel version was working fine until yesterday. Something has changed in the last 3 weeks, but I don't know what. Nonetheless, the problem is with the flow definition, and it makes me think that this problem is going to break a lot of scenarios already available. I suppose something major has changed, but I cannot find it associated with the Issues already open. Version: Eclipse SUMO sumo Version v1_6_0+1493-02f4414fa4 Error: sumo sumo.cfg.xml Loading configuration ... done. Error: no declaration found for element 'flows' In file 'flows.xml' At line/column 3/8. Quitting (on error). Attached you can find the 3 files required to run the scenario. In case the attachments are blocked, the example is available at https://github.com/lcodeca/rllibsumoutils/tree/master/example/scenario. Thanks all for your time. All the Best, Lara http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd;> http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd;> ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] traci.simulation.findIntermodalRoute departure time
Dear All, I'm using traci.simulation.findIntermodalRoute and I have some questions: - is the depart parameter in seconds or ms? (I'm using simulation.getTime() to retrieve the current simulation time) - independently of the depart value that I ask, the departure time of the first stage is always -1 Am I using it wrong? Regards, Lara ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Flow, SUMO and MoSTScenario
Thank you for the info, Jakob. I would love to know what's going on with the project. The only reason why I'm not using Flow it is because I need to stick with the development version of sumo. The link you posted is expired, do you know if there is someone we can contact in order to stay up to date? All the Best, Lara On Mon, Dec 2, 2019 at 3:13 PM Jakob Erdmann wrote: > The developers of Flow are working on their support for a more recent > version of SUMO. > They have recently migrated their technical support away from > stackoverflow to slack. > I would advise to talk to them directly on their slack channel > > https://flow-users.slack.com/join/shared_invite/enQtNzk5NzE1OTkyNTE0LTU0YmE5ZTVkZmJmNDg1Nzg2YThjOThmY2ZlYWE2ZjQ0NTE1NjE3Y2YwMTljY2U5M2Y3MDhmMWUzZDM3YWViNmE > > regards, > Jakob > > > > Am Mo., 2. Dez. 2019 um 15:16 Uhr schrieb Lara Codeca < > lara.cod...@gmail.com>: > >> Hi Alberto, >> >> I have never used Flow, but I use SUMO and RLLIB too. >> The only doc I found on Flow is >> https://berkeleyflow.readthedocs.io/en/latest/flow_setup.html >> On that page, they say to clone sumo and then use the checkout 1d4338ab80 >> That checkout is from 2017 if I found it right ( >> https://github.com/eclipse/sumo/commit/1d4338ab80), and it's tagged >> as tags/v0_32_0~762. >> At the time I was still working on MoST and most of the features used in >> it were fixed from the SUMO version 1.0 onwards. >> This is to say, I can't help you with Flow, but I'm not sure MoST + Flow >> would work in the first place. >> >> Regards, >> Lara >> >> >> >> On Fri, Nov 29, 2019 at 1:34 PM Alberto Coello >> wrote: >> >>> Hello, >>> I would like to train a single controlled agent in the MoSTScenario with >>> flow, my problem is that I want the default configuration of the >>> MoSTScenario not to be touched by flow. The thing is that I want to >>> maintain all the configuration in the MoSTScenario(traffic lights >>> functioning, car following models used by no-controlled agents,etc) and >>> just include a vehicle controlled by me trained with RLlib. In flow >>> tutorials the vehicle configuration used is the one defined by flow not the >>> already existing in sumo, I do not know if there is someone there that has >>> already done something like this and could help me. >>> Thanks a lot, >>> Alberto >>> ___ >>> sumo-user mailing list >>> sumo-user@eclipse.org >>> To change your delivery options, retrieve your password, or unsubscribe >>> from this list, visit >>> https://www.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://www.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://www.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://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Flow, SUMO and MoSTScenario
Hi Alberto, I have never used Flow, but I use SUMO and RLLIB too. The only doc I found on Flow is https://berkeleyflow.readthedocs.io/en/latest/flow_setup.html On that page, they say to clone sumo and then use the checkout 1d4338ab80 That checkout is from 2017 if I found it right ( https://github.com/eclipse/sumo/commit/1d4338ab80), and it's tagged as tags/v0_32_0~762. At the time I was still working on MoST and most of the features used in it were fixed from the SUMO version 1.0 onwards. This is to say, I can't help you with Flow, but I'm not sure MoST + Flow would work in the first place. Regards, Lara On Fri, Nov 29, 2019 at 1:34 PM Alberto Coello wrote: > Hello, > I would like to train a single controlled agent in the MoSTScenario with > flow, my problem is that I want the default configuration of the > MoSTScenario not to be touched by flow. The thing is that I want to > maintain all the configuration in the MoSTScenario(traffic lights > functioning, car following models used by no-controlled agents,etc) and > just include a vehicle controlled by me trained with RLlib. In flow > tutorials the vehicle configuration used is the one defined by flow not the > already existing in sumo, I do not know if there is someone there that has > already done something like this and could help me. > Thanks a lot, > Alberto > ___ > sumo-user mailing list > sumo-user@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.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://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] SUMO 0.26 vs SUMO 1.3.1
Hi Alberto, here: https://sumo.dlr.de/docs/ChangeLog.html Regards, Lara On Thu, Oct 31, 2019 at 5:53 PM Alberto Coello wrote: > Dear SUMO users, > I wanted to know if there is a place where the different features of each > version are explained. Right now I am trying to do a simulation with LuST > but it only works properly in 0.26, as is indicated on their github, and I > would like to know what I am losing due to the use of this older version. > Thanks a lot, > Alberto > ___ > sumo-user mailing list > sumo-user@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.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://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] tripinfo device & xml schema
Thank you, Jakob. But the patch for 1) works with the command line and the configuration file. I cannot find in the TraCI APIs [https://sumo.dlr.de/pydoc/traci.html] how, if possible, can I attach a device to a newly created person or vehicle. Regards, Lara. On Tue, Oct 22, 2019 at 10:20 AM Jakob Erdmann wrote: > 1) Yes. (https://github.com/eclipse/sumo/issues/6180) > 2) Fixed. ( > https://github.com/eclipse/sumo/commit/d2b9de307b6fb16f1ef8dbe59397b92762704a1d > ) > > Am Di., 22. Okt. 2019 um 10:25 Uhr schrieb Lara Codeca < > lara.cod...@gmail.com>: > >> Dear All, >> >> I have a couple of question on the tripinfo [ >> https://sumo.dlr.de/docs/Simulation/Output/TripInfo.html] >> >> 1) Is it possible to enable or disable the tripinfo device [ >> https://sumo.dlr.de/docs/Developer/How_To/Device.html#msdevice_tripinfo] >> using traci? I need the tripinfo data only from a subset of vehicles and >> people (the one I'm creating and inserting on the fly) in a very large >> simulation. >> >> 2) I'm using the lxml python library to process the tripinfo file as it's >> done in xml2csv.py. When I'm enabling the validation using the XMLScchema >> provided in >> https://github.com/eclipse/sumo/blob/master/data/xsd/tripinfo_file.xsd i >> get error such as "lxml.etree.XMLSyntaxError: Element 'walk', attribute >> 'duration': [facet 'minInclusive'] The value '-1' is less than the minimum >> value allowed ('0')." This kind of errors are happening with and without >> the option "tripinfo-output.write-unfinished" enabled. I don't think that >> this is how it sould work, otherwise I don't see the point tin the XML >> validation at all. I cannot attach the tripinfo output because it's too >> big, but I can send it if someone is interested. Anyway, entries like this >> are the issue: >> >> > depart="-1" arrival="-1" arrivalPos="50.07" duration="-1" >> routeLength="1.00"/> >> > arrivalPos="44.18" duration="-1" routeLength="215.75" timeLoss="0.00" >> maxSpeed="1.27"/> >> > actType="P-D"/> >> > arrivalPos="50.07" duration="-1" routeLength="215.75" timeLoss="0.00" >> maxSpeed="1.27"/> >> > arrivalPos="64.61" duration="-1" routeLength="-1.00"/> >> > actType="Home"/> >> >> It's generated using Eclipse SUMO Version v1_3_1+0653-4280adad30. >> >> Thank you in advance for your time. >> >> All the Best, >> Lara >> ___ >> sumo-user mailing list >> sumo-user@eclipse.org >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://www.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://www.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://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] tripinfo device & xml schema
Dear All, I have a couple of question on the tripinfo [ https://sumo.dlr.de/docs/Simulation/Output/TripInfo.html] 1) Is it possible to enable or disable the tripinfo device [ https://sumo.dlr.de/docs/Developer/How_To/Device.html#msdevice_tripinfo] using traci? I need the tripinfo data only from a subset of vehicles and people (the one I'm creating and inserting on the fly) in a very large simulation. 2) I'm using the lxml python library to process the tripinfo file as it's done in xml2csv.py. When I'm enabling the validation using the XMLScchema provided in https://github.com/eclipse/sumo/blob/master/data/xsd/tripinfo_file.xsd i get error such as "lxml.etree.XMLSyntaxError: Element 'walk', attribute 'duration': [facet 'minInclusive'] The value '-1' is less than the minimum value allowed ('0')." This kind of errors are happening with and without the option "tripinfo-output.write-unfinished" enabled. I don't think that this is how it sould work, otherwise I don't see the point tin the XML validation at all. I cannot attach the tripinfo output because it's too big, but I can send it if someone is interested. Anyway, entries like this are the issue: It's generated using Eclipse SUMO Version v1_3_1+0653-4280adad30. Thank you in advance for your time. All the Best, Lara ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Output (files) values from TraCI
Great! Thank you, Harald. I had no idea xml2csv is able to read streams! Cheers, Lara On Mon, Sep 30, 2019 at 3:38 PM Harald Schaefer wrote: > > Hello Lara, > > xml2csv.py is an example of a python script, which can read sockets > > Regards, Harald > > Am 30.09.19 um 11:18 schrieb Lara Codeca: > > Thank you, Jakob. > > > > I'm going to try to use the sockets option. Are there examples? I > > cannot find any. Is the format exactly like the XML file? > > > > Thank you again, > > Lara > > > > On Fri, Sep 27, 2019 at 8:03 PM Jakob Erdmann wrote: > >> Hello Lara, > >> It wouldn't be too difficult to retrieve data from the tripinfo- and > >> vehroute-device by extending the vehicle.getParameter API > >> (https://sumo.dlr.de/docs/TraCI/Vehicle_Value_Retrieval.html#supported_device_parameters) > >> However, your requirement to get these values when the vehicle exits the > >> simulation is hard to achieve because this also triggers cleanup of the > >> devices. > >> I think the easiest way to get these values at runtime is supply a socket > >> address instead of an output file for each of these output options and > >> then have your script read from these sockets. > >> (https://sumo.dlr.de/docs/Basics/Using_the_Command_Line_Applications.html#writing_files) > >> > >> regards, > >> Jakob > >> > >> > >> Am Fr., 27. Sept. 2019 um 19:39 Uhr schrieb Lara Codeca > >> : > >>> Dear All, > >>> > >>> I need to retrieve the same info that can be dumped in the following > >>> files: > >>> * https://sumo.dlr.de/docs/Simulation/Output/TripInfo.html > >>> * https://sumo.dlr.de/docs/Simulation/Output/VehRoutes.html > >>> * https://sumo.dlr.de/docs/Simulation/Output/StopOutput.html > >>> > >>> but I need it to be done during the simulation when the vehicle/person > >>> exits the simulation. > >>> Is there a way to do it using TraCI without having to subscribe to all > >>> the vehicles+people and compute them all by myself? This solution > >>> would not scale, and I need like to keep consistency with sumo for all > >>> the retrievable stats. For example, the timeLoss must be the same in > >>> the sumo output and in my results. > >>> > >>> Any Ideas? I cannot find any API that would help me in doing this, but > >>> I'm willing to try to implement new ones if it's feasible. > >>> > >>> All the Best, > >>> Lara > >>> ___ > >>> sumo-user mailing list > >>> sumo-user@eclipse.org > >>> To change your delivery options, retrieve your password, or unsubscribe > >>> from this list, visit > >>> https://www.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://www.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://www.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://www.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://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Output (files) values from TraCI
Thank you, Jakob. I'm going to try to use the sockets option. Are there examples? I cannot find any. Is the format exactly like the XML file? Thank you again, Lara On Fri, Sep 27, 2019 at 8:03 PM Jakob Erdmann wrote: > > Hello Lara, > It wouldn't be too difficult to retrieve data from the tripinfo- and > vehroute-device by extending the vehicle.getParameter API > (https://sumo.dlr.de/docs/TraCI/Vehicle_Value_Retrieval.html#supported_device_parameters) > However, your requirement to get these values when the vehicle exits the > simulation is hard to achieve because this also triggers cleanup of the > devices. > I think the easiest way to get these values at runtime is supply a socket > address instead of an output file for each of these output options and then > have your script read from these sockets. > (https://sumo.dlr.de/docs/Basics/Using_the_Command_Line_Applications.html#writing_files) > > regards, > Jakob > > > Am Fr., 27. Sept. 2019 um 19:39 Uhr schrieb Lara Codeca > : >> >> Dear All, >> >> I need to retrieve the same info that can be dumped in the following files: >> * https://sumo.dlr.de/docs/Simulation/Output/TripInfo.html >> * https://sumo.dlr.de/docs/Simulation/Output/VehRoutes.html >> * https://sumo.dlr.de/docs/Simulation/Output/StopOutput.html >> >> but I need it to be done during the simulation when the vehicle/person >> exits the simulation. >> Is there a way to do it using TraCI without having to subscribe to all >> the vehicles+people and compute them all by myself? This solution >> would not scale, and I need like to keep consistency with sumo for all >> the retrievable stats. For example, the timeLoss must be the same in >> the sumo output and in my results. >> >> Any Ideas? I cannot find any API that would help me in doing this, but >> I'm willing to try to implement new ones if it's feasible. >> >> All the Best, >> Lara >> ___ >> sumo-user mailing list >> sumo-user@eclipse.org >> To change your delivery options, retrieve your password, or unsubscribe from >> this list, visit >> https://www.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://www.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://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] Output (files) values from TraCI
Dear All, I need to retrieve the same info that can be dumped in the following files: * https://sumo.dlr.de/docs/Simulation/Output/TripInfo.html * https://sumo.dlr.de/docs/Simulation/Output/VehRoutes.html * https://sumo.dlr.de/docs/Simulation/Output/StopOutput.html but I need it to be done during the simulation when the vehicle/person exits the simulation. Is there a way to do it using TraCI without having to subscribe to all the vehicles+people and compute them all by myself? This solution would not scale, and I need like to keep consistency with sumo for all the retrievable stats. For example, the timeLoss must be the same in the sumo output and in my results. Any Ideas? I cannot find any API that would help me in doing this, but I'm willing to try to implement new ones if it's feasible. All the Best, Lara ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] SUMO User Conference proceedings
Hello Harald, for 2019 on the site I see only slides, not the proceedings. I Googled "SUMO User Conference 201X" for all of them, and I cannot find them anymore. I remember that they were them at least for 2014 because I was there and I used the DLR site to link it to others. I don't know how to read your "Archiv 2017 resp. 2016 resp 2015", sorry. What do you mean? Cheers, Lara On Wed, Aug 14, 2019 at 12:47 PM Harald Schaefer wrote: > > Hi Lara > > the 2019 Proceedings are here > https://www.dlr.de/ts/en/desktopdefault.aspx/tabid-13212/23113_read-53575/ > For 2017, 2016 and 2015 there proceedings in the Archiv 2017 resp. 2016 > resp 2015 > > For 2018 there are no proceedings on the Sumo Conference page > > Greetings, Harald > > Am 14.08.19 um 13:37 schrieb Lara Codeca: > > Dear Community, > > > > I was looking for the proceedings of all the conferences over the years. > > They used to be on the DLR website, but now I cannot find them anymore. > > Are they still available? > > > > Best Regards, > > Lara > > ___ > > sumo-user mailing list > > sumo-user@eclipse.org > > To change your delivery options, retrieve your password, or unsubscribe > > from this list, visit > > https://www.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://www.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://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] SUMO User Conference proceedings
Dear Community, I was looking for the proceedings of all the conferences over the years. They used to be on the DLR website, but now I cannot find them anymore. Are they still available? Best Regards, Lara ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] MoST roundabout congestion
Dear Pascal, thank you for using MoST Scenario. That problem with the roundabouts is well known and I never managed to actually solve it without playing with the time to teleport. Additionally you can try to change the lcCooperation and lcPushy parameters too. Unfortunately, I never found a single configuration of parameters that would work fine in all the situations. Anyway, Jakob already made some changes for the lane changing behavior in the roundabouts. You can find most of them in the issues on GitHub ( https://github.com/eclipse/sumo/issues?utf8=%E2%9C%93=is%3Aissue+roundabout ) If you need more help don't hesitate to contact me. Best Regards, Lara On Tue, Aug 13, 2019 at 3:48 PM Hoffmann, Pascal wrote: > Dear sumo users, > > > I'm trying to use Monaco SUMO Traffic for a simulation. When I did a first > basic simulation, I realized that the roundabouts get pretty congested - > most of the times because cars are not moving forward, although they could. > Had anyone else the problem before and know a solution? > > For Example: Have a look to the car in the roundabout down on the right > side, which is not continuing driving. I tried to solve the problem with > TLS in the roundabout, but unfortunately it didnt work so well. > > > Because I actually want to simulate some accidents with setSpeed to zero, > I can't set the time to teleport low and I set the collision.action to > none. > > > Thanks in advance! > > > Best regards, > > Pascal > ___ > sumo-user mailing list > sumo-user@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.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://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] netconvert - railways conversion difference from 1.2.0 and devel
Dear All, I just noticed that something changed with the conversion of the railways in netconvert. With netconvert 1.2.0, and OSM single rail taggeg with double directions generates the two separated rails. The exact same OSM and netcfg files with v1_2_0+0163-d480773dd2 generates a single rail. All the files are available at (1.2.0) https://github.com/lcodeca/MoSTScenario/releases/tag/v0.6 (devel) https://github.com/lcodeca/MoSTScenario Was this change wanted? If so, what is the correct way to fix the scenario? Thank you for your time! All the Best, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] traci and libsumo
Thank you, Jakob. I tried "import libsumo.constants as tc" and I get a "ModuleNotFoundError: No module named 'libsumo.constants'" that is why I asked. I suppose the shortcut is not working anymore. I'll remove the stepListener and I'll try again. Cheers, Lara On Tue, 23 Apr 2019 12:26:13 +0200 Jakob Erdmann wrote: > - libsumo.constants is the same as traci.constants > - traci.addStepListener is a pure python client feature. It's missing from > libsumo and all other traci clients (hence the error in simple.example.py) > - the 'stageType' error was due to > https://github.com/eclipse/sumo/issues/5502. Please update sumo and use the > member 'type' instead. > > regards, > Jakob > > > Am Di., 23. Apr. 2019 um 10:09 Uhr schrieb Lara CODECA < > lara.cod...@eurecom.fr>: > > > Hello Michael, > > > > I'm using python 3, so that is fine. > > libsumo has not constant and no StepListener, so I still need to import > > traci, right? > > > > Using > > https://github.com/lcodeca/SUMOActivityGen/blob/master/activitygen.py and > > fixing lines 34 and 35 to use libsumo you have the following error: > > > > Traceback (most recent call last): > > File "./activitygen.py", line 1342, in > > _main() > > File "./activitygen.py", line 1327, in _main > > mobility.mobility_generation() > > File "./activitygen.py", line 223, in mobility_generation > > self._compute_trips_per_slice() > > File "./activitygen.py", line 365, in _compute_trips_per_slice > > _chain, _modes) > > File "./activitygen.py", line 521, in _generate_trip_traci > > route[-1].stageType == tc.STAGE_DRIVING): > > File > > "/home/drone/Applications/SUMO/sumo-git/sumo/tools/libsumo/libsumo.py", > > line 996, in > > __getattr__ = lambda self, name: _swig_getattr(self, TraCIStage, name) > > File > > "/home/drone/Applications/SUMO/sumo-git/sumo/tools/libsumo/libsumo.py", > > line 80, in _swig_getattr > > raise AttributeError("'%s' object has no attribute '%s'" % > > (class_type.__name__, name)) > > AttributeError: 'TraCIStage' object has no attribute 'stageType' > > > > The problem is not in the call: > > route = traci.simulation.findIntermodalRoute(stage.fromEdge, p_edge, > > depart=_new_start_time, walkFactor=.9, modes=_mode, pType=_ptype, > > vType=_vtype) > > but in the returned value. That is why I was looking for the > > documentation.. > > > > In https://github.com/lcodeca/PyPML/blob/master/examples/simple.example.py > > if you change traci with libsumo, > > the error is the following: > > Traceback (most recent call last): > > File "./simple.example.py", line 125, in > > _main() > > File "./simple.example.py", line 60, in _main > > monitor = ParkingMonitor(traci, parking_monitor_options) > > File "/home/drone/EURECOM/Projects/GITHUB/PyPML/pypml/pypml.py", line > > 245, in __init__ > > tc.VAR_PARKING_ENDING_VEHICLES_IDS)) > > TypeError: simulation_subscribe() takes no keyword arguments > > > > More precisely, here the question is in how to handle > > self._traci_handler.simulation.subscribe(varIDs=(tc.VAR_PARKING_STARTING_VEHICLES_IDS, > > tc.VAR_PARKING_ENDING_VEHICLES_IDS)) > > where self._traci_handler is the return value of traci.start() > > > > All the code works fine with SUMO 1.2.0 and Python TraCI APIs. > > > > Thanks for your time! > > Lara > > > > On Fri, 19 Apr 2019 20:49:51 +0200 > > Michael Behrisch wrote: > > > > > Hi Lara, > > > if libsumo is compiled correctly and is in your python path (together > > > with the dll / so file), it should really be just a matter of "import > > > libsumo as traci". It works only with Python3 however. Please tell us > > > what ypu tried and which errors occured. > > > > > > Best regards, > > > Michael > > > > > > Am 18.04.19 um 10:35 schrieb Lara CODECA: > > > > Hello community, > > > > > > > > I wrote a python library that uses traci to implement a parking > > monitoring system (https://github.com/lcodeca/PyPML). > > > > I'm trying to find a way to use libsumo (or even better both, leaving > > the choice to the user) in order to improve the performances. > > > > > > > > Unfortunately, although is written in https://sumo.dlr.de/wiki/Libsumo > > that "Existing
Re: [sumo-user] traci and libsumo
Hello Michael, I'm using python 3, so that is fine. libsumo has not constant and no StepListener, so I still need to import traci, right? Using https://github.com/lcodeca/SUMOActivityGen/blob/master/activitygen.py and fixing lines 34 and 35 to use libsumo you have the following error: Traceback (most recent call last): File "./activitygen.py", line 1342, in _main() File "./activitygen.py", line 1327, in _main mobility.mobility_generation() File "./activitygen.py", line 223, in mobility_generation self._compute_trips_per_slice() File "./activitygen.py", line 365, in _compute_trips_per_slice _chain, _modes) File "./activitygen.py", line 521, in _generate_trip_traci route[-1].stageType == tc.STAGE_DRIVING): File "/home/drone/Applications/SUMO/sumo-git/sumo/tools/libsumo/libsumo.py", line 996, in __getattr__ = lambda self, name: _swig_getattr(self, TraCIStage, name) File "/home/drone/Applications/SUMO/sumo-git/sumo/tools/libsumo/libsumo.py", line 80, in _swig_getattr raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name)) AttributeError: 'TraCIStage' object has no attribute 'stageType' The problem is not in the call: route = traci.simulation.findIntermodalRoute(stage.fromEdge, p_edge, depart=_new_start_time, walkFactor=.9, modes=_mode, pType=_ptype, vType=_vtype) but in the returned value. That is why I was looking for the documentation.. In https://github.com/lcodeca/PyPML/blob/master/examples/simple.example.py if you change traci with libsumo, the error is the following: Traceback (most recent call last): File "./simple.example.py", line 125, in _main() File "./simple.example.py", line 60, in _main monitor = ParkingMonitor(traci, parking_monitor_options) File "/home/drone/EURECOM/Projects/GITHUB/PyPML/pypml/pypml.py", line 245, in __init__ tc.VAR_PARKING_ENDING_VEHICLES_IDS)) TypeError: simulation_subscribe() takes no keyword arguments More precisely, here the question is in how to handle self._traci_handler.simulation.subscribe(varIDs=(tc.VAR_PARKING_STARTING_VEHICLES_IDS, tc.VAR_PARKING_ENDING_VEHICLES_IDS)) where self._traci_handler is the return value of traci.start() All the code works fine with SUMO 1.2.0 and Python TraCI APIs. Thanks for your time! Lara On Fri, 19 Apr 2019 20:49:51 +0200 Michael Behrisch wrote: > Hi Lara, > if libsumo is compiled correctly and is in your python path (together > with the dll / so file), it should really be just a matter of "import > libsumo as traci". It works only with Python3 however. Please tell us > what ypu tried and which errors occured. > > Best regards, > Michael > > Am 18.04.19 um 10:35 schrieb Lara CODECA: > > Hello community, > > > > I wrote a python library that uses traci to implement a parking monitoring > > system (https://github.com/lcodeca/PyPML). > > I'm trying to find a way to use libsumo (or even better both, leaving the > > choice to the user) in order to improve the performances. > > > > Unfortunately, although is written in https://sumo.dlr.de/wiki/Libsumo that > > "Existing traci scripts can mostly be reused by calling import libsumo as > > traci", it's not true for me. > > > > I always used http://sumo.sourceforge.net/pydoc/traci.html to use traci, > > but this is not true for libsumo. > > I'm trying to use > > https://sumo.dlr.de/daily/doxygen/d8/d1c/class_tra_c_i_a_p_i.html because > > it's written "C++ interface based on static functions and a few simple > > wrapper classes", but I don't understand how to apply this documentation to > > a python3 style use of traci. > > > > I cannot find any explicit example in the wiki that gives me the hint on > > how to do this. > > > > I would love if someone could point me in the right direction.. > > > > All the Best! > > Lara > > > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] Teleports only in case of "Wrong Lane"
Dear Community, I'm trying to solve a teleportation issue.. I have a simulation with 50K vehicles and people. It represent a morning rush-hour, so there a re different levels of congestion. Thanks to the option I can avoid teleportation on collision. Unfortunately I still have many of them: Teleports: 1155 (Jam: 521, Yield: 452, Wrong Lane: 182) >From what I understood from the FAQ, "Jam" and "Yield" are related to >congestion, and only "Wrong Lane" is actually required to avoid gridlocks on >intersections and roundabouts. Is there a way, varying some parameters, to allow teleportations only for "Wrong Lane"? I tried to play with "ignore-junction-blocker", "time-to-teleport", "max-depart-delay", "time-to-impatience" but it didn't work. Any ideas? Is it even possible? All the Best! Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] traci and libsumo
Hello community, I wrote a python library that uses traci to implement a parking monitoring system (https://github.com/lcodeca/PyPML). I'm trying to find a way to use libsumo (or even better both, leaving the choice to the user) in order to improve the performances. Unfortunately, although is written in https://sumo.dlr.de/wiki/Libsumo that "Existing traci scripts can mostly be reused by calling import libsumo as traci", it's not true for me. I always used http://sumo.sourceforge.net/pydoc/traci.html to use traci, but this is not true for libsumo. I'm trying to use https://sumo.dlr.de/daily/doxygen/d8/d1c/class_tra_c_i_a_p_i.html because it's written "C++ interface based on static functions and a few simple wrapper classes", but I don't understand how to apply this documentation to a python3 style use of traci. I cannot find any explicit example in the wiki that gives me the hint on how to do this. I would love if someone could point me in the right direction.. All the Best! Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] List of all type of mobility in sumo.
On Mon, 25 Mar 2019 12:47:13 +0100 bersali mahmoud wrote: > Could you send me the link in documentation of sumo which contains all > the available type of mobility like : pedestrian , vehicle , bicycle , bus > ...Etc https://sumo.dlr.de/wiki/Vehicle_Type_Parameter_Defaults -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Building a SUMO scenario
Hello Anders, This scenario https://github.com/lcodeca/LuSTScenario was among the outputs of my PhD, it took me 2 years, I tried to maintain it for an additional 2 years, and now its obsolete compared with SUMO functionalities. This scenario https://github.com/lcodeca/MoSTScenario took me 1 year and a half, it's up to date with SUMO features, and I'm going to try to maintain it for as long as I can. This time I shared generation and mobility tools that are meant to be used in order to generate general purpose scenarios starting from OSM-Like data. Both are 1-(wo)man efforts, I have no idea about scenarios created by teams and how long it took to them. I'm not sure how much the community is interested in all the process, so I can just tell you: feel free to send and e-mail and I'm going to do my best to explain the journey. Cheers, Lara On Wed, 27 Feb 2019 11:52:12 + "Lindman, Anders" wrote: > Dear users, > > I am a fairly new to SUMO and traffic simulation in general and have spent a > limited amount of time using the software but my impression so far is that a > major effort is required in order to construct a realistic validated scenario > for an urban area. > My intention in the long run is to create a scenario of a real city (a city > with a population of at least 100k) but before I set out to do this it would > be great to know roughly how much time that is required to do this, i.e., > converting and modifying traffic networks from OSM, validating traffic > demands, and so on. > Therefore, I would be really grateful if anyone of you who have done this > would like to share how much time and effort you spent on building and > maintaining a scenario, which parts of the implementation requires most time, > if there were any unforeseen problems along the way, etc. > > Best regards, > Anders > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Performance issues on big Networks an 40k vehicles
Hello, I usually have simulations ranging from 50k to 300k vehicles and I have no performance issues. I'm fairly sure that the DLR internally have bigger scenarios (See TAPAS Cologne). Cheers, Lara On Mon, 4 Feb 2019 15:11:57 + "Leitz, Markus, MU" wrote: > Hello Community, > > I tried to simulate a network with over 40k vehicles and a file size of 640MB > (125750 Nodes, 254800 Edges). My OS freezes after one minute because of too > many swapping activity of the memory. > The Question is: > Do someone else tried to simulate such a big network and what is about > multithreading in sumo? Is it still right that there is no multithreading? > Is sumo meaningful for this usecase? > > Thank you and greetings from Munich > > Markus Leitz > > Mit freundlichen Grüßen > i. A. Markus Leitz > > SW Entw. Fahrzeug Apps > > Bertrandt Ingenieurbüro GmbH > Hufelandstraße 26-28 > D-80939 München > > Mobil: +49 160 55 44 325 > > Internet: http://www.bertrandt.com<http://www.bertrandt.com/> > E-Mail:markus.le...@de.bertrandt.com<mailto:markus.le...@de.bertrandt.com> > > Geschäftsführer: Marcus Hiller, Reinhold Krammer, Michael Lücke, > > Sitz der Gesellschaft: München, Amtsgericht: München, HRB 110540 > > The content of this e-mail is confidential. If you are not the named > addressee or if this transmission has been addressed to you in error, please > notify the sender immediately and then delete this e-mail. Any unauthorized > copying and transmission is forbidden. E-mail transmission cannot be > guaranteed to be secure. If verification is required, please request a hard > copy version. Please note that incoming e-mail is not checked regularly. This > may result in a failure to comply with legal or contractual terms. Therefore > it is not sufficient, to send any legal or contractual declarations by > e-mail. In no event Bertrandt will be liable to you or any third party for > any direct, indirect, consequential, special or exemplary damages or lost > profit resulting from this failure. > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Help with findIntermodalRoute() results.
Dear All, I'm having some issues in using findIntermodalRoute in the right way. When calling traci.simulation.findIntermodalRoute(stage['from'], stage['to'], depart=stage['start'], walkFactor=.9) I always get results such as Stage(stageType=2, vType='', line='', destStop='', edges=( ~~ very long list of them ~~ ), travelTime=6488.76400054, cost=6488.7633, length=8211.5891, intended='', depart=-1.0, departPos=0.0, arrivalPos=0.0, description='') even if I manually checked that the edges are close to a bus line with buses every 10 minutes (*). (*) It's not realistic, but for testing reason, I have all my bus running for 24h every 10 minutes, in order to be sure that I have coverage. The fact that I have depart=-1.0 after I explicitly set a departure time, makes me feel that something is wrong. I never had this issue before, but it's a while (pre 1.0.0) that I'm not actively working on this, and I didn't realized that something may have changed until now. Unfortunately there is no documentation for the function in http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html, so I have to ask. Thanks in advance for the help. Regards, Lara On Fri, 1 Jun 2018 16:46:16 +0200 Lara CODECA wrote: > Perfect, I was writing just now an e-mail on the thing you fixed. > > Thank you so much :) > > Lara > > On Fri, 1 Jun 2018 16:09:34 +0200 > Jakob Erdmann wrote: > > > Please try again with [1e73293023] > > regards, > > Jakob > > > > 2018-06-01 15:03 GMT+02:00 Jakob Erdmann : > > > > > Also, there is a bug: https://github.com/eclipse/sumo/issues/4147 > > > > > > 2018-06-01 13:44 GMT+02:00 Jakob Erdmann : > > > > > >> Hello, > > >> what you are seeing are walks and only walks (stageType 2 is walking, > > >> stageType 3 is riding). > > >> The reason why walks are sometimes split is because they use busStops and > > >> their access edges as "stepping stones" to shorten their route. > > >> regards, > > >> Jakob > > >> > > >> 2018-06-01 12:04 GMT+02:00 Lara CODECA : > > >> > > >>> Dear All, > > >>> > > >>> I need some help in using the results from findIntermodalRoute(). > > >>> > > >>> For esample, if I request a route from edge -899#1 to edge 1240#0 with > > >>> departure time at 25158 > > >>> using mode "car" and vType "ptw", I get the following answer: > > >>> [ > > >>> Stage(stageType=2, line='', destStop='', edges=['-899#1', > > >>> '-754#1', '-754#0', '1495#1', > > >>> '-709', '-728', '-741#8', '-741#7', '-741#6', '-741#5', > > >>> '-741#4', '-741#3', '-741#2', > > >>> '-741#1'], travelTime=76.06800160656074, cost=76.06800160656074, > > >>> intended='', depart=-1.0), > > >>> > > >>> Stage(stageType=2, line='', destStop='', edges=['-741#1', > > >>> '1238', '1240#1', '1240#0'], > > >>> travelTime=89.71725574789714, cost=89.71725574789714, > > >>> intended='', depart=-1.0) > > >>> ] > > >>> > > >>> Is there a way to identify the stage (given that is always stageType=2)? > > >>> I suppose that the first stage is the "ptw" part and the second one is > > >>> "walk" mode. But what if I > > >>> have multiple one? Or if they are inverted? The only one I manage to > > >>> concatenate is the walk -> > > >>> public -> walk kind of solutions, because I have something in the "line" > > >>> value. > > >>> > > >>> But in case such as this? > > >>> [ > > >>> Stage(stageType=2, line='M5:Ramingao', destStop='155477', > > >>> edges=['-887', '-476', '-1296#1', > > >>> '-925#0'], travelTime=576.9962213635029, cost=576.9962213635029, > > >>> intended='bus_M5:Ramingao.5', > > >>> depart=2.0), > > >>> > > >>> Stage(stageType=2, line='100:Nice', destStop='155391', > > >>> edges=['-925#0', '862#0', > > >>> '862#1', '-1255#4', '-1255#3', '-1255#2', '-1255#1', '505#0', '-530#0', > > >>> '629#1', '747', '-748#2'], > > >>> travelTime=805.191085924673, cost=805.191085924673, > > >>> intended='bus_100:Nice.5', depart=25859.0), > > >>> > > >>> Stage(stageType=2, line='', destStop='', ed
[sumo-user] [not working] traci.subscriptions with multiple traci clients from the same function using connections.
Dear All, I implemented 2 python classes (stepListeners) that require to use traci.subscriptions (http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python#Subscriptions). These classes are independent from each other, and in some cases have overlapping subscriptions (subscriptions to the same elements). I cannot change the classes (for compatibility reasons), so I'm trying to use: - multiple clients, one for each class (http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python#Controlling_the_same_simulation_from_multiple_clients). - from the same _main() function (http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python#Controlling_parallel_simulations_from_the_same_TraCI_script) I tried all the possible ordering of start/init, getConnection, setOrder and they hang on line 2 (Loading configuration... done. ***Starting server on port 59759 ***) """ 1 # TraCI client #1 2 traci.start(['sumo', '-c', '../MoSTScenario/scenario/most.traci.sumocfg', 3 '--num-clients', '2'], port=59759, label='pypml') 4 # TraCI client #2 5 traci.init(port=59759, label='triggers') 6 7 _pypml_handler = traci.getConnection('pypml') # with and without simulationStep() after. 8 _pypml_handler.setOrder(1) # number can be anything 9 logging.info('PyPML TraCI client acquired.') 10 11 _triggers_handler = traci.getConnection('triggers') 12 _triggers_handler.setOrder(2) # number can be anything 13 logging.info('Triggers TraCI client acquired.') """ If I use them one at the time (connections only / multiple clients in separated files) all works fine. Is there a way to use these 2 functionalities together? Thanks in advance for your time :) All the Best, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Issues with parking area, vehicle stopped on the road.
Hello Jakob, Thanks for the suggestions: - The issue seems independent from the random seed (I tried with 15 different seeds and happens all the time) - Changing the startPos from 47.09 to 45.09 the problem disappears. For the moment I’ll fix it by making the areas larger, but given that my scenario is “automagically” generated, I would like to discover what’s the problem, in order to regenerate it right. In case this tell something to you that it does not for me, the vehicles have a defined arrivalPos="49.59" but they were stopping exactly at 47.02 and waiting until teleportation. Given that 47.02 < 47.09 (the beginning of the parking area) nothing was working. What can it be that influences the stopping position and changed it from the XML defined one? All the Best, Lara From: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] On Behalf Of Jakob Erdmann Sent: Thursday 10 January 2019 08:16 To: Sumo project User discussions Subject: Re: [sumo-user] Issues with parking area, vehicle stopped on the road. Thank you for reporting. The way to debug rare events is to figure out whether they are related to a local feature or to "randomness". Does the error disappear or appear somewhere else when running the simulation with a different random seed? If it stays in the same place, tweak the local geometry (parkingArea positioning and size) and check if it goes away then. The end goal is to boil down the problem to a minimal scenario (which I can then scrutinize for bugs). If the problem cannot be replicated with another random seed or a smaller scenario then I'll take a look at the big version. best regards, Jakob Am Mi., 9. Jan. 2019 um 15:25 Uhr schrieb Lara CODECA : I forgot to mention that the exact same files with SUMO 1.0.1 are working perfectly fine and the issue does not show up. Regards, Lara From: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] On Behalf Of Lara CODECA Sent: Wednesday 09 January 2019 15:13 To: sumo-user@eclipse.org Subject: [sumo-user] Issues with parking area, vehicle stopped on the road. Dear All, I have a problem (that does not happen with all the vehicles) that is: I have a person Riding a vehicle That has to park. In sumo 1.1.0 (tarball) this car is stopped in the middle of the road instead of the parking area. As you can see in the attached image, the person is still on the vehicle and there is a queue forming behind. The stopping point defined for the vehicle is 49.59, and the parking area begins at 47.09 and ends at 52.09. After a very long while (), the vehicle disappears, the parking lot is still empty and the person walks to its final destination. Like this one, all other vehicles that want to park in parkingArea 1133 get stuck. All other instances of person+vehicle and parkingArea are defined in the same way, and they work fine. All the files are available on GitHub: https://github.com/lcodeca/MoSTScenario. How can I debug this? Any suggestions? Thanks in dvance, Lara --- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.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://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] Issues with parking area, vehicle stopped on the road.
I forgot to mention that the exact same files with SUMO 1.0.1 are working perfectly fine and the issue does not show up. Regards, Lara From: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] On Behalf Of Lara CODECA Sent: Wednesday 09 January 2019 15:13 To: sumo-user@eclipse.org Subject: [sumo-user] Issues with parking area, vehicle stopped on the road. Dear All, I have a problem (that does not happen with all the vehicles) that is: I have a person Riding a vehicle That has to park. In sumo 1.1.0 (tarball) this car is stopped in the middle of the road instead of the parking area. As you can see in the attached image, the person is still on the vehicle and there is a queue forming behind. The stopping point defined for the vehicle is 49.59, and the parking area begins at 47.09 and ends at 52.09. After a very long while (), the vehicle disappears, the parking lot is still empty and the person walks to its final destination. Like this one, all other vehicles that want to park in parkingArea 1133 get stuck. All other instances of person+vehicle and parkingArea are defined in the same way, and they work fine. All the files are available on GitHub: https://github.com/lcodeca/MoSTScenario. How can I debug this? Any suggestions? Thanks in dvance, Lara --- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
[sumo-user] Sublane model - retrieving Lateral acceleration
Dear all, I need to retrieve (using TraCI or output files) the lateral acceleration and speed of my mixed traffic (motorcycles, cars and trucks). Using http://sumo.dlr.de/wiki/Simulation/SublaneModel and http://sumo.dlr.de/wiki/Simulation/Output/RawDump I can get the lateral speed, but not the lateral acceleration. I would like to know if there is a way to get it or should I compute it using the difference between the velocities over time? I'm asking because I would like to be sure to minimize the errors, give that I'm trying to compare the distribution of the lateral acceleration with real traces. All the best, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Re: [sumo-user] vTypeDistribution for pedestrian
Hello Jakob, my definition are similar to this: Cheers, Lara On Thu, 11 Oct 2018 10:48:31 +0200 Jakob Erdmann wrote: > What do your definitions look like? > > Am Do., 11. Okt. 2018 um 10:46 Uhr schrieb Lara CODECA < > lara.cod...@eurecom.fr>: > > > Dear All, > > > > I'm trying to retrieve pedestrian info from the tripinfo file. > > > > I defined my pedestrian with: > > > > > latAlignment="compact" probability=".33"/> > > > latAlignment="compact" probability=".33"/> > > > latAlignment="compact" probability=".33"/> > > > > > > In tripinfo I have a lot of entry such as: > > > > > arrivalPos="69.83" duration="251.00" routeLength="275.64" timeLoss="26.27" > > maxSpeed="1.23"/> > > > arrival="33429.50" arrivalPos="52.85" duration="47.50" > > routeLength="275.16"/> > > > arrivalPos="88.37" duration="38.25" routeLength="39.08" timeLoss="6.39" > > maxSpeed="1.23"/> > > > arrival="33942.50" arrivalPos="40.87" duration="448.25" > > routeLength="918.60"/> > > > arrivalPos="12.50" duration="311.50" routeLength="320.66" timeLoss="50.06" > > maxSpeed="1.23"/> > > > depart="35252.00" arrival="35872.50" arrivalPos="85.49" duration="620.50" > > routeLength="1537.79"/> > > > arrivalPos="104.97" duration="411.25" routeLength="451.59" timeLoss="43.06" > > > > maxSpeed="1.23"/> > > > > > > As you can see, there is not info on the person type. > > If I run my sim using the gui and I ask for type parameter of a person, > > the type is DEFAULT_PEDTYPE. > > > > Am I doing it wrong or vTypeDistribution for people are not implemented? > > Or maybe is just the information that is not stored in the tripinfo? > > > > Thanks in advance for the help. > > > > Regards, > > Lara > > > > -- > > Lara CODECA > > Postdoc > > Tel : 04.93.00.81.51 > > > > EURECOM > > Campus SophiaTech > > http://www.eurecom.fr/ > > ___ > > 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 > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] vTypeDistribution for pedestrian
Dear All, I'm trying to retrieve pedestrian info from the tripinfo file. I defined my pedestrian with: In tripinfo I have a lot of entry such as: As you can see, there is not info on the person type. If I run my sim using the gui and I ask for type parameter of a person, the type is DEFAULT_PEDTYPE. Am I doing it wrong or vTypeDistribution for people are not implemented? Or maybe is just the information that is not stored in the tripinfo? Thanks in advance for the help. Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] latAlignment: what is the difference between compact, nice, and arbitrary?
Hello again, if I need to implement an additional behavior, how should I do it? Can I have some pointer to start digging in the SUMO code? Regards, Lara On Mon, 17 Sep 2018 16:31:41 +0200 Jakob Erdmann wrote: > Hello, > the alignments are now described at > http://sumo.dlr.de/wiki/Simulation/SublaneModel#Model_Details > regards, > Jakob > > 2018-09-17 16:05 GMT+02:00 Lara CODECA : > > > Dear All, > > > > I'm working with the sublane model and I need an info. > > > > latAlignment: The preferred lateral alignment when using the > > sublane-model. > > One of (left, right, center, compact, nice, arbitrary). > > http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes# > > Available_vType_Attributes > > > > Left, right, and center alignments are easy to guess. > > What is the difference between compact, nice, and arbitrary? > > > > Thanks in advance. > > Lara > > > > -- > > Lara CODECA > > Postdoc > > Tel : 04.93.00.81.51 > > > > EURECOM > > Campus SophiaTech > > http://www.eurecom.fr/ > > ___ > > 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 > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] Strange behavior with close/open edge.
FYI: the same thing happens with 3 lanes too. Screenshot attached. On Thu, 20 Sep 2018 09:44:21 +0200 Lara CODECA wrote: > Dear All, > > I noticed a strange behavior that I cannot explain, I attached the example > scenario. > > |-- edge AB --|-- edge BC --|-- edge CD --| > [2 lanes in the same direction -->] > > If you let the scenario run, nothing strange happens. > > If you close edge CD at time 100s and reopen it at 150s, passenger.101 will > stop the traffic at > time ~260 trying to change lane before entering edge CD. > > If you close edge CD at time 150s and reopen it at 200s, passenger.114 will > stop the traffic at > time ~285 trying to change lane before entering edge CD. > > If you close edge CD at time 150s and reopen it at 250s, passenger.132 will > stop the traffic at > time ~350 trying to change lane before entering edge CD. > > I added the screenshots for all three cases. Every time I close the edge > [right click, close edge] > and then reopen it, one vehicle will show the behavior, but I have not > managed to understand why > or the link between timing and vehicle. > > Thanks in advance for the help, > Lara > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] Strange behavior with close/open edge.
Dear All, I noticed a strange behavior that I cannot explain, I attached the example scenario. |-- edge AB --|-- edge BC --|-- edge CD --| [2 lanes in the same direction -->] If you let the scenario run, nothing strange happens. If you close edge CD at time 100s and reopen it at 150s, passenger.101 will stop the traffic at time ~260 trying to change lane before entering edge CD. If you close edge CD at time 150s and reopen it at 200s, passenger.114 will stop the traffic at time ~285 trying to change lane before entering edge CD. If you close edge CD at time 150s and reopen it at 250s, passenger.132 will stop the traffic at time ~350 trying to change lane before entering edge CD. I added the screenshots for all three cases. Every time I close the edge [right click, close edge] and then reopen it, one vehicle will show the behavior, but I have not managed to understand why or the link between timing and vehicle. Thanks in advance for the help, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ example.7z Description: application/7z-compressed ___ 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
Re: [sumo-user] Parking rerouter behaviour.
Hello Jakob, I recompiled this morning and I'm using Eclipse SUMO Version 5345f89a38 Build features: Linux-4.17.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG The example I gave you segfault every time with sumo and sumo-gui. How is it possible that sumo and sumo-gui segfault but sumoD and sumo-guiD inside the gdb are fine? I'm using exactly the same config files. Anyway, with sumo inside gdb you have: Starting program: /home/drone/Applications/SUMO/sumo-git/sumo/bin/sumo -c sumo.cfg [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Loading configuration... done. Step #272.00 (0ms ?*RT. ?UPS, vehicles TOT 11 ACT 11 BUF 0) Program received signal SIGSEGV, Segmentation fault. 0x0003 in ?? () (gdb) bt #0 0x0003 in ?? () #1 0x55785baa in MSVehicle::getBrakeGap() const () #2 0x5591b959 in MSTriggeredRerouter::rerouteParkingArea(MSTriggeredRerouter::RerouteInterval const*, SUMOVehicle&, bool&) const () #3 0x5591e608 in MSTriggeredRerouter::notifyEnter(SUMOVehicle&, MSMoveReminder::Notification, MSLane const*) () #4 0x557858b4 in MSVehicle::activateReminders(MSMoveReminder::Notification, MSLane const*) () #5 0x5579091d in MSVehicle::enterLaneAtMove(MSLane*, bool) () #6 0x55795278 in MSVehicle::processLaneAdvances(std::vector >&, bool&, std::__cxx11::basic_string, std::allocator >&) () #7 0x55795d89 in MSVehicle::executeMove() () #8 0x557219a1 in MSLane::executeMovements(long long, std::vector >&) () #9 0x55703db2 in MSEdgeControl::executeMovements(long long) () #10 0x5574afb6 in MSNet::simulationStep() () #11 0x5574b470 in MSNet::simulate(long long, long long) () #12 0x556c5ef9 in main () I hope this help, but I'm still curios on why sumoD works. Regards, Lara On Tue, 18 Sep 2018 21:43:44 +0200 Jakob Erdmann wrote: > Thanks for the scenario. The problem should be fixed now. > cheers, > Jakob > > 2018-09-18 17:24 GMT+02:00 Lara CODECA : > > > Hello Jakob, > > > > see attachment. > > I'm using Eclipse SUMO Version 5345f89a38 > > Build features: Linux-4.17.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG > > > > Regards, > > Lara > > > > Warnings: > > Step #275.00Warning: Vehicle 'passenger.10' at rerouter 'gneE24_0_0' could > > not reroute to new parkingArea 'parkingArea_gneE24_0_0' reason=parkingArea > > 'parkingArea_gneE24_0_0' for vehicle 'passenger.10' on lane 'gneE24_0' is > > too close to break., time=275.00. > > Step #300.00Warning: Vehicle 'passenger.11' at rerouter 'gneE24_0_0' could > > not reroute to new parkingArea 'parkingArea_gneE24_0_0' reason=parkingArea > > 'parkingArea_gneE24_0_0' for vehicle 'passenger.11' on lane 'gneE24_0' is > > too close to break., time=300.00. > > Step #329.00Warning: Vehicle 'passenger.12' at rerouter 'gneE24_0_0' could > > not reroute to new parkingArea 'parkingArea_gneE24_0_0' reason=parkingArea > > 'parkingArea_gneE24_0_0' for vehicle 'passenger.12' on lane 'gneE24_0' is > > too close to break., time=329.00. > > Step #347.00Warning: Vehicle 'passenger.13' at rerouter 'gneE24_0_0' could > > not reroute to new parkingArea 'parkingArea_gneE24_0_0' reason=parkingArea > > 'parkingArea_gneE24_0_0' for vehicle 'passenger.13' on lane 'gneE24_0' is > > too close to break., time=347.00. > > Step #377.00Warning: Vehicle 'passenger.14' at rerouter 'gneE24_0_0' could > > not reroute to new parkingArea 'parkingArea_gneE24_0_0' reason=parkingArea > > 'parkingArea_gneE24_0_0' for vehicle 'passenger.14' on lane 'gneE24_0' is > > too close to break., time=377.00. > > Step #401.00Warning: Vehicle 'passenger.15' at rerouter 'gneE24_0_0' could > > not reroute to new parkingArea 'parkingArea_gneE24_0_0' reason=parkingArea > > 'parkingArea_gneE24_0_0' for vehicle 'passenger.15' on lane 'gneE24_0' is > > too close to break., time=401.00. > > Step #423.00Warning: Vehicle 'passenger.16' at rerouter 'gneE24_0_0' could > > not reroute to new parkingArea 'parkingArea_gneE24_0_0' reason=parkingArea > > 'parkingArea_gneE24_0_0' for vehicle 'passenger.16' on lane 'gneE24_0' is > > too close to break., time=423.00. > > Step #453.00Warning: Vehicle 'passenger.17' at rerouter 'gneE24_0_0' could > > not reroute to new parkingArea 'parkingArea_gneE24_0_0' reason=parkingArea > > 'parkingArea_gneE24_0_0' for vehicle 'passenger.17' on lane 'gneE24_0' is > > too close to break., time=453.00. > > Step #475.00Warning: Vehicle 'passenger.18' at rerouter 'gneE24_0_0' could > > not reroute to new parkingArea 'parkingArea_gneE24_0_0' reason=parkingArea
Re: [sumo-user] Parking rerouter behaviour.
'parkingArea_gneE24_0_0' reason=parkingArea 'parkingArea_gneE24_0_0' for vehicle 'passenger.29' on lane 'gneE24_0' is too close to break., time=748.00. On Tue, 18 Sep 2018 13:17:51 +0200 Jakob Erdmann wrote: > Hello, > this should be fixed as outline here: > https://github.com/eclipse/sumo/issues/4612 > If you were to prepare a small failure scenario, this would help me in > quickly testing a fix. > regards, > Jakob > > 2018-09-18 13:04 GMT+02:00 Lara CODECA : > > > Dear All, > > > > This warning happen quite often for many vehicles. > > Warning: Vehicle 'pedestrian_GW1-1_1540_tr' at rerouter '1162' could not > > reroute to new parkingArea > > '1162' reason=parkingArea '1162' for vehicle 'pedestrian_GW1-1_1540_tr' on > > lane '-152677_1' is too > > close to break., time=22183.00. > > Attached there are the before and after screenshots. > > > > When vehicle pedestrian_GW1-1_1540_tr reaches edge -152677 triggers the > > rerouter due its parking > > destination being full. The closest parking area is on the same edge, but > > it's too close, hence the > > warning. > > The problem is that the selected parking is not the only one in the list > > of rerouters, so there are > > alternatives. But once the reroute fails the vehicles+passengers are > > simply "broken" and the trip > > ends on the current edge. > > Is there something that can be done? No reroute until the already full > > parking area is better than > > a broken trip that cannot be recovered. > > > > Thanks in advance. > > > > Best Regards, > > Lara > > > > -- > > Lara CODECA > > Postdoc > > Tel : 04.93.00.81.51 > > > > EURECOM > > Campus SophiaTech > > http://www.eurecom.fr/ > > > > _______ > > 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 > > > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ rerouter_warning.7z Description: application/7z-compressed ___ 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] latAlignment: what is the difference between compact, nice, and arbitrary?
Dear All, I'm working with the sublane model and I need an info. latAlignment: The preferred lateral alignment when using the sublane-model. One of (left, right, center, compact, nice, arbitrary). http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Available_vType_Attributes Left, right, and center alignments are easy to guess. What is the difference between compact, nice, and arbitrary? Thanks in advance. Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] lanechange-output warning in simulation
Hello Jakob, this is my sumocfg: Regards, Lara On Wed, 12 Sep 2018 21:57:47 +0200 Jakob Erdmann wrote: > What simulation options are you using? > > > 2018-09-12 19:51 GMT+02:00 Lara CODECA : > > > Dear All, > > > > when I try to use the option lanechange-output I get a long list of > > "Warning: Request backPos of vehicle 'XYZ' for invalid lane 'XYYZ' > > time=XYYYZ". > > > > I would like to know if it's a problem in my simulation and what should I > > do to fix it. > > I use Eclipse SUMO Version 5345f89a38 > > Build features: Linux-4.17.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG > > on Linux Debian Unstable. > > > > Regards, > > Lara > > > > -- > > Lara CODECA > > Postdoc > > Tel : 04.93.00.81.51 > > > > EURECOM > > Campus SophiaTech > > http://www.eurecom.fr/ > > ___ > > 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 > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] lanechange-output warning in simulation
Dear All, when I try to use the option lanechange-output I get a long list of "Warning: Request backPos of vehicle 'XYZ' for invalid lane 'XYYZ' time=XYYYZ". I would like to know if it's a problem in my simulation and what should I do to fix it. I use Eclipse SUMO Version 5345f89a38 Build features: Linux-4.17.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG on Linux Debian Unstable. Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] Adding MoST Scenario to the wiki page.
Dear All, would it be possible to add https://github.com/lcodeca/MoSTScenario to http://sumo.dlr.de/wiki/Data/Scenarios page? Is there someone that I should contact? Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] TraCI: how to get the list of departed and arrived entities (not only vehicles)
Dear All, Is there a way to have the equivalent of - http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-getDepartedIDList - http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-getArrivedIDList but for every entity, not only vehicles? The only idea for people I had is to use traci.person.getIDList() at every step and see myself when I have a new person and when the person disappears from the list. But this kind of interaction with traci is very slow compared to getDepartedIDList and getArrivedIDList. Thanks in advance, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] TraCI, getLoadedIDList and missing vehicles.
Dear All, I'm using traci.simulation.getLoadedIDList() to process all vehicles once, in order to add them to subscriptions. In the middle of my simulation I end up with a vehicle (retrieved using getParkingStartingVehiclesIDList) that have never been in the list provided by getLoadedIDList. Am I using getLoadedIDList in the wrong way? How is possible to have a vehicle in the simulation that has never been loaded? The timestep is 250ms in the sumocfg and in the simulationStep, so I should not have any gaps there. I'm using the development version of sumo on Debian Unstable. Thanks in advance for any help. Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] TraCI subscriptions to route changes
Dear all, is there a way to subscribe to the route changes events? I saw subscribeContext in http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-subscribeContext and # command: subscribe route context CMD_SUBSCRIBE_ROUTE_CONTEXT = 0x86 # response: subscribe route context RESPONSE_SUBSCRIBE_ROUTE_CONTEXT = 0x96 # command: get route variable CMD_GET_ROUTE_VARIABLE = 0xa6 # response: get route variable RESPONSE_GET_ROUTE_VARIABLE = 0xb6 # command: set route variable CMD_SET_ROUTE_VARIABLE = 0xc6 # command: subscribe route variable CMD_SUBSCRIBE_ROUTE_VARIABLE = 0xd6 # response: subscribe route variable RESPONSE_SUBSCRIBE_ROUTE_VARIABLE = 0xe6 among the constants, but given that the context requires a radius around a the ego-vehicle, I'm probably going in the wrong direction. I saw that I can subscribe to traci.vehicle.subscribe(vehid, varIDs=(tc.VAR_ROUTE_INDEX)) but this imply I have to see if the route index is different, so I'm jamming TraCI for no reason. I need to know when the route of some vehicles is changed by sumo (device router or other). If there is no way to do it, at the moment, where do I have to look in the code to know how to add a subscription of this kind? Thanks in advance! Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] Netconvert changes
Hello Jakob, I'm using the new netconvert on my old scenario :) If I use --default.junctions.size 5 I get: Error: On processing option '--default.junctions.size': No option with the name 'default.junctions.size' exists. Is it or is something else that I messed? Thanks, Lara On Fri, 22 Jun 2018 12:29:02 +0200 Jakob Erdmann wrote: > Dear users and developers, > to improve the realism of the simulation when used with out-of-the-box > settings we are going to change the default values of various options and > parameters for our upcoming 1.0 release (see > https://github.com/eclipse/sumo/issues/4235). > > In the development version we started with changing the default size and > detail of intersections. Since this has wide-reaching effects, it may lead > to unexpected changes when rebuilding simulation networks. > If you are using the latest development version and require legacy > behavior, you may just set the old parameter values: > --default.junctions.size 5 > --junctions.corner-detail 0 > If you notice undesirable netconvert behavior, please let us know. > > regards, > Jakob -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] How to getParkingAreaStop
Dear All, via TraCI I'm trying to know if a vehicle has a stop planned in its route, and if so, I'm going to add it to the subscriptions to monitor it. I'm using traci.simulation.getLoadedIDList() at each step to have the list of vehicles, and I would like to have the setParkingAreaStop() counterpart in order to know if the vehicle has some stops planned. Is there a way to know this via TraCI? Thanks in advance, Lara Refs: http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-getLoadedIDList http://www.sumo.dlr.de/daily/pydoc/traci._vehicle.html#VehicleDomain-setParkingAreaStop -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] personinfo: negative timeLoss in walk
Dear All, someone knows how can I explain a negative value in timeLoss for a walking person? Note, the ride is a triggered vehicle. See tripinfo entries: Using: Debian unstable Eclipse SUMO Version f805a8aaa9 Build features: Linux-4.16.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG All the best, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] Gathering parking delays info from simulations - addidional question
Additional question, and I hope that it's not too stupid. In my setup I have all the rerouters for the parkings in the same edge of the parking lot. Sometimes in the final route of the vehroute that edge is not present at all. You already told me that the change can happen in the rerouter edge or the parking edge (that is the same in my case), are there other cases? For example, what is going to happen if before the vehicle enter the simulation the parking is already full? Given that I'm using the device router too, will the first route generate take the occupancy of the parking area into account or not? If so, is there any way for me to disable this behavior? Thanks again! Lara On Mon, 11 Jun 2018 23:49:52 +0200 Jakob Erdmann wrote: > - arrival attribute should only ever be missing when vehicles are still > running at the end of the simulation and the option > --vehroute-output.write-unifinished is set > - parkingReroute may take place on the rerouter edge(s) and also on the > parkingArea edge (even if it is not among the rerouter edges) > - The tripinfo output includes the stopTime which lists all the time a > vehicle spend with an intentional stop (including parking). > - you could use option --stop-output which records all intentional stops ( > http://sumo.dlr.de/wiki/Simulation/Output/StopOutput) > > cheers, > Jakob > > 2018-06-11 23:39 GMT+02:00 Lara CODECA : > > > Thanks for the suggestion, Jakob. > > > > I'm filtering the vehroute file looking for only the vehicles that I know > > have to stop in a > > parking area. Doing this I noticed that out of 17335 vehicles that I know > > have to stop: > > - 4262 have no arrival tag in the vehroute, > > - 6736 the edge with the rerouter was not among the replacedOnEdge edges. > > How this is possible? > > > > Given that in the tripinfo the duration includes the time they spend > > parked, I have no idea on how > > to actually isolate the time between the first larking lot full and the > > actual parking found. > > In the case of a person trip, I have the arrival, but for a normal vehicle? > > > > Thanks again for the help, > > Lara > > > > On Mon, 11 Jun 2018 12:11:09 +0200 Jakob > > Erdmann wrote: > > > > > Hello, > > > I've taken up your suggestion (other reasons for rerouting could be > > initial > > > trip routing and TraCI): > > > https://github.com/eclipse/sumo/issues/4204 > > > For now you could try to distinguish between the cases based on the > > > vehicles departure time and the rerouting device period > > > > > > regards, > > > Jakob > > > > > > 2018-06-11 12:05 GMT+02:00 Lara CODECA : > > > > > > > Thank you, Jakob. > > > > > > > > I'm going to try to do this, I just have many route changes because I > > use > > > > the routing devices too. > > > > Feature request: would it be hard to add (in vehroute) the reason that > > > > triggered the route change > > > > (routing device or road rerouter - or aother that I don't really know)? > > > > > > > > Regards, > > > > Lara > > > > > > > > On Mon, 11 Jun 2018 10:45:29 +0200 > > > > Jakob Erdmann wrote: > > > > > > > > > Vehroute output includes information on time and place of route > > changes > > > > and > > > > > should be sufficient to figure this out. > > > > > regards, > > > > > Jakob > > > > > > > > > > 2018-06-11 9:44 GMT+02:00 Lara CODECA : > > > > > > > > > > > Dear All, > > > > > > > > > > > > I have a scenario in which every parking area has rerouters in > > order to > > > > > > select other parkings if > > > > > > the selected one is full. > > > > > > > > > > > > I need to measure how long does it take from the first parking > > lot > > > > full to > > > > > > the final > > > > > > available parking lot (I'm assuming it may happen more than once). > > > > > > Given that I have 50K+ entities (pedestrian and vehicles), I > > would > > > > like to > > > > > > avoid using TraCI for > > > > > > each vehicle every timestamp. If I can have an association > > (timestamp - > > > > > > rerouter - VehID), it would > > > > > > be enough for me to do
Re: [sumo-user] Gathering parking delays info from simulations
Hello everyone :) I'm my quest to compute the parking delays, I'm dealing with a strange output from vehroute. I used the option to have the exit time from every edge, and I was assuming that I would have found a time for each edge. In the attached file, you can see that I have 165 edges in the final route but only 127 exit times. I have no idea on how to associate them.. Any ideas? All the Best! Lara On Mon, 11 Jun 2018 23:49:52 +0200 Jakob Erdmann wrote: > - arrival attribute should only ever be missing when vehicles are still > running at the end of the simulation and the option > --vehroute-output.write-unifinished is set > - parkingReroute may take place on the rerouter edge(s) and also on the > parkingArea edge (even if it is not among the rerouter edges) > - The tripinfo output includes the stopTime which lists all the time a > vehicle spend with an intentional stop (including parking). > - you could use option --stop-output which records all intentional stops ( > http://sumo.dlr.de/wiki/Simulation/Output/StopOutput) > > cheers, > Jakob > > 2018-06-11 23:39 GMT+02:00 Lara CODECA : > > > Thanks for the suggestion, Jakob. > > > > I'm filtering the vehroute file looking for only the vehicles that I know > > have to stop in a > > parking area. Doing this I noticed that out of 17335 vehicles that I know > > have to stop: > > - 4262 have no arrival tag in the vehroute, > > - 6736 the edge with the rerouter was not among the replacedOnEdge edges. > > How this is possible? > > > > Given that in the tripinfo the duration includes the time they spend > > parked, I have no idea on how > > to actually isolate the time between the first larking lot full and the > > actual parking found. > > In the case of a person trip, I have the arrival, but for a normal vehicle? > > > > Thanks again for the help, > > Lara > > > > On Mon, 11 Jun 2018 12:11:09 +0200 Jakob > > Erdmann wrote: > > > > > Hello, > > > I've taken up your suggestion (other reasons for rerouting could be > > initial > > > trip routing and TraCI): > > > https://github.com/eclipse/sumo/issues/4204 > > > For now you could try to distinguish between the cases based on the > > > vehicles departure time and the rerouting device period > > > > > > regards, > > > Jakob > > > > > > 2018-06-11 12:05 GMT+02:00 Lara CODECA : > > > > > > > Thank you, Jakob. > > > > > > > > I'm going to try to do this, I just have many route changes because I > > use > > > > the routing devices too. > > > > Feature request: would it be hard to add (in vehroute) the reason that > > > > triggered the route change > > > > (routing device or road rerouter - or aother that I don't really know)? > > > > > > > > Regards, > > > > Lara > > > > > > > > On Mon, 11 Jun 2018 10:45:29 +0200 > > > > Jakob Erdmann wrote: > > > > > > > > > Vehroute output includes information on time and place of route > > changes > > > > and > > > > > should be sufficient to figure this out. > > > > > regards, > > > > > Jakob > > > > > > > > > > 2018-06-11 9:44 GMT+02:00 Lara CODECA : > > > > > > > > > > > Dear All, > > > > > > > > > > > > I have a scenario in which every parking area has rerouters in > > order to > > > > > > select other parkings if > > > > > > the selected one is full. > > > > > > > > > > > > I need to measure how long does it take from the first parking > > lot > > > > full to > > > > > > the final > > > > > > available parking lot (I'm assuming it may happen more than once). > > > > > > Given that I have 50K+ entities (pedestrian and vehicles), I > > would > > > > like to > > > > > > avoid using TraCI for > > > > > > each vehicle every timestamp. If I can have an association > > (timestamp - > > > > > > rerouter - VehID), it would > > > > > > be enough for me to do my computations, but from the rerouter I > > saw > > > > only > > > > > > counters, not vehID. > > > > > > > > > > > > Thanks for the help! > > > > > > > > > > > > Lara >
Re: [sumo-user] Gathering parking delays info from simulations
Thanks for the suggestion, Jakob. I'm filtering the vehroute file looking for only the vehicles that I know have to stop in a parking area. Doing this I noticed that out of 17335 vehicles that I know have to stop: - 4262 have no arrival tag in the vehroute, - 6736 the edge with the rerouter was not among the replacedOnEdge edges. How this is possible? Given that in the tripinfo the duration includes the time they spend parked, I have no idea on how to actually isolate the time between the first larking lot full and the actual parking found. In the case of a person trip, I have the arrival, but for a normal vehicle? Thanks again for the help, Lara On Mon, 11 Jun 2018 12:11:09 +0200 Jakob Erdmann wrote: > Hello, > I've taken up your suggestion (other reasons for rerouting could be initial > trip routing and TraCI): > https://github.com/eclipse/sumo/issues/4204 > For now you could try to distinguish between the cases based on the > vehicles departure time and the rerouting device period > > regards, > Jakob > > 2018-06-11 12:05 GMT+02:00 Lara CODECA : > > > Thank you, Jakob. > > > > I'm going to try to do this, I just have many route changes because I use > > the routing devices too. > > Feature request: would it be hard to add (in vehroute) the reason that > > triggered the route change > > (routing device or road rerouter - or aother that I don't really know)? > > > > Regards, > > Lara > > > > On Mon, 11 Jun 2018 10:45:29 +0200 > > Jakob Erdmann wrote: > > > > > Vehroute output includes information on time and place of route changes > > and > > > should be sufficient to figure this out. > > > regards, > > > Jakob > > > > > > 2018-06-11 9:44 GMT+02:00 Lara CODECA : > > > > > > > Dear All, > > > > > > > > I have a scenario in which every parking area has rerouters in order to > > > > select other parkings if > > > > the selected one is full. > > > > > > > > I need to measure how long does it take from the first parking lot > > full to > > > > the final > > > > available parking lot (I'm assuming it may happen more than once). > > > > Given that I have 50K+ entities (pedestrian and vehicles), I would > > like to > > > > avoid using TraCI for > > > > each vehicle every timestamp. If I can have an association (timestamp - > > > > rerouter - VehID), it would > > > > be enough for me to do my computations, but from the rerouter I saw > > only > > > > counters, not vehID. > > > > > > > > Thanks for the help! > > > > > > > > Lara > > > > > > > > -- > > > > Lara CODECA > > > > Postdoc > > > > Tel : 04.93.00.81.51 > > > > > > > > EURECOM > > > > Campus SophiaTech > > > > http://www.eurecom.fr/ > > > > ___ > > > > 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 > > > > > > > > > > > > -- > > Lara CODECA > > Postdoc > > Tel : 04.93.00.81.51 > > > > EURECOM > > Campus SophiaTech > > http://www.eurecom.fr/ > > ___ > > 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 > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] Gathering parking delays info from simulations
Thank you, Jakob. I'm going to try to do this, I just have many route changes because I use the routing devices too. Feature request: would it be hard to add (in vehroute) the reason that triggered the route change (routing device or road rerouter - or aother that I don't really know)? Regards, Lara On Mon, 11 Jun 2018 10:45:29 +0200 Jakob Erdmann wrote: > Vehroute output includes information on time and place of route changes and > should be sufficient to figure this out. > regards, > Jakob > > 2018-06-11 9:44 GMT+02:00 Lara CODECA : > > > Dear All, > > > > I have a scenario in which every parking area has rerouters in order to > > select other parkings if > > the selected one is full. > > > > I need to measure how long does it take from the first parking lot full to > > the final > > available parking lot (I'm assuming it may happen more than once). > > Given that I have 50K+ entities (pedestrian and vehicles), I would like to > > avoid using TraCI for > > each vehicle every timestamp. If I can have an association (timestamp - > > rerouter - VehID), it would > > be enough for me to do my computations, but from the rerouter I saw only > > counters, not vehID. > > > > Thanks for the help! > > > > Lara > > > > -- > > Lara CODECA > > Postdoc > > Tel : 04.93.00.81.51 > > > > EURECOM > > Campus SophiaTech > > http://www.eurecom.fr/ > > ___ > > 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 > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] Help: Strange delays with triggered vehicles.
Thank you for the bug-fix! I'm trying to recompile it now (cmake, debian unstable), and I have this error: [ 83%] Swig source /home/drone/Applications/SUMO/sumo-git/sumo/src/libsumo/TraCIDefs.h:96: Warning 312: Nested union not currently supported (ignored). [ 83%] Built target gen_libsumo_libsumoPYTHON_wrap Scanning dependencies of target _libsumo [ 83%] Building CXX object src/libsumo/CMakeFiles/_libsumo.dir/python/libsumoPYTHON_wrap.cxx.o In file included from /home/drone/Applications/SUMO/sumo-git/sumo/build/cmake-build/src/libsumo/python/libsumoPYTHON_wrap.cxx:5318:0: /home/drone/Applications/SUMO/sumo-git/sumo/src/libsumo/Vehicle.h:192:33: error: ‘SUMOVehicle’ does not name a type; did you mean ‘MSVehicle’? static bool isVisible(const SUMOVehicle* veh); ^~~ MSVehicle src/libsumo/CMakeFiles/_libsumo.dir/build.make:62: recipe for target 'src/libsumo/CMakeFiles/_libsumo.dir/python/libsumoPYTHON_wrap.cxx.o' failed make[2]: *** [src/libsumo/CMakeFiles/_libsumo.dir/python/libsumoPYTHON_wrap.cxx.o] Error 1 CMakeFiles/Makefile2:1362: recipe for target 'src/libsumo/CMakeFiles/_libsumo.dir/all' failed make[1]: *** [src/libsumo/CMakeFiles/_libsumo.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 I'm fairly sure it's not related with this fix, but I decided to report it anyway.. Cheers, Lara On Mon, 11 Jun 2018 09:09:54 +0200 Jakob Erdmann wrote: > Thank you for reporting this bug (now fixed). > https://github.com/eclipse/sumo/issues/4199 > regards, > Jakob > > 2018-06-10 15:06 GMT+02:00 Lara CODECA : > > > Dear All, > > > > I have some strange simulation results.. My sim starts at time 18000.00 > > and I need to use TraCI to > > retrieve some information. > > > > In the summary, the first timestamp has meanWaitingTime="18000.00". > > > ended="0" > > meanWaitingTime="18000.00" meanTravelTime="-1.00" halting="1" > > meanSpeed="0.00" > > meanSpeedRelative="0.00" duration="1528567719873"/> > > > > The route file contains (among others): > > > > > > > > > > > > > > > > In the tripinfo, I can see: > > > > > depart="18002.00" > > arrival="18147.00" arrivalPos="21.14" duration="145.00" > > routeLength="762.43"/> > > > > > departLane="15583#1_1" departPos="1.70" > > departPosLat="0.00" departSpeed="0.00" departDelay="18002.00" > > arrival="18147.00" > > arrivalLane="15419#1_1" arrivalPos="21.14" arrivalPosLat="-1.02" > > arrivalSpeed="5.52" > > duration="145.00" routeLength="761.58" waitingTime="0.00" waitingCount="0" > > stopTime="0.00" > > timeLoss="7.08" rerouteNo="0" devices="vehroute_pedestrian_1_3456_tr > > tripinfo_pedestrian_1_3456_tr > > fcd_pedestrian_1_3456_tr person_pedestrian_1_3456_tr" vType="bicycle" > > speedFactor="1.00" > > vaporized=""/> > > > > where I can see that the triggered vehicle has departDelay="18002.00". > > Given that the person needed it at depart="18002.00", and you can see that > > the > > vehicle is departing at depart="18002.00", shouldn't be the departure > > delay 0? > > > > Is this intended? Am I doing something wrong? > > I'm asking because this is messing up the computation of all my delays. > > > > I'm using Debian Unstable and Eclipse SUMO Version 950502e87e. > > > > Best Regards, > > Lara > > > > -- > > Lara CODECA > > Postdoc > > Tel : 04.93.00.81.51 > > > > EURECOM > > Campus SophiaTech > > http://www.eurecom.fr/ > > ___ > > 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 > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] Gathering parking delays info from simulations
Dear All, I have a scenario in which every parking area has rerouters in order to select other parkings if the selected one is full. I need to measure how long does it take from the first parking lot full to the final available parking lot (I'm assuming it may happen more than once). Given that I have 50K+ entities (pedestrian and vehicles), I would like to avoid using TraCI for each vehicle every timestamp. If I can have an association (timestamp - rerouter - VehID), it would be enough for me to do my computations, but from the rerouter I saw only counters, not vehID. Thanks for the help! Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] Help: Strange delays with triggered vehicles.
Dear All, I have some strange simulation results.. My sim starts at time 18000.00 and I need to use TraCI to retrieve some information. In the summary, the first timestamp has meanWaitingTime="18000.00". The route file contains (among others): In the tripinfo, I can see: where I can see that the triggered vehicle has departDelay="18002.00". Given that the person needed it at depart="18002.00", and you can see that the vehicle is departing at depart="18002.00", shouldn't be the departure delay 0? Is this intended? Am I doing something wrong? I'm asking because this is messing up the computation of all my delays. I'm using Debian Unstable and Eclipse SUMO Version 950502e87e. Best Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] FCD: position, center or front?
Dear all, I need to know if the position I have from the FCD is the center of the car or its front bumper. In http://sumo.sourceforge.net/userdoc/Simulation/Output/FCDOutput.html it talls it can be both. Where do I have to look for in order to be sure which one is it? I'm using and Eclipse SUMO Version 950502e87e. Thank you in advance for your help. Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] netconvert - turnaround and dead-end edges
Thank you for the reply, Jakob. Follow-up question: Considering a trip, a fringe edge with no outgoing edges is a reasonable destination, but not an origin one. Do I have a way to access the dead-end tag or I have to handle it with sumolib.net.edge.is_fringe()? Thanks for opening the ticket :) All the Best, Lara On Thu, 7 Jun 2018 12:13:18 +0200 Jakob Erdmann wrote: > Hello, > sumolib.net.edge.is_fringe() will tell you if an edge has no incoming or no > outgoing connections (turn-arounds do not count). > I think adding a netconvert option to allow turnarounds only at dead-ends > is a good idea (https://github.com/eclipse/sumo/issues/4170) > > regards, > Jakob > > 2018-06-07 11:44 GMT+02:00 Lara CODECA : > > > Dear All, > > > > using netconvert from an OSM-like file, I need to avoid turnaorund in the > > intersections, while > > allowing it in the residential edges that are dead-ends. > > > > The only options I found are: > > > > > > > > Is there a way I can fix this? (not with netedit, I need it to be > > scriptable) > > Given that the 'dead-end' is a tag in the junction, is there a way while > > using sumolib and its edge > > class to know if an edge is a dead end? > > > > Thank you in advance for the help. > > > > Regards, > > Lara > > > > Using Debian Unstable and > > Eclipse SUMO Version 950502e87e > > Build features: Linux-4.16.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG > > > > -- > > Lara CODECA > > Postdoc > > Tel : 04.93.00.81.51 > > > > EURECOM > > Campus SophiaTech > > http://www.eurecom.fr/ > > _______ > > 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 > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] netconvert - turnaround and dead-end edges
Dear All, using netconvert from an OSM-like file, I need to avoid turnaorund in the intersections, while allowing it in the residential edges that are dead-ends. The only options I found are: Is there a way I can fix this? (not with netedit, I need it to be scriptable) Given that the 'dead-end' is a tag in the junction, is there a way while using sumolib and its edge class to know if an edge is a dead end? Thank you in advance for the help. Regards, Lara Using Debian Unstable and Eclipse SUMO Version 950502e87e Build features: Linux-4.16.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] TraCI findRoute errors
Good morning Jakob, this is the stack trace: Warning: No connection between edge '-207' and edge '-208' found. Error: Vehicle '' is not allowed to depart on any lane of its first edge. Quitting (on error). Traceback (most recent call last): File "mobilitygen.trips.py", line 431, in _main() File "mobilitygen.trips.py", line 419, in _main trips = _compute_trips_per_type(conf, taz_weights, net, parkings) File "mobilitygen.trips.py", line 322, in _compute_trips_per_type config['taz'][area['to']], graph, net) File "mobilitygen.trips.py", line 249, in _find_allowed_pair ret = traci.simulation.findRoute(from_edge, to_edge, vtype=vType) File "/home/drone/Applications/SUMO/sumo-git/sumo/tools/traci/_simulation.py", line 357, in findRoute return _readStage(self._connection._checkResult(tc.CMD_GET_SIM_VARIABLE, tc.FIND_ROUTE, "")) File "/home/drone/Applications/SUMO/sumo-git/sumo/tools/traci/connection.py", line 155, in _checkResult result = self._sendExact() File "/home/drone/Applications/SUMO/sumo-git/sumo/tools/traci/connection.py", line 98, in _sendExact raise FatalTraCIError("connection closed by SUMO") traci.exceptions.FatalTraCIError: connection closed by SUMO The only thing I do in the script with TraCI is opening the connection, calling thousands of findRoute and then closing it at the end. If you want I can send you everything, but it's not going to be a small example, I tried, and just to give you something to run is going to be dozens of files. Thanks Jakob :) Regards, Lara On Mon, 28 May 2018 19:27:00 +0200 Jakob Erdmann wrote: > Hello, > neither of the errors you mentioned should stop sumo from working when > triggered via TraCI. They are expected to raise a TraCIException which you > can catch in your script. > Only a FatalTraCIError signals an unrecoverable error. It could help if you > provide a stack trace of the error from your script. > regards, > Jakob > > 2018-05-28 16:55 GMT+02:00 Lara CODECA : > > > Dear All, > > > > I'm trying to use "findRoute" from a python script using TraCI. > > > > I need to see if there is a route between two edges for a specific vType. > > > > I'm loading a simulation using traci.start(['sumo', '-c', 'sim.sumocfg']) > > and then, I call > > traci.simulation.findRoute(from_edge, to_edge, vtype=vType) in order to > > find it. > > > > I solved the "Error" > > Warning: No connection between edge '218' and edge '-372' found. > > by adding to the configuration file. > > > > Unfortunately I'm not able to handle the following one: > > Error: Vehicle '' is not allowed to depart on any lane of its first edge. > > > > I tried with a try-except, but given that the error is on the SUMO side, > > this approach is useless. > > > > I need to know if the route is possible, and in case is not, change edges. > > I'm using this to > > implement a mobility generator. Can I do it with findRoute and > > findIntermodalRoute or is not > > possible? > > > > I'm using: > > - Debian Unstable/Experimental > > - Eclipse SUMO Version b2f76e2749 > > Build features: Linux-4.16.0-1-amd64 Proj GUI GDAL FFmpeg OSG > > GL2PS SWIG > > > > Thanks in advance. > > > > Regards, > > Lara > > > > -- > > Lara CODECA > > Postdoc > > Tel : 04.93.00.81.51 > > > > EURECOM > > Campus SophiaTech > > http://www.eurecom.fr/ > > ___ > > 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 > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] [Alert] Wiki down.
Hello, given the troubles with the wiki I'm trying to use the doc in the distribution. In the git version of sumo, in the folder "sumo/docs/wiki" there are only 3 files and "index.html" links to a hierarchy of folders that is not there. For example: "sumo/docs/wiki/Networks/Import/OpenStreetMap.html" [../sumo/docs/wiki] $ ls -l total 44 -rw-r--r-- 1 x x 12936 May 3 10:27 index.html -rw-r--r-- 1 x x 18798 May 3 10:27 logo.png -rw-r--r-- 1 x x 8069 May 3 10:27 sumo.css Am I missing something? All the best! Lara On Sun, 27 May 2018 15:26:02 +0200 Michael Behrisch <o...@behrisch.de> wrote: > Hi, > we are very sorry about that. The whole server seems to be reachable > only from inside DLR currently. If it does not get fixed on Monday, we > will find a backup solution. > > Best regards, > Michael > > Am 25.05.2018 um 17:58 schrieb Lara CODECA: > > Dear All, > > > > > > > > The wiki is down. > > > > > > > > Cheers, > > > > Lara > > > > > > > > --- > > > > *Lara CODECA* > > > > Postdoc > > > > Tel : 04.93.00.81.51 > > > > > > > > EURECOM > > > > Campus SophiaTech > > > > http://www.eurecom.fr/ > > > > > > > > > > > > _______ > > 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 > > > > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] [Alert] Wiki down.
Dear All, The wiki is down. Cheers, Lara --- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech <http://www.eurecom.fr/> http://www.eurecom.fr/ ___ 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
Re: [sumo-user] libsumo error.
As usual, I forgot. Eclipse SUMO Version 9912760eaa Build features: Linux-4.16.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG on Debian unstable. On Fri, 2018-05-18 at 17:30 +0200, Lara CODECA wrote: > Dear All, > > I'm trying to use http://sumo.dlr.de/wiki/Libsumo. > I added the location of libsumo.py and _libsumo.so to my python path. > > I have this error: > Traceback (most recent call last): > File "./run.traci.py", line 16, in > import libsumo > File "... /sumo-git/sumo/bin/libsumo.py", line 17, in > _libsumo = swig_import_helper() > File "... /sumo-git/sumo/bin/libsumo.py", line 16, in > swig_import_helper > return importlib.import_module('_libsumo') > File "/usr/lib/python2.7/importlib/__init__.py", line 37, in > import_module > __import__(name) > ImportError: dynamic module does not define init function > (init_libsumo) > > It's the first time that i have to deal with SWIG, any ideas? > I googled the problem, the only thing I found is to be sure I was > using > the right python config, and it was indeed 2.7. > > Cheers, > Lara > -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] libsumo error.
Dear All, I'm trying to use http://sumo.dlr.de/wiki/Libsumo. I added the location of libsumo.py and _libsumo.so to my python path. I have this error: Traceback (most recent call last): File "./run.traci.py", line 16, in import libsumo File "... /sumo-git/sumo/bin/libsumo.py", line 17, in _libsumo = swig_import_helper() File "... /sumo-git/sumo/bin/libsumo.py", line 16, in swig_import_helper return importlib.import_module('_libsumo') File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: dynamic module does not define init function (init_libsumo) It's the first time that i have to deal with SWIG, any ideas? I googled the problem, the only thing I found is to be sure I was using the right python config, and it was indeed 2.7. Cheers, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] %FCD-ON-SIMULATION
On Fri, 2018-05-18 at 15:10 +0100, HANIFI Mohamed wrote: > Thanks! > I tried device.fcd.probability 0.01 in sumo 0.32.0 it's not worked Then it's possible that works only with the development version. Try with the nightly build :) > > Le ven. 18 mai 2018 à 15:09, Lara CODECA <lara.cod...@eurecom.fr> a > écrit : > > Hi, check this: http://sumo.dlr.de/wiki/Simulation/Output/FCDOutput > > You can do it with the configuration file and from command line. > > > > Cheers, > > Lara > > > > On Fri, 2018-05-18 at 15:05 +0100, HANIFI Mohamed via sumo-user > > wrote: > > > hi sumo users, > > > i want define % of FCD in my simulation scenario. is there a > > tool / > > > command > > > to do that. > > > --- > > > > > --- > > > 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 > > > ___ > > > 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 -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] %FCD-ON-SIMULATION
Hi, check this: http://sumo.dlr.de/wiki/Simulation/Output/FCDOutput You can do it with the configuration file and from command line. Cheers, Lara On Fri, 2018-05-18 at 15:05 +0100, HANIFI Mohamed via sumo-user wrote: > hi sumo users, > i want define % of FCD in my simulation scenario. is there a tool / > command > to do that. > --- > --- > 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 > ___ > 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 -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] GTest and pthreads
Dear All, I had to install libgtest-dev for another project unrelated to SUMO. Now, with cmake -D CHECK_OPTIONAL_LIBS=true (because I need gl2ps) it finds GTest but I have the following error: [ 97%] Linking CXX executable ../../../../../../bin/testcommon /usr/bin/x86_64-linux-gnu-ld: /usr/lib/gcc/x86_64-linux- gnu/7/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): undefined reference to symbol 'pthread_key_delete@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status unittest/src/utils/common/CMakeFiles/testcommon.dir/build.make:171: recipe for target '../../bin/testcommon' failed make[2]: *** [../../bin/testcommon] Error 1 CMakeFiles/Makefile2:4524: recipe for target 'unittest/src/utils/common/CMakeFiles/testcommon.dir/all' failed make[1]: *** [unittest/src/utils/common/CMakeFiles/testcommon.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 To solve this error, I found https://stackoverflow.com/questions/256178 39/undefined-reference-to-symbol-pthread-key-deleteglibc-2-2-5 but Ihave no idea on how to add -lpthread -lm to CMakeLists.txt I look for something with "thread" in the file, but I found nothing. Apart from removing GTools from the CMakeLists.txt, do I have a way to solve this? Thanks in advance, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] Open Scene Graph and SUMO
Updates on the OSG Issue. I rebuild this morning SUMO-git to enable gls2ps and this happened: sumo-gui --osg-view -n scenario/in/most.net.xml StatsHandler::StatsHandler() Setting up GL2 compatible shaders Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Triangle Functor does not support Vec3d* vertex arrays Segmentation fault Probably I have a version of something that is wrong. Can you help? Cheers, Lara On Wed, 2018-05-02 at 13:14 +0200, Lara CODECA wrote: > Hello Jakob, > > the scenario is: https://github.com/lcodeca/MoSTScenario > and the knot is attached (done with Eclipse SUMO Version 3f6c77af0d) > > Thanks! > > Lara > > On Wed, 2018-05-02 at 12:50 +0200, Jakob Erdmann wrote: > > Hello, > > Pleas send a screenshot of 2d and 3d view to clarify the problem? > > where did the elevation data of your network come from? > > We do not have a public 3d-scenario but you could build one as > > explained here: http://sumo.dlr.de/wiki/Networks/Elevation > > regards, > > Jakob > > > > > > 2018-04-27 17:06 GMT+02:00 Lara CODECA <lara.cod...@eurecom.fr>: > > > Dear All, > > > > > > I have 0 experience with OSG but I want to enable it, in order to > > > have > > > SUMO-3D :) > > > > > > I used to enable it but the results are > > > "unespected". My net is a knot. Is there somewhere I can start in > > > order > > > to have a scenario that is good for SUMO-3D. > > > I have not found anything in the wiki or the mailing list. > > > Any ponters? > > > > > > Thanks in advance, > > > Lara > > > > > > _______ > > > 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 -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] Building SUMO with cmake (was Re: Error: gl2ps not enabled at compile time.)
Hello Harald, I just did it. Following exactly the wiki. (Thanks Jakob, I finally have gl2ps) Eclipse SUMO Version 286a4ed1c0 Build features: Linux-4.15.0-2-amd64 Proj GUI GDAL FFmpeg OSG GL2PS Copyright (C) 2001-2018 German Aerospace Center (DLR) and others; ... The only thing is the "missing" make install, solved it adding the bin directory to the $PATH variable. I'm using Debian, tho. Fresh sumo-git to remove all the autotools "stuff" previously there (without this, something went wrong with the make). Can you give us more details? Cheers, Lara On Thu, 2018-05-03 at 11:08 +0200, Harald Schaefer wrote: > Dear all, > > according to this wiki page I tried to build SUMO with cmake (under a > new Ubuntu 18.04) > But cmake complains abount a missing CMakeLists.txt > > harald@nyc> cmake ../.. > CMake Error: The source directory > "/home/harald/src/opensource/sumo-git" does not appear to contain > CMakeLists.txt. > > I have tried the nightly build and the sumo 0.32 release > > Greetings, Harald > > > Am 02.05.2018 um 16:08 schrieb Jakob Erdmann: > > gl2ps only works with the cmake-build since the ecplise migration. > > The autotools-build will be phased out anyway. > > > > See http://sumo.dlr.de/wiki/Installing/Linux_Build#Building_the_SUM > > O_binaries_with_cmake > > > > > > 2018-05-02 16:02 GMT+02:00 Lara CODECA <lara.cod...@eurecom.fr>: > > > Dear All, > > > > > > I'm trying to enable the gl2ps libraries while compiling the git > > > version of sumo. > > > What should I pass to the ./configure? > > > > > > I'm using Debian; gl2ps, libgl2ps and the dev packages are > > > already > > > installed. > > > > > > Regards, > > > Lara > > > > > > -- > > > Lara CODECA > > > Postdoc > > > Tel : 04.93.00.81.51 > > > > > > EURECOM > > > Campus SophiaTech > > > http://www.eurecom.fr/ > > > ___ > > > 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 > > ___ > 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 -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] Error: gl2ps not enabled at compile time.
Dear All, I'm trying to enable the gl2ps libraries while compiling the git version of sumo. What should I pass to the ./configure? I'm using Debian; gl2ps, libgl2ps and the dev packages are already installed. Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] Intermodal and PT: 'vehicle is already stopped.'
Dear All, I'm working in intermodal simulations and I'm debugging the public transports. In the sumo log I have hundreds of """ Warning: Vehicle 'bus_100:Nice.0' is already stopped. Warning: Vehicle 'train_M0:France.0' is already stopped. ... Warning: Vehicle 'bus_M2:France.1' is already stopped. """ I found it in 'src/microsim/output/MSStopOut.cpp' but I don't understand the implications or what I have to do to fix this. Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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] search for community email responses + bus capacity question
Hello, I tried to use the search bar in the archive, but I have a: """ 404. That’s an error. The requested URL /cse?hq=inurl%3Adev.eclipse.org%2Fmhonarc%2Flists%2Fsumo- user=017941334893793413703%3Asqfrdtd112s=capacity=Search l=dev.eclipse.org%2Fmhonarc%2Flists%2Fsumo- user%2F==1594j416272j8 was not found on this server. That’s all we know. """ I don't know if you can do something about it, but it may be a good reason why you'll get repetitive questions. I'm looking for a statement/description on the default behavior of sumo: when there is a person that wants to take a vehicle (bus/train/car) and it's full capacity, what happens? How can I change it? I remember Jakob discussing something about it at the SUMOUser Conference 2017, but I forgot it. I looked in the wiki and I have not found it. Regards, Lara On Mon, 2018-03-19 at 12:06 +0100, Jakob Erdmann wrote: > Hello, > the sourceforge mailing list is being phased out. It is recommended > to use the eclipse mailing lists: http://sumo.dlr.de/wiki/Contact > Since all sourcefore mails also go to the eclipse list you should be > able to find everything here: > https://dev.eclipse.org/mhonarc/lists/sumo-user/ > > regards, > Jakob > > 2018-03-19 10:39 GMT+01:00 Martinez, Hector A: > > Good morning Jakob and community, > > > > Thanks for the prompt response to my earlier question. Always very > > helpful! > > > > I am interested in searching for answers to sumo-user questions in > > the past several months. I can’t always keep all the emails I > > receive. I find the sourceforge search engine very useful when I > > want to review a previous subject somebody else contributed to. > > > > I noticed that some of the questions received via email are not > > posted on the sourceforge search engine (https://sourceforge.net/p/ > > sumo/mailman/sumo-user/). > > > > Curious to understand if this on purpose or maybe I am using the > > wrong query format? > > > > Thanks, > > > > -Hector > > > > > > ___ > > 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 ___ 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
Re: [sumo-user] Duarouter and parkingAreas
Hello again, the problem was different from what I explained. My randomly generated o/d trip: where After DUAROUTER: Obviously: Error: parkingArea '152613' for vehicle 'passenger_3_443' on lane '-830#1_1' is not downstream the current route. I'm using as duarouter options. Why the change in the destination? I need duarouter to validate the sources and destination, not to change them. Dropping the unreachable trips is way better than "fixing" them, or all the rest of my processing breaks. Regards, Lara On Tue, 2018-02-13 at 08:31 +0100, Jakob Erdmann wrote: > Hello Lara, > in our own tests, duarouter keeps the stops as intended. Please send > a minimal example input where this fails. > regards, > Jakob > > 2018-02-12 21:36 GMT+01:00 Lara Codeca <lara.cod...@eurecom.fr>: > > Dear All, > > > > I’m generating my own trips file (origin/destination). Some of > > these trips have a stop in a parking area. To validate the trips, I > > use duarouter, but I’m not able to force it to keep the stop. > > > > Is there a way, or do I have to save the stops, and add them after > > duarouter? > > > > Regards, > > Lara > > ___ > > 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 -- -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ id="-x-evo-selection-start-marker"> ___ 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] Duarouter and parkingAreas
Dear All, I’m generating my own trips file (origin/destination). Some of these trips have a stop in a parking area. To validate the trips, I use duarouter, but I’m not able to force it to keep the stop. Is there a way, or do I have to save the stops, and add them after duarouter? Regards, Lara ___ 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] Possible bug in ptlines2flows.py
Dear All, I'm using ptlines2flows.py to generate my public transports from OSM. I noticed that if I launch it with: python $SUMO_DEV_TOOLS/ptlines2flows.py -n $INPUT/monaco.net.xml -e 43200 -p 600 --random-begin --seed 42 --ptstops $INPUT/monaco.busstops.add.xml --ptlines $INPUT/monaco.buslines.add.xml -o $INPUT/monaco.buses.flows.xml --no-vtypes everything works fine. If I use -b 18000 the file is empty (just the tags, but empty. My current version: SUMO Version v0_32_0+0286-00a57001c1 (Build features: x86_64-pc-linux-gnu PROJ GDAL GUI Python ffmpeg) I tried with the stable version (32) but it's the same. For the records, before it was working with -b different from 0. Unfortunately it was a couple of weeks ago (maybe more), and I noticed it only now. Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] Issues with default.sidewalk-width
Hello again, I managed to import it right (using the type-files), but I have found anything concerning the size of the crossings. I was hoping they would follow proportionally the size of lanes and sidewalks. Am I missing something? Regards, Lara On 04/12/17 20:29, Jakob Erdmann wrote: Hello, - the option is only ever effective in conjunction with the option sidewalk.guess. (And when using Netedit to add sidewalks via context-menu). - It does not take effect for existing sidewalks. - If you import sidewalks or footpaths from OSM, their width is determined by the typemap. regards, Jakob 2017-12-04 17:44 GMT+01:00 Lara CODECA <lara.cod...@eurecom.fr <mailto:lara.cod...@eurecom.fr>>: Dear All, I'm trying to change the sidewalk size using netconvert, but default.sidewalk-width is not working. I can easily resize the lane using the counterpart for lanes (default.lanewidth), but independently from the number I use, the sidewalks stay 2m wide. Any suggestion? Regards, Lara -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org <mailto: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 <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 -- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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
Re: [sumo-user] OSM, netconvert and public transports.
Thank you, Jakob. I extracted those data straight from OSM, that is why I was asking what have I done wrong during the extraction. I'll check what Mirko posted concerning tags, and then (if is still not working) I'll do it myself. Regards, Lara On 21/11/17 23:04, Jakob Erdmann wrote: Hello Lara, I think its much simpler to generate the ptstop and ptline files directly if you are generating public transport data from some third-party data source anyway. The format of the stop file is documented in the wiki and the ptlines file should be self-explanatory (we plan to add documentation in the wiki for that as well, just didn't get around to it yet). If your data source includes schedule information you can forgo to ptlines file as well and just generate the route file (ptlines are used as an intermediate format to encode public transport routes without schedule information). regards, Jakob 2017-11-21 17:26 GMT+01:00 Mirko Barthauer <m.bartha...@t-online.de <mailto:m.bartha...@t-online.de>>: Hi Lara, you can find the responsible file in the SUMO source at src/netimport/NIImporter_OpenStreetMap.cpp. The OSM tags can be found in the methods of the EdgesHandler and the NodeHandler but seem not to be summarized anywhere. Some examples related to public transport I've found in a short time: line 697 and further (NIImporter_OpenStreetMap::NodesHandler::myStartElement): / if (key == "highway" || key == "ele" || key == "crossing" || key == "railway" || key == "public_transport"// // || key == "name" || key == "train" || key == "bus" || key == "tram" || key == "light_rail" || key == "subway" || key == "station") / Regards Mirko Am 21.11.2017 um 14:28 schrieb Lara CODECA: Dear All, I built an OSM-like topology and I'm trying to use netconvert (with ptstop and ptline) to extract the public transports. I thought I included all the relations/ways/nodes required, but the files are empty. Can someone point me to the OSM tags that netconvert looks for in order to build/extract the public transports, so I can build my OSM-like topology in the right way? Best Regards, Lara On 04/10/17 15:27, Lara CODECA wrote: Dear All, I'm building a mobility scenario from an OSM-like topology and I have various issues here and there. 1) walking areas I'm building a scenario for pedestrian too, but if I use the options "sidewalks.guess", "crossings.guess", and "walkingareas", the resulting netfile has many of the connection tagged "walkingarea" broken (I't duarouter that points it out). Is there something that I'm missing or is it "normal" and I have to fix them by hand? 2) od2trips, zones, and vTypes the taz are defined with a name and a list(string) of edges (all edges can be start and sink with the same probability), but in the same edge, I may have different allowed vehicles depending on the lane. At the moment I have one complete zones definition that ignores the allowed vTypes, but when I use it with od2trips, the flows file and the trips file are both kind of unusable by duarouter or sumo. If I use taz and flows, duarouter gives me only the starting edge and it does not compute the full route, and sumo uses only one starting point for each taz. If I use the trips with duarouter, too many of them are broken because the (origins) destinations are unreachable (due to the vehicles not allowed on the edge) Is there a simple solution for this issue? Am I using the tools in the wrong way? (probably yes) Do I have to write different taz based on the vTypes allowed? Remember: in the same edge, I may have different allowed vehicles depending on the lane. The last resource is to implement my own od2trips that uses only the right edges, hoping that duarouter (that is able to read my vTypes definitions) will compute the right route. There are too many big files involved and I cannot share them on this mailing list. In case of need, I can privately share the repo. Thank you in advance for the help. Regards, Lara --- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ sumo-user mailing list sumo-user@eclipse.org <mailto: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 <https://dev.eclipse.org/mailman/listinfo/sumo-user> ___
[sumo-user] OSM, netconvert and public transports.
Dear All, I built an OSM-like topology and I'm trying to use netconvert (with ptstop and ptline) to extract the public transports. I thought I included all the relations/ways/nodes required, but the files are empty. Can someone point me to the OSM tags that netconvert looks for in order to build/extract the public transports, so I can build my OSM-like topology in the right way? Best Regards, Lara On 04/10/17 15:27, Lara CODECA wrote: Dear All, I'm building a mobility scenario from an OSM-like topology and I have various issues here and there. 1) walking areas I'm building a scenario for pedestrian too, but if I use the options "sidewalks.guess", "crossings.guess", and "walkingareas", the resulting netfile has many of the connection tagged "walkingarea" broken (I't duarouter that points it out). Is there something that I'm missing or is it "normal" and I have to fix them by hand? 2) od2trips, zones, and vTypes the taz are defined with a name and a list(string) of edges (all edges can be start and sink with the same probability), but in the same edge, I may have different allowed vehicles depending on the lane. At the moment I have one complete zones definition that ignores the allowed vTypes, but when I use it with od2trips, the flows file and the trips file are both kind of unusable by duarouter or sumo. If I use taz and flows, duarouter gives me only the starting edge and it does not compute the full route, and sumo uses only one starting point for each taz. If I use the trips with duarouter, too many of them are broken because the (origins) destinations are unreachable (due to the vehicles not allowed on the edge) Is there a simple solution for this issue? Am I using the tools in the wrong way? (probably yes) Do I have to write different taz based on the vTypes allowed? Remember: in the same edge, I may have different allowed vehicles depending on the lane. The last resource is to implement my own od2trips that uses only the right edges, hoping that duarouter (that is able to read my vTypes definitions) will compute the right route. There are too many big files involved and I cannot share them on this mailing list. In case of need, I can privately share the repo. Thank you in advance for the help. Regards, Lara --- Lara CODECA Postdoc Tel : 04.93.00.81.51 EURECOM Campus SophiaTech http://www.eurecom.fr/ ___ 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