Re: [sumo-user] Graph Representation for Road Network

2018-12-09 Thread Ei Ei Mon
ways to create graph directly from reading net file via sumo? Thank you in advance. with best regards, On Mon, Dec 10, 2018 at 6:45 AM Ei Ei Mon wrote: > Dear Sir, > > I apologize for my incomplete question. I don't mean as you said. I really > sorry for that. I just want

Re: [sumo-user] Graph Representation for Road Network

2018-12-08 Thread Ei Ei Mon
ctions is also here: > http://www.sumo.dlr.de/pydoc/sumolib.html > > Best regards, > Michael > > Am 04.12.18 um 03:20 schrieb Ei Ei Mon: > > Dear, > > > > Which link can I reference for function of sumolib like retrieve nodes, > > edges and connections? >

[sumo-user] Graph Representation for Road Network

2018-12-03 Thread Ei Ei Mon
Dear, Can I create directed acyclic graph for the whole road network in SUMO? Are there any methods for this purpose?Could you suggest me? with best regards, ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve

[sumo-user] traci.trafficlight

2018-10-28 Thread Ei Ei Mon
Dear, when I use the following traci function: phase= traci.trafficlight.getPhase(controlledCluster) returns 0. rygstate=traci.trafficlight.getRedYellowGreenState(controlledCluster) return ggGggrrrggrggrrr.

[sumo-user] Density for the whole road

2018-10-28 Thread Ei Ei Mon
Dear, Can I assume the values from 'nVehSeen' attributes from the output file of lane area detectors as density per each lane? Thank you in advance. with best regards, ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options,

Re: [sumo-user] traci.trafficlight

2018-10-27 Thread Ei Ei Mon
How can I get the duration of red/yellow/green in each phase? Thank you. On Sat, Oct 27, 2018 at 12:21 PM Ei Ei Mon wrote: > Dear, > > when I use the following traci function: > > phase= traci.trafficlight.getPhase(controlledCluster) returns 0.

[sumo-user] traci.trafficlight

2018-10-27 Thread Ei Ei Mon
Dear, when I use the following traci function: phase= traci.trafficlight.getPhase(controlledCluster) returns 0. rygstate=traci.trafficlight.getRedYellowGreenState(controlledCluster) return ggGggrrrggrggrrr.

Re: [sumo-user] Beginner for SUMO

2018-10-10 Thread Ei Ei Mon
Dear, In my case, I want to distinguish the vehicles according to their speed by using lane are detectors. Can I use speed distribution for that purpose? Could you give me suggestions? with best regards, On Sat, Sep 29, 2018 at 6:41 PM Ei Ei Mon wrote: > Thank you. > > On Fri, 28

Re: [sumo-user] Beginner for SUMO

2018-09-27 Thread Ei Ei Mon
Dear, Thank you very much for your reply. Although I try, I cannot find vtype attribute in lane area detectors. How can I bind specific vtype and lane area detector? Thank you in advance. with best regards, On Mon, Sep 24, 2018 at 12:20 PM Ei Ei Mon wrote: > Dear, > > Thank you

Re: [sumo-user] Beginner for SUMO

2018-09-23 Thread Ei Ei Mon
rts the attribute 'vTypes' for only recording types > from the given list. > You can define separate detectors for each type to get the separate > numbers. > > 2018-09-20 9:47 GMT+02:00 Ei Ei Mon : > >> Dear, >> >> In my case, I would like to distinguish the type of

Re: [sumo-user] Beginner for SUMO

2018-09-20 Thread Ei Ei Mon
Dear, In my case, I would like to distinguish the type of vehicles that I got from using lane area detectors. Can we get separate number of vehicles from output file of lane area detectors? Thank you in advance. with best regards, On Wed, Sep 19, 2018 at 3:06 PM Ei Ei Mon wrote: > D

Re: [sumo-user] Beginner for SUMO

2018-09-19 Thread Ei Ei Mon
Dear, In my case, I want to get the traffic light id and its state that control given lane id by using traci. Which traci function can I use? Could you suggest me? Thank you. with best regards, On Fri, Sep 14, 2018 at 12:43 PM Ei Ei Mon wrote: > Dear, > > In my case,I create an

Re: [sumo-user] Beginner for SUMO

2018-09-13 Thread Ei Ei Mon
ns? Thank you in advance. with best regards, On Tue, Sep 11, 2018 at 11:16 PM Ei Ei Mon wrote: > Dear, > > Now, I can create the accident case by stopping the vehicle. Thank you > very much. Another I would like to know is that I want to get the data by > using traci in every min

Re: [sumo-user] Beginner for SUMO

2018-09-11 Thread Ei Ei Mon
, 2018 at 9:32 PM Ei Ei Mon wrote: > Noted. I will try again. Thank you for your reply. > > On Tue, Sep 11, 2018 at 9:26 PM Jakob Erdmann > wrote: > >> Right-click the stopping vehicle in sumo-gui and select 'show current >> route'. This will cause stop duration

Re: [sumo-user] Beginner for SUMO

2018-09-11 Thread Ei Ei Mon
decrease as expected? What happens after > the time is up? > > > 2018-09-11 14:42 GMT+02:00 Ei Ei Mon : > >> Dear, >> >> Vehicle always stop on the specified lane even duration is over. >> >> On Tue, Sep 11, 2018 at 7:28 PM Jakob Erdmann >> wrote:

Re: [sumo-user] Beginner for SUMO

2018-09-11 Thread Ei Ei Mon
Dear, Vehicle always stop on the specified lane even duration is over. On Tue, Sep 11, 2018 at 7:28 PM Jakob Erdmann wrote: > What are the symptoms of "not working"? > > 2018-09-10 13:58 GMT+02:00 Ei Ei Mon : > >> Dear, >> >> Thank you for your time. &g

Re: [sumo-user] Beginner for SUMO

2018-09-11 Thread Ei Ei Mon
Dear, May I know how can I have the information about on-ramp and off-ramp on our road network? Are there any other methods to get this information like by using traci or something? Thank you in advance. with best regards, On Mon, Sep 10, 2018 at 6:58 PM Ei Ei Mon wrote: > Dear, > &

Re: [sumo-user] Beginner for SUMO

2018-09-10 Thread Ei Ei Mon
Dear, Thank you for your time. Now I use sumo 1.0.0 version. When I try to create accident case as the following: if(step>=21600 and step<=22000): traci.vehicle.setStop('43.0',edgeID='L10189',laneIndex=1,pos=90,duration=600,flags=0,startPos=50); *duration *is not still working.

Re: [sumo-user] Beginner for SUMO

2018-09-09 Thread Ei Ei Mon
2)using lane-area detectors Thank you in advance. with best regards, On Sat, Sep 8, 2018 at 12:01 PM Ei Ei Mon wrote: > Dear, > > I would like to ask again. In my case, I want to stop the vehicle by using > the following statement: > > traci.vehicle.setStop('43.0',edgeID='L

Re: [sumo-user] Beginner for SUMO

2018-09-07 Thread Ei Ei Mon
? Thank you in advance. with best regards, On Sat, Sep 8, 2018 at 10:50 AM Ei Ei Mon wrote: > Dear, > > In my case, I want queue length of each edge. For this case, now I compute > the average value from queue length of each lane by using lane area > detector. Is it possible by

Re: [sumo-user] Beginner for SUMO

2018-09-07 Thread Ei Ei Mon
, Sep 4, 2018 at 7:38 AM Ei Ei Mon wrote: > 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 edge

Re: [sumo-user] Beginner for SUMO

2018-09-03 Thread Ei Ei Mon
o.dlr.de/wiki/Tools/Sumolib > > regards, > Jakob > > 2018-09-03 17:51 GMT+02:00 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

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

Re: [sumo-user] Beginner for SUMO

2018-09-02 Thread 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, Aug 26, 2018 at 4:29 PM Jakob Erdmann wrote: > yes. You can use getJamLengthMeters. > > 2018-08-25 12:38 GMT+02:00

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

2018-09-02 Thread Ei Ei Mon
Dear, May I know what is your problem so that we or Mr. Jacob can help you? with best regards, On Mon, Sep 3, 2018 at 9:14 AM Jane Cheung wrote: > > > > EI EI Mon, thanks for your kindly reply! > I have confused when I was using some command with Traci, where could I > as

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

2018-09-02 Thread Ei Ei Mon
Dear, You can learn from this link http://sumo.dlr.de/wiki/TraCI. On Mon, Sep 3, 2018 at 2:31 AM Jane Cheung wrote: > Dear all, > I have some questions about the using and function of TRACI, could > someone tell me where I could get help? > > Thanks for any kind help in advance! > > >

Re: [sumo-user] Beginner for SUMO

2018-08-25 Thread Ei Ei Mon
vehicles enter and leave the detector in the same simulation step. > > regards, > Jakob > > 2018-08-20 12:20 GMT+02:00 Ei Ei Mon : > >> Dear, >> >> >> In my case, I want to get the number of vehicles. In that case, may I >> know for some results of traci.l

Re: [sumo-user] Beginner for SUMO

2018-08-20 Thread Ei Ei Mon
in advance. with best regards, On Sun, Aug 19, 2018 at 4:53 AM, Ei Ei Mon wrote: > Thank you. I will try it. > > On Sun, 19 Aug 2561 at 02:31 Jakob Erdmann wrote: > >> traci.simulation.convert2D(edgeID, offset, laneIndex, toGeo). >> >> offset = 0 gives you the sta

Re: [sumo-user] Beginner for SUMO

2018-08-18 Thread Ei Ei Mon
> > 2018-08-18 18:11 GMT+02:00 Ei Ei Mon : > >> Dear, >> >> In my case, I want to get the startPos of edge or lane. I cannot find the >> traci methods to get startPos of edge or lane. Could you give me some >> suggestions? >> Thank you in advance. >>

Re: [sumo-user] Beginner for SUMO

2018-08-18 Thread Ei Ei Mon
Dear, In my case, I want to get the startPos of edge or lane. I cannot find the traci methods to get startPos of edge or lane. Could you give me some suggestions? Thank you in advance. with best regards, On Sat, Aug 18, 2018 at 5:27 PM, Ei Ei Mon wrote: > oh, I see. Thank you. I will

Re: [sumo-user] Beginner for SUMO

2018-08-18 Thread Ei Ei Mon
, Aug 18, 2018 at 12:38 PM, Ei Ei Mon wrote: > thanks for your time. I will try it again. > > On Fri, Aug 17, 2018 at 8:18 PM, Jakob Erdmann > wrote: > >> the value of SUMO_HOME cannot be a list of directories as it is in your >> case. >> Make sure it points to the d

Re: [sumo-user] Beginner for SUMO

2018-08-17 Thread Ei Ei Mon
script looks for traci in $SUMO_HOME/tools > > 2018-08-17 11:28 GMT+02:00 Ei Ei Mon : > >> Dear, >> >> Now I got the unexpected error: No module named traci. >> >> I set up the sumo path as the following: >> >> PATH=$PATH:$HOME/ .local/bin:$HOME/bin &

Re: [sumo-user] Beginner for SUMO

2018-08-17 Thread Ei Ei Mon
sumo version a few days ago. How can I fix it? On Tue, Aug 14, 2018 at 3:48 PM, Ei Ei Mon wrote: > yes, thank you. > > On Tue, Aug 14, 2018 at 3:03 PM, Jakob Erdmann > wrote: > >> Your traci script is still using an old version of SUMO. Please update >> the value of SU

Re: [sumo-user] Beginner for SUMO

2018-08-14 Thread Ei Ei Mon
yes, thank you. On Tue, Aug 14, 2018 at 3:03 PM, Jakob Erdmann wrote: > Your traci script is still using an old version of SUMO. Please update the > value of SUMO_HOME to point to the new version. > > 2018-08-10 12:58 GMT+02:00 Ei Ei Mon : > >> Dear, >> >> Acc

Re: [sumo-user] Beginner for SUMO

2018-08-10 Thread Ei Ei Mon
rds, >> Jakob >> >> 2018-08-09 14:05 GMT+02:00 Ei Ei Mon : >> >>> Dear, >>> >>> When I use traci.edge.getLaneNumber(edgeID), I got the following error. >>> >>> AttributeError: EdgeDomain instance has no attribute 'getLaneNumber' >

Re: [sumo-user] Beginner for SUMO

2018-08-09 Thread Ei Ei Mon
Dear, When I use traci.edge.getLaneNumber(edgeID), I got the following error. AttributeError: EdgeDomain instance has no attribute 'getLaneNumber' How can I fix it? Thank you in advance. On Fri, Aug 3, 2018 at 2:01 PM, Ei Ei Mon wrote: > Thank you very much. > > On Fri, Aug 3, 201

Re: [sumo-user] Beginner for SUMO

2018-08-03 Thread Ei Ei Mon
enter > line of a vehicle rather than its whole width. > Even during a continuous lane change, the vehicle's center line is always > just on one lane or the other. > Other vehicles coming from behind will perceive the whole width but > detectors do not. > > regards, > Jakob >

Re: [sumo-user] Beginner for SUMO

2018-08-02 Thread Ei Ei Mon
be or not? Thank you very much. with best regards, On Thu, Aug 2, 2018 at 2:43 PM, Ei Ei Mon wrote: > Thank you. I will check with sublane model. In my case, I would like to > detect the duplicate vehicle ids from lane area detectors at the same time > step. According to your suggestions,

Re: [sumo-user] Beginner for SUMO

2018-08-02 Thread Ei Ei Mon
changes you can enable another model: > http://sumo.dlr.de/wiki/Simulation/SublaneModel > Do you need the double detection directly for your project or are they a > means to accomplish something else? In that case there may be other ways to > accomplish your objective. > > 201

Re: [sumo-user] Beginner for SUMO

2018-08-01 Thread Ei Ei Mon
PM, Jakob Erdmann wrote: > When a vehicle changes lanes it is only registered on the new lane in that > time step. To register lane changes using lanearea detectors you need to > monitor multiple steps. > > 2018-07-31 15:18 GMT+02:00 Ei Ei Mon : > >> Thank you for your

Re: [sumo-user] Beginner for SUMO

2018-07-31 Thread Ei Ei Mon
Erdmann wrote: > 1) use sumo option --step-length SECONDS > 2) what kind of duplication are you interested in? Please explain with an > example. > > 2018-07-31 11:30 GMT+02:00 Ei Ei Mon : > >> Thank you, dear. >> >> Now, I would like to know how to change the simul

Re: [sumo-user] Beginner for SUMO

2018-07-31 Thread Ei Ei Mon
, > 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 tha

[sumo-user] Beginner for SUMO

2018-07-23 Thread 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.