[sumo-user] Map size

2018-09-03 Thread Jose Monreal Bailey
Hey everyone, How can I load the sumo-gui with the map centered at full, giving the size in the sumocfg file? I know I can set zoom and offset, but is there a way to set the height and width? Is there a way also to retrieve the size of the network from the net file? Best regards, José ___

[sumo-user] URGENT

2018-09-03 Thread Gulkaiyr Kalybek kyzy via sumo-user
Hello! My name is Gulkaiyr and I am writing my thesis about route calculation I want to ask you about SUMO How I can use Dijkstra and A* algorithm in sumo , And I can not understand from help and http://sumo.sourceforge.net/userdoc/ Please help me How I can implement dijkstra algorithm in sumo Pl

[sumo-user] FOX support for raster image screenshots (png, jpg) in compiled SUMO versions

2018-09-03 Thread m.bartha...@t-online.de
Hello all, I've just checked that SUMO 0.32 on my (Windows) PC still supports .png and .jpg screenshots but newer compiled development versions do not. The FOX dll shipped with the SUMO_LIBRARIES doesn't have it either. Is it planned to bring back raster image support for screenshots? I'd lik

[sumo-user] questions about libsumo

2018-09-03 Thread Chason via sumo-user
Dear sumo users Hi. I am learning how to use libsumo recently, but the descriptions on sumo's website is not very clear. I want to know if libsumo can be used like traci? For example moving a vehicle to a specific position. And if I want to contact sumo with libsumo, do I just need to copy them

Re: [sumo-user] URGENT

2018-09-03 Thread Jakob Erdmann
see http://sumo.dlr.de/wiki/Demand/Shortest_or_Optimal_Path_Routing and http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Incomplete_Routes_.28trips_and_flows.29 2018-09-03 15:08 GMT+02:00 Gulkaiyr Kalybek kyzy via sumo-user < sumo-u...@lists.sourceforge.net>: > Hello! My

Re: [sumo-user] FOX support for raster image screenshots (png, jpg) in compiled SUMO versions

2018-09-03 Thread Jakob Erdmann
Hello, I just checked the nightly build (win32, win64 pre-compiled downloads, linux compiled on ubuntu) and with all these versions, jpg and png screenshots can be taken. There was never a plan of dropping raster image support. What version/platform are you using? regards, Jakob 2018-09-03 15:47

Re: [sumo-user] Map size

2018-09-03 Thread Jakob Erdmann
Hello, the map always comes up centered at full by default. You can control the window size using option --window-size WIDTH,HEIGHT regards, Jakob 2018-09-03 13:01 GMT+02:00 Jose Monreal Bailey : > Hey everyone, > > How can I load the sumo-gui with the map centered at full, giving the size > in t

Re: [sumo-user] Beginner for SUMO

2018-09-03 Thread Jakob Erdmann
see http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures 2018-09-03 7:05 GMT+02:00 Ei Ei Mon : > Dear, > > Can we know the traffic flow of each link in the road network without > using any detectors? Could you give me some suggestions? > > with best regards, > > On Sun,

Re: [sumo-user] Where to ask some question about TRACI

2018-09-03 Thread Jane Cheung
Ei Ei Mon, Thanks in advance! Like the circumstance shown in the picture (attached), there are three functions about the "GETDISTANCE" 1) What's the difference between these functions: *getDistance(self, vehID) * *getDrivingDistance(self, vehID, edgeID, pos, laneIndex=0) * *getDrivingDistance2D(

Re: [sumo-user] Where to ask some question about TRACI

2018-09-03 Thread Jakob Erdmann
- getDistance() is an odometer and counts the distance driven so far - getDrivingDistance returns the remaining distance to a point on the vehicles route. If the given edge,pos are not on the vehicles route a very large number (maxDouble) is returned to indicate error - getDrivingDistance2D() works

Re: [sumo-user] Map size

2018-09-03 Thread Jose Monreal Bailey
Hi Jakob, I need the map size for other things. So I don't know if it's possible to get it from any cfg file? Best regards, Jose On Mon, 3 Sep 2018, 15:58 Jakob Erdmann, wrote: > Hello, > the map always comes up centered at full by default. You can control the > window size using option --wind

Re: [sumo-user] A vehicle type problem

2018-09-03 Thread Jakob Erdmann
Hello, battery model parameters are not re-evaluated when changing a vehicles type. They can only be set at vehicle creation time. You can modify some model values directly using setParameter calls: http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#Supported_Device_Parameters regards, Jakob 201

Re: [sumo-user] Map size

2018-09-03 Thread Jakob Erdmann
The map size can be parsed from the convBoundary attribute in the element within the .net.xml file 2018-09-03 17:24 GMT+02:00 Jose Monreal Bailey : > Hi Jakob, > > I need the map size for other things. So I don't know if it's possible to > get it from any cfg file? > > Best regards, > Jose > > O

Re: [sumo-user] Map size

2018-09-03 Thread Jose Monreal Bailey
Thank you Jakob On Mon, 3 Sep 2018, 16:29 Jakob Erdmann, wrote: > The map size can be parsed from the convBoundary attribute in the > element within the .net.xml file > > 2018-09-03 17:24 GMT+02:00 Jose Monreal Bailey : > >> Hi Jakob, >> >> I need the map size for other things. So I don't know

Re: [sumo-user] Issue - error: [Errno 104] Connection reset by peer

2018-09-03 Thread Jakob Erdmann
The import process may fail if the selected area is too big. In that case, try downloading the area from a download server such as https://www.geofabrik.de/data/download.html. 2018-08-28 12:59 GMT+02:00 yuvika.dev--- via sumo-user < sumo-u...@lists.sourceforge.net>: > Hi, > > > I am running the e

Re: [sumo-user] Beginner for SUMO

2018-09-03 Thread Ei Ei Mon
I would like to ask again. Are there any other functions to get the following properties by using TraCI? 1) direction of edges 2)capacity of edges 3) fan-in and fan-out properties of edges Thank you in advance. with best regards, On Mon, Sep 3, 2018 at 12:05 PM Ei Ei Mon wrote: > Dear, > > Can

Re: [sumo-user] Beginner for SUMO

2018-09-03 Thread Ei Ei Mon
Thank you. On Mon, 3 Sep 2561 at 22:00 Jakob Erdmann wrote: > see > http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures > > 2018-09-03 7:05 GMT+02:00 Ei Ei Mon : > >> Dear, >> >> Can we know the traffic flow of each link in the road network without >> using any detecto

Re: [sumo-user] Beginner for SUMO

2018-09-03 Thread Jakob Erdmann
Every edge is uni-directional, you can retrieve lane shapes (traci.lane.getShape) to obtain orientations Capacity of edges is a function of speed limit and lane count. (traci.lane.getMaxSpeed(), traci.edge.getNumLanes()). getNumLanes is not yet available in 0.32.0 Fan out can be retrieved via lane.

Re: [sumo-user] Where to ask some question about TRACI

2018-09-03 Thread Jane Cheung
Are there some functions could do the thing like that: Measure the shortest distance between the current position of the vehicle to the give the position which not on the route of vehicles?) Regards! On Mon, Sep 3, 2018 at 10:24 AM Jakob Erdmann wrote: > > - getDistance() is an odometer a

Re: [sumo-user] Where to ask some question about TRACI

2018-09-03 Thread Jakob Erdmann
This can be done by computing a route via traci.simulation.findRoute() 2018-09-03 18:06 GMT+02:00 Jane Cheung : > Are there some functions could do the thing like that: > Measure the shortest distance between the current position of the vehicle > to the give the position which not on the route

Re: [sumo-user] Where to ask some question about TRACI

2018-09-03 Thread Jane Cheung
Like the description of the function you mentioned; findRoute(self, fromEdge, toEdge, vType='', depart=-1.0, routingMode=0) What's the return results of this function ? regards! Jane Cheung On Mon, Sep 3, 2018 at 11:12 AM Jakob Erdmann wrote: > This can be done by computing a route via traci.

[sumo-user] help for deal with Specific scenario problem

2018-09-03 Thread Jane Cheung
Dear all, If I want to get the sum emission for each bus that is scheduled to stop at one specific bus station. The simulation is going at the same time. Are there some methods could be used to deal with this problem 1) Get the bus information as soon as the bus arrived at the specific station;

Re: [sumo-user] Where to ask some question about TRACI

2018-09-03 Thread Jakob Erdmann
you get a TraciStage object ( http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#Stage) with member variables describing the required travel time and the list of edges. The distance traveled must be pieced together from the edge list at the moment. 2018-09-03 18:47 GMT+02:00 Jane Cheung :

Re: [sumo-user] Beginner for SUMO

2018-09-03 Thread Ei Ei Mon
Noted with thanks. I will try it. On Mon, 3 Sep 2561 at 23:04 Jakob Erdmann wrote: > Every edge is uni-directional, you can retrieve lane shapes > (traci.lane.getShape) to obtain orientations > Capacity of edges is a function of speed limit and lane count. > (traci.lane.getMaxSpeed(), traci.edge

Re: [sumo-user] FOX support for raster image screenshots (png, jpg) in compiled SUMO versions

2018-09-03 Thread m.bartha...@t-online.de
Hi Jakob, sorry for the first message. After some checks it seems that versions offered by DLR are okay. Only my self-compiled version doesn't support it. Probably the changes in SUMO_HOME env var did not go well in first place. I use the FOX dll you offer with SUMO_LIBRARIES. Is there some s