From: Johann v. E. <van...@gm...> - 2017-07-24 15:48:40
|
Hello all, So I'm trying to build a simulation of a Uber like system. For now I'm trying to fire events that will eventually be people asking for a Uber. Currently these are just events that are fired in my controller and selects a random edge in the network. A applicable vehicle then gets rerouted to that edge as if to going to pick the passenger. My problem is that when choosing a random edge, for some of them the simulation crashes. My theory is that there might not be a route or something to the specified edge. So I'm looking for some advice on how to solve this problem or maybe someone has a better way of doing what I am trying to accomplish. Maybe I'm going about it the wrong way - SUMO beginner here. Thanks |