Hello Jakob, I had issues with non feasible routes some versions ago when sidewalks were introduced. Sorry for not reporting.
I have now tested the same network against v0.25 and it worked fine, I even tried all departLane options. Best wishes, Joerg On 23/06/16 15:03, Jakob Erdmann wrote: > Hello Joerg, > Could you test whether duarouter still gives you infeasible routes? > Please let us know if this happens so we can fix any bugs and everyone > is better off. > regards, > Jakob > > 2016-06-23 12:21 GMT+02:00 Joerg Schweizer <joerg.schwei...@unibo.it > <mailto:joerg.schwei...@unibo.it>>: > > Dependent on your application, a solution could be to check the > feasibility (edge by edge, as Jakob explained) of the entire route a > priori (or before you pass it to Traci), in order to make sure all > current vehicles actually reach their destination edge/lane. > > By the way, I had problems with duarouter in the past, giving me > infeasible solution, so I use an external router that gives me only > feasible routes. > > Joerg > > > > On 23/06/16 12:06, Luca Bedogni wrote: > > The vehicle is allowed to get there, it is just that the road is not > > feasible since there is no route to that edge. Handling the error would > > be fine, but the problem is that traci is shut down after the error, so > > I cannot handle it. > > > > Luca > > > > Luca Bedogni > > PHD Student in Computer Science > > Department of Computer Science > > University of Bologna, Italy > >http://lbedogni.web.cs.unibo.it > > > > On 06/23/2016 12:06 PM, Jakob Erdmann wrote: > >> you could use the edge function to retrieve allowed vehicle classes > >> (0x34) and check against the class of your vehicle (by default > >> 'passenger'). Also, you could just handle the reported error and pick > >> another edge. > >> > >> 2016-06-23 11:07 GMT+02:00 Luca Bedogni <luca.bedog...@unibo.it > <mailto:luca.bedog...@unibo.it> > >> <mailto:luca.bedog...@unibo.it <mailto:luca.bedog...@unibo.it>>>: > >> > >> Hi, I need to reroute some vehicles upon they arrive at their > >> destination, to a nearby edge. However, not all the routes are > >> feasible, > >> and when I try to change it traci reports an error on some > of these > >> roads. I have checked whether it exist a function to check if a > >> road is > >> feasbile before actually changing it, but I had no luck. > Has anyone a > >> clue on how to solve this? > >> > >> Thank you in advance > >> Luca > >> > >> -- > >> Luca Bedogni > >> PHD Student in Computer Science > >> Department of Computer Science > >> University of Bologna, Italy > >> http://lbedogni.web.cs.unibo.it > >> > >> > >> > > ------------------------------------------------------------------------------ > >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T > Park > >> in San > >> Francisco, CA to explore cutting-edge tech and listen to tech > >> luminaries > >> present their vision of the future. This family event has > >> something for > >> everyone, including kids. Get more information and register > today. > >> http://sdm.link/attshape > >> _______________________________________________ > >> sumo-user mailing list > >> sumo-user@lists.sourceforge.net > <mailto:sumo-user@lists.sourceforge.net> > >> <mailto:sumo-user@lists.sourceforge.net > <mailto:sumo-user@lists.sourceforge.net>> > >> https://lists.sourceforge.net/lists/listinfo/sumo-user > >> > >> > > > > > ------------------------------------------------------------------------------ > > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > > present their vision of the future. This family event has something for > > everyone, including kids. Get more information and register today. > >http://sdm.link/attshape > > _______________________________________________ > > sumo-user mailing list > >sumo-user@lists.sourceforge.net <mailto:sumo-user@lists.sourceforge.net> > >https://lists.sourceforge.net/lists/listinfo/sumo-user > > > > > -- > Joerg Schweizer > University of Bologna > DICAM - Transportation Group > Viale Risorgimento, 2, I-40136 Bologna, Italy > Tel: +39 051 209 3338 <tel:%2B39%20051%20209%203338>, Fax: +39 051 > 209 3337 <tel:%2B39%20051%20209%203337> > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > sumo-user mailing list > sumo-user@lists.sourceforge.net <mailto:sumo-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/sumo-user > > -- Joerg Schweizer University of Bologna DICAM - Transportation Group Viale Risorgimento, 2, I-40136 Bologna, Italy Tel: +39 051 209 3338, Fax: +39 051 209 3337 ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user