[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.


duration=traci.trafficlight.getPhaseDuration(controlledCluster)

return 64.0.


in this case, according to my understanding, phase 0 takes 64 s. but I
am not sure red/yellow/green duration from phase 0. Actually, I want
to get the duration time of red or green in each phase.

Could you give me some suggestions?


Thank you in advance.


with best regards,
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] device.rerouting.period is 0 , but rerouteNo in tripinfo is not 0

2018-10-28 Thread mohsen hs
 Thank you so much Jakob.
Much appreciate that.
ThanksMohsen
On Sunday, October 28, 2018, 6:12:47 AM GMT+13, Jakob Erdmann 
 wrote:  
 
 This may be due to pre-insertion rerouting (the default value of 
device.rerouting.pre-period is 60).Either setdevice.rerouting.pre-period=0 
or set 
device.rerouting.probability=0
regards,Jakob

Am Sa., 27. Okt. 2018 um 19:00 Uhr schrieb mohsen hs :

Dear SUMO experts,
Thank you so much for your earlier support.
I was wondering if you could let me know what happens with the following conf 
in SUMO in terms of number of rerouting.
                          
                       
 
        
                        
            
Since device.rerouting.period is diabled, I expected zero rerouting ( it uses 
default value of 0), but in the tripinfo, the rerouteNo  is not 0 for some 
vehicles. If these rerouteNo are correct "How can I diable the rerouting in the 
conf but with keeping this configuration lines.

Looking forward to hearing from you.
Many thanksMohsen___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

  ___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


[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, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] GAME files

2018-10-28 Thread Jakob Erdmann
The game files can be used for an interactive simulation where user clicks
control traffic lights to optimize different traffic scenarios and record
highscores.
Actually, this is already included with the standard release of sumo using
the files in sumo/tools/game. However, the sumo-game download works without
an existing python installation.

regards,
Jakob

Am So., 28. Okt. 2018 um 06:32 Uhr schrieb Jane Cheung <
cheung180...@gmail.com>:

> Hi,everyone, is a simple question and I  hope someone could explain to
> me? Appreciated in advance!
>  What's the document of *sumo-game-1.0.1 could be used for?*
>
> Best regards!
>
> Jane
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] (no subject)

2018-10-28 Thread Jakob Erdmann
This is currently not supported by a parkingAreaReroute definition.
but you could achieve this via TraCI.

regards,
Jakob

Am Sa., 27. Okt. 2018 um 19:46 Uhr schrieb Jane Cheung <
cheung180...@gmail.com>:

> Hi everyone, could I use option to let vehicles which have the "STOP"
> definition, but neither waiting for to park or choose another parking lot,
> in other words, this vehicle would directly go through the route to the
> pervious destination even though it planned  to  park in that parking lot?
>
> Appreciated for any kind help!
> Best regards!
>
> Jane
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] problem while using NETEDIT

2018-10-28 Thread Jakob Erdmann
The length of an edge can be set independently of its geometrical length.
If it is set, the cars only care about the user-defined length. However,
you will not notice any effect if departPos and arrivalPos are set to fixed
values.

Am Mo., 22. Okt. 2018 um 18:07 Uhr schrieb Jane Cheung via sumo-user <
sumo-u...@lists.sourceforge.net>:

> Hi guys, there is something that confused me and I would like someone
> familiar with this problem could help me. Appreciated in advance!
> While I was using the Netedit to build a simple edge and using the
> "inspect" function to modify the length  of the edge, the length changed
> but  the l X and Y coordinates keep the same.
> While I was running  the simple demo, the running time for cars had no
> changes between  the original length (62.72 meters)   and  the modified one
> (620.72 meters).
> [image: original.png]
> [image: modified.png]
>
> Jane
>
> ___
> sumo-user mailing list
> sumo-u...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user