Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Things are sorted out after I installed the version available currently which was updated on June 8. On Tue, 9 Jun 2020 at 20:43, Tripplanner Mumbai wrote: > Hello, > > I just checked the current version which is updated on June 8. I found > that the class "busstop" is available in it. Looks

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Hello, I just checked the current version which is updated on June 8. I found that the class "busstop" is available in it. Looks like I have to uninstall mine (updated from May) and again reinstall the new one. thanks and regards, Dillip Rout On Tue, 9 Jun 2020 at 19:34, Tripplanner Mumbai

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Nope, I am using ubuntu, and the particular version I installed is - https://sumo.dlr.de/daily/sumo-all-git.tar.gz I rechecked my SUMO_HOME, it is pointing to the desired folder where all the tools are available and that is configured for use. If

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Jakob Erdmann
The download https://sumo.dlr.de/daily/sumo-win64-git.zip contains the file tools/traci/_busstop.py Most likely your are importing traci via reference to SUMO_HOME/tools where SUMO_HOME points to another version of sumo. Am Di., 9. Juni 2020 um 15:24 Uhr schrieb Tripplanner Mumbai <

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-09 Thread Tripplanner Mumbai
Hello, traci.busstop.getLaneID("busStop#35") did not work since there is no class in "busstop" in my installed version, you may verify it from the attachment which is the list of classes available in my local machine. Note that I am using the latest development version of SUMO (

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-03 Thread Jakob Erdmann
the relationship between lane ids and edge ids is quite trivial but you can also use traci.lane.getEdgeID(laneID) to get one from the other. Am Mi., 3. Juni 2020 um 10:07 Uhr schrieb Tripplanner Mumbai < tripplanner...@gmail.com>: > Hello, > I am using the latest development version of SUMO ( >

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-03 Thread Tripplanner Mumbai
Hello, I am using the latest development version of SUMO ( https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version). However, I found the documentation part ( https://sumo.dlr.de/daily/pydoc/traci._simulation.html) that the signature of findRoute is this: *findRoute*(self,

Re: [sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-02 Thread Jakob Erdmann
If you know the lane and position of the busStops, you can use function traci.simulation.findRoute to get the distance and traveltime between them. You can either parse lane and position from the input xml (i.e. with sumolib.xml.parse) or you can use traci.busstop.getLaneID and

[sumo-user] Computing distance and travel time from a bus stop to another bus stop

2020-06-01 Thread Tripplanner Mumbai
Hello, I have a network and all its properties are defined. I am getting all needed output such as stop information, trip information, person information, etc. However, I would like to know how to calculate or find out the distance and travel time (as per definition). For example, I have a