Re: [sumo-user] How to relate phase numbers and edge ids?
The phase numbers relate to the chronological sequence of the phases. You probably refer to the link indices which define the correspondence between the the state and the edges. Please read carefully the explanation at http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#.3Cphase.3E_Attributes http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Signal_state_definitions 2018-07-27 17:36 GMT+02:00 Jose Monreal Bailey : > Hello everyone, > > How can I make the relation between phase numbers and edgeIds from the > TrafficLIght and the controlled lanes, edges, etc? > > Is there a generic way to do this? > > Best regards, > José > > ___ > 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] (no subject)
Hello, i'm trying to create a simulation where i need to do some rerouting of a vehicle when it approach in intersection . i tried using traci.vehicle.subscribe("veh0", ( tc.VAR_NEXT_TLS ,)) and raci.vehicle.getSubscriptionResults("veh0")[tc.VAR_NEXT_TLS] to get the id of the next TLS but i don't know when it actually arrived at that LTS Thank you -- 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
[sumo-user] How to relate phase numbers and edge ids?
Hello everyone, How can I make the relation between phase numbers and edgeIds from the TrafficLIght and the controlled lanes, edges, etc? Is there a generic way to do this? Best regards, José ___ 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] basic question
Hi, I am a new user of SUMO and looking for help in outputting edge-specific data. Namely aggregate speed on each edge. I am trying to enter the following line into my *.sumocfg file: but, it does not output an XML file like this. For that matter, I'm not entirely sure what I should put in for the edgeData id, either. The etnire output block in my config file looks like this: Can someone please help me to figure out the syntax to get the speed data I'd like? I DO manage to see the QueueData and summart-output. I do not see "vehcoclespeed" (bad typo, sorry) either. Any help is most appreciated! Thanks, John -- 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
[sumo-user] rerouteTraveltime Odd Behaviour
Hello, I’ve ran into an odd behaviour in regards to traci.vehicle.rerouteTraveltime(). Sometimes, the best time will produce a route with an absurdly long (as in it will be 100x more than expected kind of long) estimated travel time (using the current travel times of the edges in the route) - unusually, this is not actually the ‘best’ travel time possible, other routes are actually available which are a far better which aren’t picked up by rerouteTravelTime. Do you know why this may be? Have you come across this before? If so, is there a fix to this issue? Kind regards, Jonathan ___ 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] basic question
Hi, Sorry for the repeat question... I'd inadvertently sent the note from my personal email instead of my school e-mail address. Forgive me if you've seen my question multiple times now! I am a new user of SUMO and looking for help in outputting edge-specific data. Namely aggregate speed on each edge. I am trying to enter the following line into my *.sumocfg file: but, it does not output an XML file like this. For that matter, I'm not entirely sure what I should put in for the edgeData id, either. The etnire output block in my config file looks like this: Can someone please help me to figure out the syntax to get the speed data I'd like? I DO manage to see the QueueData and summart-output. I do not see "vehcoclespeed" (bad typo, sorry) either. Any help is most appreciated! Thanks, John ___ 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] Question on Pedestrian detection
Dear Mr.Erdmann Thank you for your quick reply. I already checked it.. and I tried. It didn't work.. because of crossing index issues and network file. Anyway I will try again. If I have any problem, I will contact you again. Best regards, Sunghyun Jang On 27 July 2018 at 14:34, Jakob Erdmann wrote: > There is a tutorial for exactly this:http://sumo.dlr.de/wiki/ > Tutorials/TraCIPedCrossing > > > > 2018-07-27 14:32 GMT+02:00 sung hyun Jang : > >> Dear SUMO Users >> >> I have a question on pedestrian detection (Push-button in front of >> crossing). >> >> For my simulation, I want to change pedestrian signals based on detection >> of pedestrian in front of crossing. However, with induction loop (E1 >> detector), it is not possible because of detector characteristics (Size and >> detection info). Some pedestrians stop to cross and others keep walking to >> other directions, then E1 detector could detect both. >> So I am thinking that I may use Traci code (Person - getwaitingtime etc). >> >> I wonder if in SUMO, it is any way to detect pedestrian demand for >> crossing such as push-button in reality. >> >> I am looking forward to your reply. Thank you for your time in advance. >> >> Best regards, >> Sunghyun Jang >> >> >> >> ___ >> 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] Question on Pedestrian detection
There is a tutorial for exactly this: http://sumo.dlr.de/wiki/Tutorials/TraCIPedCrossing 2018-07-27 14:32 GMT+02:00 sung hyun Jang : > Dear SUMO Users > > I have a question on pedestrian detection (Push-button in front of > crossing). > > For my simulation, I want to change pedestrian signals based on detection > of pedestrian in front of crossing. However, with induction loop (E1 > detector), it is not possible because of detector characteristics (Size and > detection info). Some pedestrians stop to cross and others keep walking to > other directions, then E1 detector could detect both. > So I am thinking that I may use Traci code (Person - getwaitingtime etc). > > I wonder if in SUMO, it is any way to detect pedestrian demand for > crossing such as push-button in reality. > > I am looking forward to your reply. Thank you for your time in advance. > > Best regards, > Sunghyun Jang > > > > ___ > 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] Question on Pedestrian detection
Dear SUMO Users I have a question on pedestrian detection (Push-button in front of crossing). For my simulation, I want to change pedestrian signals based on detection of pedestrian in front of crossing. However, with induction loop (E1 detector), it is not possible because of detector characteristics (Size and detection info). Some pedestrians stop to cross and others keep walking to other directions, then E1 detector could detect both. So I am thinking that I may use Traci code (Person - getwaitingtime etc). I wonder if in SUMO, it is any way to detect pedestrian demand for crossing such as push-button in reality. I am looking forward to your reply. Thank you for your time in advance. Best regards, Sunghyun Jang ___ 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] Subscription Manager Module
Vehicles are automatically unsubscribed when leaving the simulation. You can either check for their presense before unsubscribing or catch the error and continue with your script. regards, Jakob 2018-07-19 16:15 GMT+02:00 Mouna Karoui via sumo-user < sumo-u...@lists.sourceforge.net>: > Dear sumo users, > > I have a problem about subscription module ; > > tcpip::SocketException: .. Answered with error to command (212), > [description: The subscription to remove was not found.] -- in module > (traci::Core) World.traci.core (id=6), at t=12.6s, event #20598 > When vehicles leave at the end of simulation I get this error. > Have you an idea about the origin of the problem ? > I installed sumo from git repository. > > Best regards, > Mouna > > -- > 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 > ___ 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] Beginner for SUMO
Hello, SUMO automatically tracks accidents. See http://sumo.dlr.de/wiki/Simulation/Safety#Collisions In the latest development verion of SUMO ( http://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version) You can retrieve accident information by calling traci.simulation.getCollidingVehiclesIDList ( http://sumo.dlr.de/wiki/ChangeLog#Enhancements). regards, Jakob 2018-07-23 14:15 GMT+02:00 Ei Ei Mon : > Dear, > > I would like to get some suggestions. In my case, I would like to detect > the car accident case on the lane by using lane area detectors. Which > methods are the most suitable for that by using traci? Could you give me > some suggestions. > Thank you in advance. > > > > ___ > 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] Fast Pedestrian Walks/Negative Time Loss
Hello, the problematic behavior is caused by an invalid pedestrian route. The edge sequence 633 -629 leads to junction 476 which is not connected with next route edge -813 This causes the person to walk contrary to the expected direction and thus reach the arrival position earlier than expected. In the latest development version of SUMO additional warnings have been implemented to make the faulty behavior more obvious. A possible fix would be to either use the sequence 633 -629 -629 -813 or 633 -813 The network itself is problematic insofer that it deviates from the two possible styles for pedestrian network modelling: 1) with crossings and walkingAreas. This makes it explicit where pedestrians may cross the road and is the recommended style for detailed pedestrian simulation ( http://sumo.dlr.de/wiki/Simulation/Pedestrians#Building_a_network_for_pedestrian_simulation ) 2) without crossing and walkingAreas but with sidewalks that have no connections. In this case, pedestrians will assume a fully connected topology at each intersection but their paths are not modelled (they "jump" across). This type of network is generated automatically by netconvert when not generating crossings or walkingareas. Note, that "jumping" potentially causes negative timeLoss in the current version but this will only be noticable if the dwadling option is disabled. In your case the network contains sidewalks that are connected but this forces awkward detours because there are no connections that allow changing the walking direction. regards, Jakob 2018-07-25 15:15 GMT+02:00 Albiston, Gregory 2012 (PGR) < gregory.albiston2...@my.ntu.ac.uk>: > Hello, > > > I have a scenario where there are numerous pedestrians undertaking walking > stages. > > Some of these stages are resulting in negative time losses meaning the > pedestrian is arriving faster than the maximum speed. > > All the vehicle stages have positive time losses. > > > Attached is an example scenario for one pedestrian which shows the issue. > The first and final stages are completed with a time loss of -79.75 and > -188.83. This equates to speeds of 1.84 and 2.41 when the max speed is set > to 1.79. > > > Is there a modelling reason for the negative time losses? > > Apologies if I've missed something. > > > Thanks, > > > Greg > DISCLAIMER: This email is intended solely for the addressee. It may > contain private and confidential information. If you are not the intended > addressee, please take no action based on it nor show a copy to anyone. In > this case, please reply to this email to highlight the error. Opinions and > information in this email that do not relate to the official business of > Nottingham Trent University shall be understood as neither given nor > endorsed by the University. Nottingham Trent University has taken steps to > ensure that this email and any attachments are virus-free, but we do advise > that the recipient should check that the email and its attachments are > actually virus free. This is in keeping with good computing practice. > > ___ > 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] Efficient way to count #vehicles within a distance of junction
I was thinking of placing a 20m long detector on each approaching lane to cover the area of interest and count the cars therein (and also measure speed and flow as needed). 2018-07-26 20:14 GMT+02:00 Shuyi Yin : > Hi Jakob, > > Thank you for replying. In terms of E2-Detector, are you suggesting that I > put a 20m-long E2-detector on the lane to measure the number of vehicles, > or several E2-detectors connected to cover the 20m distance? > > Or are you saying putting one normal E2-detector to monitor the flow, but > not the number of vehicles in a 20m-long area directly? > > Thanks, > Shuyi > > On Thu, Jul 26, 2018 at 12:50 AM Jakob Erdmann > wrote: > >> In my own control scripts I often use explicit list of lanes but you >> could also use >> E2-Detectors generated in advance http://sumo.dlr.de/wiki/Tools/ >> Output#generateTLSE2Detectors.py >> >> >> 2018-07-26 9:14 GMT+02:00 Harald Schaefer : >> >>> Hi Shuyi, >>> >>> there are different approaches to control traffic lights depending on >>> the traffic. >>> One is to look for gaps in the incoming traffic flow (see >>> http://sumo.dlr.de/wiki/Simulation/Traffic_Lights# >>> Improving_Generated_programs_with_knowledge_about_traffic_demand and >>> http://sumo.dlr.de/wiki/Simulation/Traffic_Lights# >>> Actuated_Traffic_Lights) >>> For your approach see also the discussion recently here about "Locating >>> cars around certain coordinates" >>> >>> Best regards, Harald >>> >>> >>> Am 25.07.2018 um 23:43 schrieb Shuyi Yin: >>> >>> Hi SUMO community, >>> >>> I'm using TraCI to control traffic lights and would like the traffic >>> light to know the number of cars approaching it. Also, I'm only interested >>> in counting vehicles that are close enough, i.e. within 20 meters. >>> >>> My current implementation is to get the ID of vehicles on a lane and >>> calculate the distance to the junction. Code is shown as follows. But is >>> there a more efficient way fo doing so? >>> >>> Thanks, >>> Shuyi >>> >>> def numberv(lane): >>> nb = 0 >>> for k in traci.lane.getLastStepVehicleIDs(lane): >>> if traci.vehicle.getLanePosition(k) < X-100: >>> nb += 1 >>> return nb >>> >>> >>> >>> >>> ___ >>> sumo-user mailing listsumo-u...@eclipse.org >>> To change your delivery options, retrieve your password, or unsubscribe >>> from this list, visithttps://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 >> > > ___ > 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