Re: [sumo-user] Pedestrians Crossing

2021-07-21 Thread Jose Monreal Bailey
I have been debugging the code and found that for pedestrians the traffic
light state y changes to M, why? and where?
I grep everything for LINKSTATE_MAJOR, 'M' and "M", where they set that
value, but it seems that I am missing another part where they set it under
another way. I tried looking for the ASCII code too, no luck.

Any clues or suggestions? I need pedestrians to stop at yellow light.

On Mon, 19 Jul 2021 at 20:40, Jose Monreal Bailey 
wrote:

> Thank you. I'll check those files now. You are the best. Thanks
>
> On Mon 19 Jul 2021, 18:05 Harald Schaefer,  wrote:
>
>> Hi Jose,
>>
>> if you are running Linux you can use a pipe like
>>
>>find src/microsim/ -iname '*.cpp' |xargs grep -l pedest|xargs egrep
>> -in "pedest|redyellow"
>>
>> Explanation
>>
>> 1, Find all cpp files in src/microsim
>>
>> 2. Find all files which contain the string pedest
>>
>> 3. Look in the remaining files for strings like pedest or redyellow
>>
>> Otherwise i have no idea!
>>
>> Best regards, Harald
>> Am 19.07.21 um 18:12 schrieb Jose Monreal Bailey:
>>
>> Hi Herald,
>>
>> I was studying the code in MSVehicle.cpp but I do not see pedestrian
>> logic there. Is there a class similar to MSVehicle.cpp but for pedestrians?
>>
>> On Thu, 15 Jul 2021 at 19:59, Harald Schaefer  wrote:
>>
>>> Hi Jose,
>>>
>>> I would start looking in MSVehicle.cpp.
>>>
>>> Which version of SUMO are you using?
>>>
>>> Do you have a small working example of pedestrians starting at yellow?
>>>
>>> I could also think of special traffic lights for pedestrian lanes
>>> without a yellow phase.
>>>
>>> For a more precise answer you have to wait until the main developers are
>>> back.
>>>
>>> Greetings, Harald
>>> Am 15.07.21 um 11:01 schrieb Jose Monreal Bailey:
>>>
>>> Does anyone know where in the code is controlled when the different
>>> entities are allowed to pass under a certain traffic light color?
>>>
>>> On Tue 13 Jul 2021, 17:53 Jose Monreal Bailey, 
>>> wrote:
>>>
>>>> Hey everyone,
>>>>
>>>> How can I modify the code so pedestrians stop at junctions when the
>>>> light is Yellow, and those that are already crossing continue until they
>>>> have reached the other side?
>>>>
>>>> Best regards,
>>>> José
>>>>
>>>
>>> ___
>>> sumo-user mailing listsumo-u...@eclipse.org
>>> To unsubscribe from this list, visit 
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>
>> ___
>> sumo-user mailing listsumo-u...@eclipse.org
>> To unsubscribe from this list, visit 
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Pedestrians Crossing

2021-07-19 Thread Jose Monreal Bailey
Thank you. I'll check those files now. You are the best. Thanks

On Mon 19 Jul 2021, 18:05 Harald Schaefer,  wrote:

> Hi Jose,
>
> if you are running Linux you can use a pipe like
>
>find src/microsim/ -iname '*.cpp' |xargs grep -l pedest|xargs egrep -in
> "pedest|redyellow"
>
> Explanation
>
> 1, Find all cpp files in src/microsim
>
> 2. Find all files which contain the string pedest
>
> 3. Look in the remaining files for strings like pedest or redyellow
>
> Otherwise i have no idea!
>
> Best regards, Harald
> Am 19.07.21 um 18:12 schrieb Jose Monreal Bailey:
>
> Hi Herald,
>
> I was studying the code in MSVehicle.cpp but I do not see pedestrian logic
> there. Is there a class similar to MSVehicle.cpp but for pedestrians?
>
> On Thu, 15 Jul 2021 at 19:59, Harald Schaefer  wrote:
>
>> Hi Jose,
>>
>> I would start looking in MSVehicle.cpp.
>>
>> Which version of SUMO are you using?
>>
>> Do you have a small working example of pedestrians starting at yellow?
>>
>> I could also think of special traffic lights for pedestrian lanes without
>> a yellow phase.
>>
>> For a more precise answer you have to wait until the main developers are
>> back.
>>
>> Greetings, Harald
>> Am 15.07.21 um 11:01 schrieb Jose Monreal Bailey:
>>
>> Does anyone know where in the code is controlled when the different
>> entities are allowed to pass under a certain traffic light color?
>>
>> On Tue 13 Jul 2021, 17:53 Jose Monreal Bailey, 
>> wrote:
>>
>>> Hey everyone,
>>>
>>> How can I modify the code so pedestrians stop at junctions when the
>>> light is Yellow, and those that are already crossing continue until they
>>> have reached the other side?
>>>
>>> Best regards,
>>> José
>>>
>>
>> ___
>> sumo-user mailing listsumo-u...@eclipse.org
>> To unsubscribe from this list, visit 
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
> ___
> sumo-user mailing listsumo-u...@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Pedestrians Crossing

2021-07-19 Thread Jose Monreal Bailey
Hi Herald,

I was studying the code in MSVehicle.cpp but I do not see pedestrian logic
there. Is there a class similar to MSVehicle.cpp but for pedestrians?

On Thu, 15 Jul 2021 at 19:59, Harald Schaefer  wrote:

> Hi Jose,
>
> I would start looking in MSVehicle.cpp.
>
> Which version of SUMO are you using?
>
> Do you have a small working example of pedestrians starting at yellow?
>
> I could also think of special traffic lights for pedestrian lanes without
> a yellow phase.
>
> For a more precise answer you have to wait until the main developers are
> back.
>
> Greetings, Harald
> Am 15.07.21 um 11:01 schrieb Jose Monreal Bailey:
>
> Does anyone know where in the code is controlled when the different
> entities are allowed to pass under a certain traffic light color?
>
> On Tue 13 Jul 2021, 17:53 Jose Monreal Bailey,  wrote:
>
>> Hey everyone,
>>
>> How can I modify the code so pedestrians stop at junctions when the light
>> is Yellow, and those that are already crossing continue until they have
>> reached the other side?
>>
>> Best regards,
>> José
>>
>
> ___
> sumo-user mailing listsumo-u...@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Pedestrians Crossing

2021-07-16 Thread Jose Monreal Bailey
Thank you for your email. I will take a look to those files. Hopefully I
get to the section I need before the developers come back.

On Thu 15 Jul 2021, 19:59 Harald Schaefer,  wrote:

> Hi Jose,
>
> I would start looking in MSVehicle.cpp.
>
> Which version of SUMO are you using?
>
> Do you have a small working example of pedestrians starting at yellow?
>
> I could also think of special traffic lights for pedestrian lanes without
> a yellow phase.
>
> For a more precise answer you have to wait until the main developers are
> back.
>
> Greetings, Harald
> Am 15.07.21 um 11:01 schrieb Jose Monreal Bailey:
>
> Does anyone know where in the code is controlled when the different
> entities are allowed to pass under a certain traffic light color?
>
> On Tue 13 Jul 2021, 17:53 Jose Monreal Bailey,  wrote:
>
>> Hey everyone,
>>
>> How can I modify the code so pedestrians stop at junctions when the light
>> is Yellow, and those that are already crossing continue until they have
>> reached the other side?
>>
>> Best regards,
>> José
>>
>
> ___
> sumo-user mailing listsumo-u...@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Traffic lights yellow phase

2021-07-15 Thread Jose Monreal Bailey
Hey everyone,

Is there a way to tell Pedestrians to stop on the yellow phase when they
havent started crossing the junction?

Best regards,
José
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Pedestrians Crossing

2021-07-15 Thread Jose Monreal Bailey
Does anyone know where in the code is controlled when the different
entities are allowed to pass under a certain traffic light color?

On Tue 13 Jul 2021, 17:53 Jose Monreal Bailey,  wrote:

> Hey everyone,
>
> How can I modify the code so pedestrians stop at junctions when the light
> is Yellow, and those that are already crossing continue until they have
> reached the other side?
>
> Best regards,
> José
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Pedestrians Crossing

2021-07-13 Thread Jose Monreal Bailey
Hey everyone,

How can I modify the code so pedestrians stop at junctions when the light
is Yellow, and those that are already crossing continue until they have
reached the other side?

Best regards,
José
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Pedestrians output

2021-06-08 Thread Jose Monreal Bailey
Hi Jakob,

Thank you for your reply. I will try it now, and check the other parameters.

Best regards,
José

On Tue, 8 Jun 2021 at 11:46, Jakob Erdmann  wrote:

> use 
> https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html#meandata_definition
>
> Am Di., 8. Juni 2021 um 12:39 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hey everyone,
>>
>> Is there a way to get the Time pedestrians are waiting at the junction?
>> Where in the code should I modify to get this data from?
>>
>> Best regards,
>> José
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Pedestrians output

2021-06-08 Thread Jose Monreal Bailey
Hey everyone,

Is there a way to get the Time pedestrians are waiting at the junction?
Where in the code should I modify to get this data from?

Best regards,
José
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Traci: getRedYellowGreenState and getControlledLinks

2020-12-17 Thread Jose Monreal Bailey
Thank you Jakob

On Thu, 17 Dec 2020 at 08:18, Jakob Erdmann  wrote:

> Traci correctly returns a list of 24 sublists. The sublists at index
> 3,8,13 and 18 are empty because those indices are not used by any
> connections.
> The easiest way to clean up your program and reassign indices is to use
> the "Clean States" button in netedit traffic light mode.
>
> regards,
> Jakob
>
> Am Mi., 16. Dez. 2020 um 11:42 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hi Jakob,
>>
>> I am attaching the network and additional file with the program
>> configuration.
>>
>> Best regards,
>> Jose
>>
>> On Wed, 16 Dec 2020 at 10:37, Jakob Erdmann 
>> wrote:
>>
>>> Please attach the network.
>>>
>>> Am Mi., 16. Dez. 2020 um 11:28 Uhr schrieb Jose Monreal Bailey <
>>> jmonr...@gmail.com>:
>>>
>>>> Hey everyone,
>>>>
>>>> I am trying to associate the lanes state with its corresponding TL
>>>> phase. I have a junction (image attached) where the right lane on every
>>>> edge only turns to the right, and my TL program is the following,
>>>>
>>>> >>> state="ryry"/>
>>>> >>> state="rrrrGrGr"/>
>>>> >>> state="rrrryryr"/>
>>>> >>> state="GrGr"/>
>>>> >>> state="yryr"/>
>>>> >>> state="rrrrrGrG"/>
>>>> >>> state="rrrrryry"/>
>>>>
>>>> However, I believe my program is either wrong, or is there an error in
>>>> getControlledLinks. As the length of the state of a phase is 24, but
>>>> getControlledLinks only brings 20.
>>>> Am I missing something?
>>>>
>>>> Best regards,
>>>> Jose
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Simulation locked

2020-12-13 Thread Jose Monreal Bailey
Yeah, I have disabled teleports. I will look into the save-state.period and
fix the reason for the grid lock.
Thank you Jakob

On Sat, 12 Dec 2020 at 02:53, Jakob Erdmann  wrote:

> This looks like it might be a gridlock. Did you disable teleports?
> Otherwise the number and timing of teleports are good indicator of when the
> jam starts. --summary-output might be useful to observe how the number of
> active vehicles changes over the course of the simulation.
> Also --save-state.period options could be helpful to take a look at the
> simulation in sumo-gui.
>
> Am Fr., 11. Dez. 2020 um 14:10 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hey everyone,
>>
>> I am running a few simulations, some of them finish normally, but other
>> ones are stuck for quite a while and the output looks like this:
>>
>> Step #13200.00 (53ms ~= 18.87*RT, ~116698.11UPS, TraCI: 3508ms, vehicles
>> TOT 7288 ACT 6185
>> Step #13300.00 (64ms ~= 15.62*RT, ~96640.62UPS, TraCI: 4562ms, vehicles
>> TOT 7288 ACT 6185
>> Step #13400.00 (63ms ~= 15.87*RT, ~98174.60UPS, TraCI: 3552ms, vehicles
>> TOT 7288 ACT 6185
>>
>> for continuous timesteps. The output files are not complete yet
>> (obviously). Is there a way to know why it happened? by looking at some
>> output files?
>>
>> Best regards,
>> José
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Simulation locked

2020-12-11 Thread Jose Monreal Bailey
Hey everyone,

I am running a few simulations, some of them finish normally, but other
ones are stuck for quite a while and the output looks like this:

Step #13200.00 (53ms ~= 18.87*RT, ~116698.11UPS, TraCI: 3508ms, vehicles
TOT 7288 ACT 6185
Step #13300.00 (64ms ~= 15.62*RT, ~96640.62UPS, TraCI: 4562ms, vehicles TOT
7288 ACT 6185
Step #13400.00 (63ms ~= 15.87*RT, ~98174.60UPS, TraCI: 3552ms, vehicles TOT
7288 ACT 6185

for continuous timesteps. The output files are not complete yet
(obviously). Is there a way to know why it happened? by looking at some
output files?

Best regards,
José
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Version UNKNOWN

2020-12-08 Thread Jose Monreal Bailey
Thanks for your reply, I will execute the script you said.
I am using git clone.

Best regards,
José

On Wed 9 Dec 2020, 06:49 Michael Behrisch,  wrote:

> Hi Jose,
> no it is not, but usually it should be set automatically. Please check
> whether tools/build/version.py can be executed and look into the build
> log for something like
>
> Generating version.h
> generating /home/delphi/gcc/sumo/build/gcc4_64/src/version.h from
> revision in /home/delphi/gcc/sumo/.git/index
>
> Are you using a download or a git clone?
>
> Best regards,
> Michael
>
> Am 08.12.20 um 20:46 schrieb Jose Monreal Bailey:
> > Hey everyone,
> >
> > Is version UNKNOWN a problem when running sumo? Is there an automatic
> > way to set the version when compiling from source code?
> >
> > Best regards,
> > José
> >
> > ___
> > sumo-user mailing list
> > sumo-user@eclipse.org
> > To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> >
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Version UNKNOWN

2020-12-08 Thread Jose Monreal Bailey
Hey everyone,

Is version UNKNOWN a problem when running sumo? Is there an automatic way
to set the version when compiling from source code?

Best regards,
José
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Manual reroute by Effort

2020-12-07 Thread Jose Monreal Bailey
Thanks Jakob for your reply!
I am setting the effort, but I found that the problem was the vehicles did
not have a routing device, so I added it.

Thanks !

On Mon, 7 Dec 2020 at 07:21, Jakob Erdmann  wrote:

> All vehicles are able to reroute when asked to do so via TraCI. Possible
> reasons why it doesn't happen for you:
> - the vehicle has lots of stops or vias defined that anchor the route
> - wrong effort values being used (default edge effort is 0).
>
> How are you setting the effort?
> Did you check the effort in sumo-gui?
>
> Am So., 6. Dez. 2020 um 02:53 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hey everyone,
>>
>> I was reading past emails where they asked about rerouting by effort.
>> I am using TraaS, and when calling rerouteEffort with vehicle id, I do
>> not see the vehicle re-routing even when the effort on all other edges is
>> smaller than the ones it has already taken.
>>
>> Could it be because the route/flow is fixed, and it can not go against
>> the rule of the defined route?
>>
>> Best regards,
>> José
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Manual reroute by Effort

2020-12-05 Thread Jose Monreal Bailey
Hey everyone,

I was reading past emails where they asked about rerouting by effort.
I am using TraaS, and when calling rerouteEffort with vehicle id, I do not
see the vehicle re-routing even when the effort on all other edges is
smaller than the ones it has already taken.

Could it be because the route/flow is fixed, and it can not go against the
rule of the defined route?

Best regards,
José
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Error compiling sumo master

2020-11-08 Thread Jose Monreal Bailey
Thanks Michael!

On Sun 8 Nov 2020, 17:25 Michael Behrisch,  wrote:

> Hi Jose,
> the easiest way is probably to edit the CMakeCache.txt and adapt the
> entries for GL2PS_INCLUDE_DIR and GL2PS_LIBRARY.
>
> Best regards,
> Michael
>
> Am 02.11.20 um 11:20 schrieb Jose Monreal Bailey:
> > Hi Michael,
> >
> > Do you know what is the CMAKE flag to set the gl2ps to a local
> installation?
> >
> > Best regards,
> > Jose
> >
> > On Sat, 31 Oct 2020 at 20:46, Michael Behrisch  > <mailto:o...@behrisch.de>> wrote:
> >
> > Hi,
> > I think your version of gl2ps may be too old. The function it
> complains
> > about has been introduced in 1.3.8 (7 years ago).
> > If you don't need vector graphic screenshots, then you can just
> disable
> > it (for instance by uninstalling the gl2ps-devel package and running
> > cmake again).
> >
> > Best regards,
> > Michael
> >
> > Am 31.10.20 um 21:18 schrieb Jose Monreal Bailey:
> > > Hello everyone,
> > >
> > > I am having problems compiling the latest version of sumo. I also
> > moved
> > > to 1.5 and I get the same error message. Could it be that I am
> missing
> > > some library?
> > >
> > > sumo/src/utils/gui/div/GLHelper.cpp:513:9: error:
> 'gl2psTextOptColor'
> > > was not declared in this scope; did you mean 'gl2psTextOpt'?
> > >   513 | gl2psTextOptColor(text.c_str(), "Roboto", 10,
> > align == 0
> > > ? GL2PS_TEXT_C : align, (GLfloat) - angle, color);
> > >   | ^
> > >   | gl2psTextOpt
> > > make[2]: ***
> > > [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/GLHelper.cpp.o]
> > Error 1
> > > make[1]: *** [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/all]
> > Error 2
> > >
> > >
> > > Best regards,
> > > Jose
> > >
> > > ___
> > > sumo-user mailing list
> > > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
> > > To unsubscribe from this list, visit
> > https://www.eclipse.org/mailman/listinfo/sumo-user
> > <https://www.eclipse.org/mailman/listinfo/sumo-user>
> > >
> >
> >
> > ___
> > sumo-user mailing list
> > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
> > To unsubscribe from this list, visit
> > https://www.eclipse.org/mailman/listinfo/sumo-user
> > <https://www.eclipse.org/mailman/listinfo/sumo-user>
> >
> >
> > ___
> > sumo-user mailing list
> > sumo-user@eclipse.org
> > To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> >
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Error compiling sumo master

2020-11-02 Thread Jose Monreal Bailey
Hi Michael,

Do you know what is the CMAKE flag to set the gl2ps to a local installation?

Best regards,
Jose

On Sat, 31 Oct 2020 at 20:46, Michael Behrisch  wrote:

> Hi,
> I think your version of gl2ps may be too old. The function it complains
> about has been introduced in 1.3.8 (7 years ago).
> If you don't need vector graphic screenshots, then you can just disable
> it (for instance by uninstalling the gl2ps-devel package and running
> cmake again).
>
> Best regards,
> Michael
>
> Am 31.10.20 um 21:18 schrieb Jose Monreal Bailey:
> > Hello everyone,
> >
> > I am having problems compiling the latest version of sumo. I also moved
> > to 1.5 and I get the same error message. Could it be that I am missing
> > some library?
> >
> > sumo/src/utils/gui/div/GLHelper.cpp:513:9: error: 'gl2psTextOptColor'
> > was not declared in this scope; did you mean 'gl2psTextOpt'?
> >   513 | gl2psTextOptColor(text.c_str(), "Roboto", 10, align == 0
> > ? GL2PS_TEXT_C : align, (GLfloat) - angle, color);
> >   | ^
> >   | gl2psTextOpt
> > make[2]: ***
> > [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/GLHelper.cpp.o] Error 1
> > make[1]: *** [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/all] Error 2
> >
> >
> > Best regards,
> > Jose
> >
> > ___
> > sumo-user mailing list
> > sumo-user@eclipse.org
> > To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> >
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Error compiling sumo master

2020-10-31 Thread Jose Monreal Bailey
Hello everyone,

I am having problems compiling the latest version of sumo. I also moved to
1.5 and I get the same error message. Could it be that I am missing some
library?

sumo/src/utils/gui/div/GLHelper.cpp:513:9: error: 'gl2psTextOptColor' was
not declared in this scope; did you mean 'gl2psTextOpt'?
  513 | gl2psTextOptColor(text.c_str(), "Roboto", 10, align == 0 ?
GL2PS_TEXT_C : align, (GLfloat) - angle, color);
  | ^
  | gl2psTextOpt
make[2]: ***
[src/utils/gui/div/CMakeFiles/utils_gui_div.dir/GLHelper.cpp.o] Error 1
make[1]: *** [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/all] Error 2


Best regards,
Jose
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Warning: unable to open primary document entity 'xsd/routes_file.xsd'

2020-05-14 Thread Jose Monreal Bailey
Well I do not have internet access from where its being executed.
Thats why I downloaded before the xsd files

On Thu, 14 May 2020 at 13:49, Jakob Erdmann  wrote:

> It should be
> http://www.w3.org/2001/XMLSchema-instance;
> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd;>
> instead of
> http://www.w3.org/2001/XMLSchema-instance;
> xsi:noNamespaceSchemaLocation="xsd/routes_file.xsd">
>
>
> Am Mi., 13. Mai 2020 um 11:24 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hey everyone,
>>
>> I am getting the following warning,
>>
>> Warning: unable to open primary document entity 'xsd/routes_file.xsd'
>>  In file '/home/user/4/scenario.rou.xml'
>>  At line/column 1/0.
>>
>> My rou.xml file has the relative path to the xsd just like all other xml
>> files from the simulation and this is the only one that gives that warning,
>> is there anything that it can be done?
>>
>> http://www.w3.org/2001/XMLSchema-instance;
>> xsi:noNamespaceSchemaLocation="xsd/routes_file.xsd">
>>
>> Best regards,
>> Jose
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] VehsPerHour issue

2020-05-14 Thread Jose Monreal Bailey
Hey everyone,

I have the property VehsPerHour set to a certain number, the start and end
flow its for an hour, and the simulation time is longer.
However, I get more vehicles inserted in the hour, how is this calculated?
Is there a way to know before hand how many vehicles will be inserted in
the simulation?

Best regards,
Jose
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Warning: unable to open primary document entity 'xsd/routes_file.xsd'

2020-05-13 Thread Jose Monreal Bailey
Hey everyone,

I am getting the following warning,

Warning: unable to open primary document entity 'xsd/routes_file.xsd'
 In file '/home/user/4/scenario.rou.xml'
 At line/column 1/0.

My rou.xml file has the relative path to the xsd just like all other xml
files from the simulation and this is the only one that gives that warning,
is there anything that it can be done?

http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation="xsd/routes_file.xsd">

Best regards,
Jose
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Warning: unable to open primary document entity 'xsd/routes_file.xsd'

2020-05-13 Thread Jose Monreal Bailey
Hey everyone,

I am getting the following warning,

Warning: unable to open primary document entity 'xsd/routes_file.xsd'
 In file '/home/user/4/scenario.rou.xml'
 At line/column 1/0.

My rou.xml file has the relative path to the xsd just like all other xml
files from the simulation and this is the only one that gives that warning,
is there anything that it can be done?

http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation="xsd/routes_file.xsd">

Best regards,
Jose
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Error compiling SUMO

2020-05-07 Thread Jose Monreal Bailey
Is it possible to compile sumo without GUI?

I dont need the GUI and while Im compiling I am getting the following error:

GLHelper.cpp:583:9: error: 'gl2psTextOptColor' was not declared in this
scope; did you mean 'gl2psTextOpt'?
  583 | gl2psTextOptColor(text.c_str(), "Roboto", 10, align == 0 ?
GL2PS_TEXT_C : align, (GLfloat) - angle, color);
  | ^
  | gl2psTextOpt
make[2]: ***
[src/utils/gui/div/CMakeFiles/utils_gui_div.dir/GLHelper.cpp.o] Error 1
make[1]: *** [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs

On Thu, 7 May 2020 at 14:14, Jose Monreal Bailey  wrote:

> Thank you, I just found out that fox-devel was not installed, going to
> install again.
>
> Best regards,
> Jose
>
> On Thu, 7 May 2020 at 13:58, Harald Schaefer  wrote:
>
>> Hi Jose,
>>
>> have you tried it according to 
>> https://sumo.dlr.de/docs/Installing/Linux_Build.html
>> ? <https://sumo.dlr.de/docs/Installing/Linux_Build.html>
>>
>> Goto your SUMO_HOME dir (with the sources)
>>
>> remove the old cmake build dir (that helps sometimes for me)
>>
>>   rm -r  build/cmake-build
>>
>> create it new
>>
>>  mkdir build/cmake-build
>>
>> go to that dir
>>
>>  cd build/cmake-build
>>
>> run cmake
>>
>>  cmake ../..
>>
>> and then run a plain make make
>>
>>  make -j$(nproc)
>>
>> What is the output of cmake?
>>
>> Greetings,
>>
>> Harald
>>
>>
>>
>>  Am 07.05.20 um 14:42 schrieb Jose Monreal Bailey:
>>
>> Hey everyone,
>>
>> I am compiling SUMO in Centos6, with the following line:
>>
>> cmake -D
>> CMAKE_C_COMPILER=/home/support/apps/cports/rhel-6.x86_64/gnu/gcc/9.2.0/bin/gcc
>> -D
>> CMAKE_CXX_COMPILER=/home/support/apps/cports/rhel-6.x86_64/gnu/gcc/9.2.0/bin/c++
>> -D FOX_INCLUDE_DIR=/usr/include/fox-1.6 -D FOX_LIBRARY=/usr/lib64/
>> libFOX-1.6.so  ../..
>>
>> and I am getting the error fx.h not found, but it is in the system folder
>> /usr/include/fox-1.6/
>>
>> [  2%] Building CXX object
>> src/utils/common/CMakeFiles/utils_common.dir/FileHelpers.cpp.o
>> [  2%] Building CXX object
>> src/utils/emissions/CMakeFiles/utils_emissions.dir/HelpersEnergy.cpp.o
>> [  2%] Building CXX object
>> src/utils/xml/CMakeFiles/utils_xml.dir/GenericSAXHandler.cpp.o
>> Error creating
>> /home/users/monrealj/Projects/sumo/build/cmake-build/src/version.h 'module'
>> object has no attribute 'check_output'
>> generating
>> /home/users/monrealj/Projects/sumo/build/cmake-build/src/version.h from
>> revision in 
>> Scanning dependencies of target router
>> [  2%] Built target generate-version-h
>> [  2%] Building CXX object src/router/CMakeFiles/router.dir/ROEdge.cpp.o
>> Scanning dependencies of target utils_shapes
>> [  2%] Building CXX object
>> src/utils/shapes/CMakeFiles/utils_shapes.dir/Shape.cpp.o
>> In file included from
>> /home/users/monrealj/Projects/sumo/src/utils/router/AStarLookupTable.h:26,
>>  from
>> /home/users/monrealj/Projects/sumo/src/utils/router/AStarRouter.h:43,
>>  from
>> /home/users/monrealj/Projects/sumo/src/utils/router/IntermodalRouter.h:34,
>>  from
>> /home/users/monrealj/Projects/sumo/src/utils/router/RouterProvider.h:24,
>>  from
>> /home/users/monrealj/Projects/sumo/src/router/RORoutable.h:27,
>>  from
>> /home/users/monrealj/Projects/sumo/src/router/RONet.h:33,
>>  from
>> /home/users/monrealj/Projects/sumo/src/router/ROEdge.cpp:36:
>> /home/users/monrealj/Projects/sumo/src/utils/foxtools/FXWorkerThread.h:32:10:
>> fatal error: fx.h: No such file or directory
>>32 | #include 
>>   |  ^~
>> compilation terminated.
>> make[2]: *** [src/router/CMakeFiles/router.dir/ROEdge.cpp.o] Error 1
>> make[1]: *** [src/router/CMakeFiles/router.dir/all] Error 2
>> make[1]: *** Waiting for unfinished jobs
>>
>>
>>
>> Could anyone give me some ideas what can I do to build it?
>>
>> Best regards,
>> Jose
>>
>> ___
>> sumo-user mailing listsumo-u...@eclipse.org
>> To unsubscribe from this list, visit 
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Error compiling SUMO

2020-05-07 Thread Jose Monreal Bailey
Thank you, I just found out that fox-devel was not installed, going to
install again.

Best regards,
Jose

On Thu, 7 May 2020 at 13:58, Harald Schaefer  wrote:

> Hi Jose,
>
> have you tried it according to 
> https://sumo.dlr.de/docs/Installing/Linux_Build.html
> ? <https://sumo.dlr.de/docs/Installing/Linux_Build.html>
>
> Goto your SUMO_HOME dir (with the sources)
>
> remove the old cmake build dir (that helps sometimes for me)
>
>   rm -r  build/cmake-build
>
> create it new
>
>  mkdir build/cmake-build
>
> go to that dir
>
>  cd build/cmake-build
>
> run cmake
>
>  cmake ../..
>
> and then run a plain make make
>
>  make -j$(nproc)
>
> What is the output of cmake?
>
> Greetings,
>
> Harald
>
>
>
>  Am 07.05.20 um 14:42 schrieb Jose Monreal Bailey:
>
> Hey everyone,
>
> I am compiling SUMO in Centos6, with the following line:
>
> cmake -D
> CMAKE_C_COMPILER=/home/support/apps/cports/rhel-6.x86_64/gnu/gcc/9.2.0/bin/gcc
> -D
> CMAKE_CXX_COMPILER=/home/support/apps/cports/rhel-6.x86_64/gnu/gcc/9.2.0/bin/c++
> -D FOX_INCLUDE_DIR=/usr/include/fox-1.6 -D FOX_LIBRARY=/usr/lib64/
> libFOX-1.6.so  ../..
>
> and I am getting the error fx.h not found, but it is in the system folder
> /usr/include/fox-1.6/
>
> [  2%] Building CXX object
> src/utils/common/CMakeFiles/utils_common.dir/FileHelpers.cpp.o
> [  2%] Building CXX object
> src/utils/emissions/CMakeFiles/utils_emissions.dir/HelpersEnergy.cpp.o
> [  2%] Building CXX object
> src/utils/xml/CMakeFiles/utils_xml.dir/GenericSAXHandler.cpp.o
> Error creating
> /home/users/monrealj/Projects/sumo/build/cmake-build/src/version.h 'module'
> object has no attribute 'check_output'
> generating
> /home/users/monrealj/Projects/sumo/build/cmake-build/src/version.h from
> revision in 
> Scanning dependencies of target router
> [  2%] Built target generate-version-h
> [  2%] Building CXX object src/router/CMakeFiles/router.dir/ROEdge.cpp.o
> Scanning dependencies of target utils_shapes
> [  2%] Building CXX object
> src/utils/shapes/CMakeFiles/utils_shapes.dir/Shape.cpp.o
> In file included from
> /home/users/monrealj/Projects/sumo/src/utils/router/AStarLookupTable.h:26,
>  from
> /home/users/monrealj/Projects/sumo/src/utils/router/AStarRouter.h:43,
>  from
> /home/users/monrealj/Projects/sumo/src/utils/router/IntermodalRouter.h:34,
>  from
> /home/users/monrealj/Projects/sumo/src/utils/router/RouterProvider.h:24,
>  from
> /home/users/monrealj/Projects/sumo/src/router/RORoutable.h:27,
>  from
> /home/users/monrealj/Projects/sumo/src/router/RONet.h:33,
>  from
> /home/users/monrealj/Projects/sumo/src/router/ROEdge.cpp:36:
> /home/users/monrealj/Projects/sumo/src/utils/foxtools/FXWorkerThread.h:32:10:
> fatal error: fx.h: No such file or directory
>32 | #include 
>   |  ^~
> compilation terminated.
> make[2]: *** [src/router/CMakeFiles/router.dir/ROEdge.cpp.o] Error 1
> make[1]: *** [src/router/CMakeFiles/router.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs
>
>
>
> Could anyone give me some ideas what can I do to build it?
>
> Best regards,
> Jose
>
> ___
> sumo-user mailing listsumo-u...@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Error compiling SUMO

2020-05-07 Thread Jose Monreal Bailey
Hey everyone,

I am compiling SUMO in Centos6, with the following line:

cmake -D
CMAKE_C_COMPILER=/home/support/apps/cports/rhel-6.x86_64/gnu/gcc/9.2.0/bin/gcc
-D
CMAKE_CXX_COMPILER=/home/support/apps/cports/rhel-6.x86_64/gnu/gcc/9.2.0/bin/c++
-D FOX_INCLUDE_DIR=/usr/include/fox-1.6 -D FOX_LIBRARY=/usr/lib64/
libFOX-1.6.so  ../..

and I am getting the error fx.h not found, but it is in the system folder
/usr/include/fox-1.6/

[  2%] Building CXX object
src/utils/common/CMakeFiles/utils_common.dir/FileHelpers.cpp.o
[  2%] Building CXX object
src/utils/emissions/CMakeFiles/utils_emissions.dir/HelpersEnergy.cpp.o
[  2%] Building CXX object
src/utils/xml/CMakeFiles/utils_xml.dir/GenericSAXHandler.cpp.o
Error creating
/home/users/monrealj/Projects/sumo/build/cmake-build/src/version.h 'module'
object has no attribute 'check_output'
generating
/home/users/monrealj/Projects/sumo/build/cmake-build/src/version.h from
revision in 
Scanning dependencies of target router
[  2%] Built target generate-version-h
[  2%] Building CXX object src/router/CMakeFiles/router.dir/ROEdge.cpp.o
Scanning dependencies of target utils_shapes
[  2%] Building CXX object
src/utils/shapes/CMakeFiles/utils_shapes.dir/Shape.cpp.o
In file included from
/home/users/monrealj/Projects/sumo/src/utils/router/AStarLookupTable.h:26,
 from
/home/users/monrealj/Projects/sumo/src/utils/router/AStarRouter.h:43,
 from
/home/users/monrealj/Projects/sumo/src/utils/router/IntermodalRouter.h:34,
 from
/home/users/monrealj/Projects/sumo/src/utils/router/RouterProvider.h:24,
 from
/home/users/monrealj/Projects/sumo/src/router/RORoutable.h:27,
 from
/home/users/monrealj/Projects/sumo/src/router/RONet.h:33,
 from
/home/users/monrealj/Projects/sumo/src/router/ROEdge.cpp:36:
/home/users/monrealj/Projects/sumo/src/utils/foxtools/FXWorkerThread.h:32:10:
fatal error: fx.h: No such file or directory
   32 | #include 
  |  ^~
compilation terminated.
make[2]: *** [src/router/CMakeFiles/router.dir/ROEdge.cpp.o] Error 1
make[1]: *** [src/router/CMakeFiles/router.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs



Could anyone give me some ideas what can I do to build it?

Best regards,
Jose
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Building sumo without cmake

2020-05-03 Thread Jose Monreal Bailey
hey everyone,


Is it possible to build sumo without cmake?
How?

Best regards,
Jose
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Rerouting and edges effort

2019-10-09 Thread Jose Monreal Bailey
Hi Jakob,

Thanks for the reply! So another approach it would be take the
rerouteEffort, that way the vehicle gets a new route depending on the
effort of the edges.
Thanks!

best regards,
Jose

On Wed, 9 Oct 2019 at 08:53, Jakob Erdmann  wrote:

> The findRoute method currently routes according to travelTime and ignores
> effort.
> See https://github.com/eclipse/sumo/issues/3876
> If you have efforts that don't change over time then you can get the same
> effect by setting a custom traveltime according to the required efforts.
> (The whole point of separating efforts and traveltime is that time
> dependent-efforts may change along the route so the traveltime must be
> tracked as well).
>
> regards,
> Jakob
>
> Am So., 6. Okt. 2019 um 15:37 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hey everyone,
>>
>> I need some help to understand what it means the edge effort, and the
>> findRoute method.
>> I am changing the effort of the edges (greater effort less chance for
>> vehicles to be rerouted in that edge, correct?)
>> And the findRoute method it seems not taking into account the effort of
>> the edges, what method should I use?
>>
>> Best regards,
>> Jose
>> ___
>> 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 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] Plotting FCD output as spatio temporal

2019-10-08 Thread Jose Monreal Bailey
Hey everyone,

I have seen a few plots
in
that presentation made from FCD output. Does sumo come with a script to do
those kind of plots(spatio temporal)? Or does anyone have have something to
be used that could share it in the list?

Best regards,
Jose
___
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] Rerouting and edges effort

2019-10-06 Thread Jose Monreal Bailey
Hey everyone,

I need some help to understand what it means the edge effort, and the
findRoute method.
I am changing the effort of the edges (greater effort less chance for
vehicles to be rerouted in that edge, correct?)
And the findRoute method it seems not taking into account the effort of the
edges, what method should I use?

Best regards,
Jose
___
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] TraaS getEffort

2019-09-15 Thread Jose Monreal Bailey
Hey everyone,

The parameter time of the method getEffort has to change from int to double
in the TraaS code

Best regards,
Jose


On Sun, 15 Sep 2019 at 17:44, Jose Monreal Bailey 
wrote:

> Hey everyone,
>
> I am trying to use the method Edge.getEffort from the TraaS package.
> However, I keep getting an error and I do not know if I am using the method
> wrong, or is there a bug in the method.
>
> I am passing the EdgeId and the time in Seconds. I want to retrieve in
> real time the current effort in the edge where a vehicle is passing by.
>
> I am using the latest code in the master branch.
>
> Any insight would be appreciated.
>
>
> Best regards,
> Jose
>
___
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] TraaS getEffort

2019-09-15 Thread Jose Monreal Bailey
Hey everyone,

I am trying to use the method Edge.getEffort from the TraaS package.
However, I keep getting an error and I do not know if I am using the method
wrong, or is there a bug in the method.

I am passing the EdgeId and the time in Seconds. I want to retrieve in real
time the current effort in the edge where a vehicle is passing by.

I am using the latest code in the master branch.

Any insight would be appreciated.


Best regards,
Jose
___
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] pedestrian flow

2019-07-02 Thread Jose Monreal Bailey
Hello everyone,

Is it possible to do pedestrian flows? or is it just trips?
I am trying to make them in Netedit, but I get coredump when trying to save
the file.

Best regards,
Jose
___
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] Detectors questions

2019-07-01 Thread Jose Monreal Bailey
Hey everyone,

>From E1 and E2 detectors I understand the difference, and when to use each
one. But for E3 I am kind of lost, is this supposed to go at intersections?
or also in the edges lanes?

Best regards,
José
___
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] Vehicle Flow or Demand

2019-07-01 Thread Jose Monreal Bailey
Hi Jakob,

I got to this link
https://sumo.dlr.de/wiki/Simulation/Calibrator#Building_a_scenario_without_knowledge_of_routes.2C_based_on_flow_measurements
from your e-mail. What I don't get is what is the difference between that
approach and having the flows defined in the route file without having the
calibrator ?

Best regards,
José

On Mon, 1 Jul 2019 at 09:53, Jakob Erdmann  wrote:

> You need some extra effort to use this type of information because each
> vehicle needs to know a sequence of edges which cannot always be uniquely
> determined from local counts.
> See https://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points (and
> also the two links in the cautioning note).
>
> Am Mo., 1. Juli 2019 um 10:48 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hey everyone,
>>
>> Is it possible to have a simplified configuration of vehicle flow, where
>> you just add the demand per hour in the road?
>>
>> Best regards,
>> José
>> ___
>> 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 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] Vehicle Flow or Demand

2019-07-01 Thread Jose Monreal Bailey
Hey everyone,

Is it possible to have a simplified configuration of vehicle flow, where
you just add the demand per hour in the road?

Best regards,
José
___
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] NETEDIT - Difference between network and demand modes

2019-06-19 Thread Jose Monreal Bailey
Hey everyone,

Is there any tutorial on how to use the demand mode in NETEDIT?
What is possible to do in that mode?

Best regards,
José
___
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] SUMO version correct?

2019-06-19 Thread Jose Monreal Bailey
Nevermind last email

On Wed, 19 Jun 2019 at 09:11, Jose Monreal Bailey 
wrote:

> Hey everyone,
>
> When I run sumo --version I get the following output,
>
> sumo --version
> Eclipse SUMO Version v0_32_0+2802-7b378d18a1
>  Build features: x86_64-pc-linux-gnu PROJ GDAL GUI UnitTests
>  Copyright (C) 2001-2018 German Aerospace Center (DLR) and others;
> http://sumo.dlr.de
>
> Eclipse SUMO Version v0_32_0+2802-7b378d18a1 is part of SUMO.
> This program and the accompanying materials
> are made available under the terms of the Eclipse Public License v2.0
> which accompanies this distribution, and is available at
> http://www.eclipse.org/legal/epl-v20.html
> SPDX-License-Identifier: EPL-2.0
>
> Is this correct for the build from Apr 4th, 2019?
> Shouldn't it be version 1.2 something?
>
> Best regards,
> Jose
>
___
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] SUMO version correct?

2019-06-19 Thread Jose Monreal Bailey
Hey everyone,

When I run sumo --version I get the following output,

sumo --version
Eclipse SUMO Version v0_32_0+2802-7b378d18a1
 Build features: x86_64-pc-linux-gnu PROJ GDAL GUI UnitTests
 Copyright (C) 2001-2018 German Aerospace Center (DLR) and others;
http://sumo.dlr.de

Eclipse SUMO Version v0_32_0+2802-7b378d18a1 is part of SUMO.
This program and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
SPDX-License-Identifier: EPL-2.0

Is this correct for the build from Apr 4th, 2019?
Shouldn't it be version 1.2 something?

Best regards,
Jose
___
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)

2019-04-26 Thread Jose Monreal Bailey
What I did, was to download all XSD files and have them in my system. As I
did not have internet connection from the server running the simulations

On Fri, 26 Apr 2019, 18:22 Paolo Camacho,  wrote:

> Hi,
>
> Could anyone help me?, please. Before I could run the simulations, but now
> the next mistake appears.
>
> *Error: unable to open file 'https://sumo.dlr.de/xsd/routes_file.xsd
> '*
> * In file 'C:\Users\Paolo Camacho\Sumo\2019-02-14-21-04-32 - copia -
> copia\TRIPB'*
> * At line/column 1/0.*
>
> *Quitting (on error).*
>
>
>  Thank you!
> ___
> 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] Error in TraaS setCompleteRedYellowGreenDefinition

2019-04-04 Thread Jose Monreal Bailey
Thank you Jakob

On Thu, 4 Apr 2019 at 09:52, Jakob Erdmann  wrote:

> There was a bugfix in the TraaS client for that function recently. Please
> use the very latest development version of SUMO and TraaS (
> https://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version)
>
> Am Do., 4. Apr. 2019 um 10:46 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hey everyone,
>>
>> I am having a problem trying to use the method
>> setCompleteRedYellowGreenDefinition. I am giving the trafficLightId and
>> SUMOTLSProgram as parameters.
>>
>> Error: Answered with error to command 0xc2: set program: 3. parameter
>> (index) must be an int.
>> it.polito.appeal.traci.TraCIException: SUMO error for command 194: set
>> program: 3. parameter (index) must be an int.
>>
>> What am I doing wrong?
>>
>> Best regards,
>> Jose
>> ___
>> 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 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] Error in TraaS setCompleteRedYellowGreenDefinition

2019-04-04 Thread Jose Monreal Bailey
Hey everyone,

I am having a problem trying to use the method
setCompleteRedYellowGreenDefinition. I am giving the trafficLightId and
SUMOTLSProgram as parameters.

Error: Answered with error to command 0xc2: set program: 3. parameter
(index) must be an int.
it.polito.appeal.traci.TraCIException: SUMO error for command 194: set
program: 3. parameter (index) must be an int.

What am I doing wrong?

Best regards,
Jose
___
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] Vehicles not running

2019-03-14 Thread Jose Monreal Bailey
The vehicle coming from the West to turn south is stopping and then the
vehicles coming from the East side stop.
Why is the vehicle(West) stopping in the first place?

On Thu, 14 Mar 2019 at 15:30, Jose Monreal Bailey 
wrote:

> Hey everyone,
>
> After I start my simulation, I start extending the greenphase for a while,
> but vehicles will not continue moving (In the screenshot you see vehicles
> halted, and as the simulation goes, they do not move.
>
> I am checking if the remaining time is less than certain number(5) it will
> increase the phase time by one.
> But vehicles with green light will not move.
>
> Any ideas what could it be? If you need more information please let me
> know.
>
>
>
___
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] TrafficLight getNextSwitch

2019-03-13 Thread Jose Monreal Bailey
Hey everyone,

Did this command change?
I am trying to request the remaining time on the current phase of the
traffic light, but I am getting the following message,

it.polito.appeal.traci.TraCIException$UnexpectedData: Unexpected : expected
9, got 11
___
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] Error TraaS and getCompleteRedYellowGreenDefinition

2019-03-13 Thread Jose Monreal Bailey
Hi Jakob,

For a different setup of Junction and Traffic Light program, I am not able
to retrieve the complete definition, I am getting the following error,

Error reading byte, invalid list position specified for reading: 1411

In the meantime, I will change my network configuration and TL programs to
be the same.

Best regards,

On Wed, 13 Mar 2019 at 09:41, Jose Monreal Bailey 
wrote:

> Nevermind, I found the error those should be now minDur, maxDur instead of
> duration1 and duration2
>
> Best regards,
> José
>
> On Wed, 13 Mar 2019 at 09:39, Jose Monreal Bailey 
> wrote:
>
>> I tried building traas with the latest changes but I get the following
>> errors,
>>
>> ant
>> Buildfile:
>> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build.xml
>>
>> compile:
>> [javac] Compiling 27 source files to
>> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build
>> [javac]
>> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:508:
>> error: incompatible types: possible lossy conversion from double to int
>> [javac] cmd.content().writeInt(stp.duration);
>> [javac]   ^
>> [javac]
>> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:510:
>> error: cannot find symbol
>> [javac] cmd.content().writeInt(stp.duration1);
>> [javac]   ^
>> [javac]   symbol:   variable duration1
>> [javac]   location: variable stp of type SumoTLSPhase
>> [javac]
>> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:512:
>> error: cannot find symbol
>> [javac] cmd.content().writeInt(stp.duration2);
>> [javac]   ^
>> [javac]   symbol:   variable duration2
>> [javac]   location: variable stp of type SumoTLSPhase
>> [javac] Note: Some messages have been simplified; recompile with
>> -Xdiags:verbose to get full output
>> [javac] 3 errors
>>
>> BUILD FAILED
>> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build.xml:14:
>> Compile failed; see the compiler error output for details.
>>
>> Am I missing something? Or what revision should I checkout? I am
>> currently on master 1ec772d886a4435b259f3427ee5c1a12e8bd64b7
>>
>>
>> Best regards,
>> José
>>
>> On Tue, 12 Mar 2019 at 17:51, Jakob Erdmann 
>> wrote:
>>
>>> Yes. Thanks for pointing this out. It's now fixed in the repository. You
>>> can rebuild TraaS or wait until tomorrow.
>>>
>>> regards,
>>> Jakob
>>>
>>> Am Di., 12. März 2019 um 16:19 Uhr schrieb Jose Monreal Bailey <
>>> jmonr...@gmail.com>:
>>>
>>>> Does this have to do with it?
>>>>
>>>> TraCI
>>>>
>>>>- Function *trafficlight.setCompleteRedYellowGreeenDefinition* now
>>>>accepts *name* as an optional 6th component when defining phases.
>>>>Function ''*trafficlight.getCompleteRedYellowGreeenDefinition* now
>>>>returns *name* as the 6th component when defining phases. Custom
>>>>clients must be patched to handle this.
>>>>
>>>> Is this updated in TraaS? it's not working on the version I am
>>>> using: d4618041118a355586673e41e9e442ecf4025a28
>>>>
>>>> On Tue, 12 Mar 2019 at 15:02, Jose Monreal Bailey 
>>>> wrote:
>>>>
>>>>> Hey everyone,
>>>>>
>>>>> When I execute the command getCompleteRedYellowGreenDefinition for a
>>>>> traffic light, I get the following error:
>>>>>
>>>>> Error reading byte, invalid list position specified for reading: 1068
>>>>>
>>>>> Where can I check the correct inputs for this command (Hex codes) ?
>>>>>
>>>>>
>>>>> Best regards,
>>>>> Jose
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>> 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 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] Edge or Lane association to Phase

2019-03-13 Thread Jose Monreal Bailey
I have the traffic light program in my additional files, which is different
from the one from the generated with netconvert.
I still don't understand what you mean by link indices and tls indeces, as
I see they are different.

Best regards,
José

On Wed, 13 Mar 2019 at 11:13, Jakob Erdmann  wrote:

> the index in the list returned by getControlledLinks equals the tls link
> index.
>
> Note, that the traci protocoll actually returnes a nested list to allow
> for link indices which are shared by multiple connections and unused link
> indices.
> However, TraaS flattens this into one list.
> If you are using traffic lights which were generated by netconvert and did
> not modify link indices it will work regardless. Because each link index
> will correspond to exactly one connection. Otherwise your second approach
> will work just fine.
>
> Am Mi., 13. März 2019 um 11:59 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> I came out with another approach,
>>
>> Change the phases of the TL's get current state, and iterate to check the
>> state and the lane.
>>
>> Best regards,
>> José
>>
>> On Wed, 13 Mar 2019 at 10:33, Jose Monreal Bailey 
>> wrote:
>>
>>> Hi Jakob,
>>>
>>> Thank you for the helpful information.
>>> What do you mean by point 1 when you say: find link indices for
>>> connections? which are these in the controlledLinks.
>>>
>>> As controlledLinks returns an ArrayList with attributes from and to.
>>> This is the complex part, as I don't know if the order of the structure
>>> will be the same, what happens in an intersection with 3 edges.
>>>
>>> Best regards,
>>> José
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Wed, 13 Mar 2019 at 10:25, Jakob Erdmann 
>>> wrote:
>>>
>>>> Possibly, there is a misunderstanding.
>>>> In SUMO, the phase index maps to the time axis whereas the link index
>>>> maps to location.
>>>>
>>>> If you want to find out the green phase(s)s for a given lane you have
>>>> perform the following steps:
>>>> 1) find link indices for connections from the given lane using
>>>> getControlledLInks
>>>> 2) iterate over the phases of the current program and check whether the
>>>> n'th entry in the state is 'G' or 'g' (where n is an index from above).
>>>> This marks a phase where that lane has green.
>>>>
>>>> It may help to revisit this part of the documentation:
>>>> https://sumo.dlr.de/wiki/Simulation/Traffic_Lights#.3Cphase.3E_Attributes
>>>>
>>>> Am Mi., 13. März 2019 um 11:12 Uhr schrieb Jose Monreal Bailey <
>>>> jmonr...@gmail.com>:
>>>>
>>>>> From getControlledLinks I get the links ordered from the bottom and
>>>>> anti-clockwise.
>>>>> And then if I want to map it to the complete definition to map to the
>>>>> phases, it's much more complex, as its not the same order and direction.
>>>>>
>>>>> Is it possible to get the controlled Links, or Lanes with it
>>>>> corresponding TLS Phase program index?
>>>>>
>>>>> Best regards,
>>>>> José
>>>>>
>>>>> On Tue, 12 Mar 2019 at 16:49, Jakob Erdmann 
>>>>> wrote:
>>>>>
>>>>>> see
>>>>>> https://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Accessing_indices_programmatically
>>>>>>
>>>>>>
>>>>>> Am Di., 12. März 2019 um 13:14 Uhr schrieb Jose Monreal Bailey <
>>>>>> jmonr...@gmail.com>:
>>>>>>
>>>>>>> Hey everyone,
>>>>>>>
>>>>>>> I am trying to build a hashmap association of edges to the
>>>>>>> correspondent green phase.
>>>>>>>
>>>>>>> I can get the program definition form the traffic lights, but what
>>>>>>> is the best way to get the edges from the program, or from the phase if
>>>>>>> possible?
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Jose
>>>>>>> ___
>>>>>>> sumo-user mailing list
>>>>>>> sumo-user@eclipse.org
>>>>>>> To change your delivery options, retrieve your password, or
>>>>>

Re: [sumo-user] Edge or Lane association to Phase

2019-03-13 Thread Jose Monreal Bailey
I came out with another approach,

Change the phases of the TL's get current state, and iterate to check the
state and the lane.

Best regards,
José

On Wed, 13 Mar 2019 at 10:33, Jose Monreal Bailey 
wrote:

> Hi Jakob,
>
> Thank you for the helpful information.
> What do you mean by point 1 when you say: find link indices for
> connections? which are these in the controlledLinks.
>
> As controlledLinks returns an ArrayList with attributes from and to.
> This is the complex part, as I don't know if the order of the structure
> will be the same, what happens in an intersection with 3 edges.
>
> Best regards,
> José
>
>
>
>
>
>
> On Wed, 13 Mar 2019 at 10:25, Jakob Erdmann  wrote:
>
>> Possibly, there is a misunderstanding.
>> In SUMO, the phase index maps to the time axis whereas the link index
>> maps to location.
>>
>> If you want to find out the green phase(s)s for a given lane you have
>> perform the following steps:
>> 1) find link indices for connections from the given lane using
>> getControlledLInks
>> 2) iterate over the phases of the current program and check whether the
>> n'th entry in the state is 'G' or 'g' (where n is an index from above).
>> This marks a phase where that lane has green.
>>
>> It may help to revisit this part of the documentation:
>> https://sumo.dlr.de/wiki/Simulation/Traffic_Lights#.3Cphase.3E_Attributes
>>
>> Am Mi., 13. März 2019 um 11:12 Uhr schrieb Jose Monreal Bailey <
>> jmonr...@gmail.com>:
>>
>>> From getControlledLinks I get the links ordered from the bottom and
>>> anti-clockwise.
>>> And then if I want to map it to the complete definition to map to the
>>> phases, it's much more complex, as its not the same order and direction.
>>>
>>> Is it possible to get the controlled Links, or Lanes with it
>>> corresponding TLS Phase program index?
>>>
>>> Best regards,
>>> José
>>>
>>> On Tue, 12 Mar 2019 at 16:49, Jakob Erdmann 
>>> wrote:
>>>
>>>> see
>>>> https://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Accessing_indices_programmatically
>>>>
>>>>
>>>> Am Di., 12. März 2019 um 13:14 Uhr schrieb Jose Monreal Bailey <
>>>> jmonr...@gmail.com>:
>>>>
>>>>> Hey everyone,
>>>>>
>>>>> I am trying to build a hashmap association of edges to the
>>>>> correspondent green phase.
>>>>>
>>>>> I can get the program definition form the traffic lights, but what is
>>>>> the best way to get the edges from the program, or from the phase if
>>>>> possible?
>>>>>
>>>>> Best regards,
>>>>> Jose
>>>>> ___
>>>>> 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 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 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] Edge or Lane association to Phase

2019-03-13 Thread Jose Monreal Bailey
>From getControlledLinks I get the links ordered from the bottom and
anti-clockwise.
And then if I want to map it to the complete definition to map to the
phases, it's much more complex, as its not the same order and direction.

Is it possible to get the controlled Links, or Lanes with it corresponding
TLS Phase program index?

Best regards,
José

On Tue, 12 Mar 2019 at 16:49, Jakob Erdmann  wrote:

> see
> https://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Accessing_indices_programmatically
>
>
> Am Di., 12. März 2019 um 13:14 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hey everyone,
>>
>> I am trying to build a hashmap association of edges to the correspondent
>> green phase.
>>
>> I can get the program definition form the traffic lights, but what is the
>> best way to get the edges from the program, or from the phase if possible?
>>
>> Best regards,
>> Jose
>> ___
>> 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 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] Error TraaS and getCompleteRedYellowGreenDefinition

2019-03-13 Thread Jose Monreal Bailey
Nevermind, I found the error those should be now minDur, maxDur instead of
duration1 and duration2

Best regards,
José

On Wed, 13 Mar 2019 at 09:39, Jose Monreal Bailey 
wrote:

> I tried building traas with the latest changes but I get the following
> errors,
>
> ant
> Buildfile:
> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build.xml
>
> compile:
> [javac] Compiling 27 source files to
> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build
> [javac]
> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:508:
> error: incompatible types: possible lossy conversion from double to int
> [javac] cmd.content().writeInt(stp.duration);
> [javac]   ^
> [javac]
> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:510:
> error: cannot find symbol
> [javac] cmd.content().writeInt(stp.duration1);
> [javac]   ^
> [javac]   symbol:   variable duration1
> [javac]   location: variable stp of type SumoTLSPhase
> [javac]
> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:512:
> error: cannot find symbol
> [javac] cmd.content().writeInt(stp.duration2);
> [javac]   ^
> [javac]   symbol:   variable duration2
> [javac]   location: variable stp of type SumoTLSPhase
> [javac] Note: Some messages have been simplified; recompile with
> -Xdiags:verbose to get full output
> [javac] 3 errors
>
> BUILD FAILED
> /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build.xml:14:
> Compile failed; see the compiler error output for details.
>
> Am I missing something? Or what revision should I checkout? I am currently
> on master 1ec772d886a4435b259f3427ee5c1a12e8bd64b7
>
>
> Best regards,
> José
>
> On Tue, 12 Mar 2019 at 17:51, Jakob Erdmann  wrote:
>
>> Yes. Thanks for pointing this out. It's now fixed in the repository. You
>> can rebuild TraaS or wait until tomorrow.
>>
>> regards,
>> Jakob
>>
>> Am Di., 12. März 2019 um 16:19 Uhr schrieb Jose Monreal Bailey <
>> jmonr...@gmail.com>:
>>
>>> Does this have to do with it?
>>>
>>> TraCI
>>>
>>>- Function *trafficlight.setCompleteRedYellowGreeenDefinition* now
>>>accepts *name* as an optional 6th component when defining phases.
>>>Function ''*trafficlight.getCompleteRedYellowGreeenDefinition* now
>>>returns *name* as the 6th component when defining phases. Custom
>>>clients must be patched to handle this.
>>>
>>> Is this updated in TraaS? it's not working on the version I am
>>> using: d4618041118a355586673e41e9e442ecf4025a28
>>>
>>> On Tue, 12 Mar 2019 at 15:02, Jose Monreal Bailey 
>>> wrote:
>>>
>>>> Hey everyone,
>>>>
>>>> When I execute the command getCompleteRedYellowGreenDefinition for a
>>>> traffic light, I get the following error:
>>>>
>>>> Error reading byte, invalid list position specified for reading: 1068
>>>>
>>>> Where can I check the correct inputs for this command (Hex codes) ?
>>>>
>>>>
>>>> Best regards,
>>>> Jose
>>>>
>>>>
>>>>
>>>> ___
>>> 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 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] Error TraaS and getCompleteRedYellowGreenDefinition

2019-03-13 Thread Jose Monreal Bailey
I tried building traas with the latest changes but I get the following
errors,

ant
Buildfile:
/home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build.xml

compile:
[javac] Compiling 27 source files to
/home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build
[javac]
/home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:508:
error: incompatible types: possible lossy conversion from double to int
[javac] cmd.content().writeInt(stp.duration);
[javac]   ^
[javac]
/home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:510:
error: cannot find symbol
[javac] cmd.content().writeInt(stp.duration1);
[javac]   ^
[javac]   symbol:   variable duration1
[javac]   location: variable stp of type SumoTLSPhase
[javac]
/home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:512:
error: cannot find symbol
[javac] cmd.content().writeInt(stp.duration2);
[javac]   ^
[javac]   symbol:   variable duration2
[javac]   location: variable stp of type SumoTLSPhase
[javac] Note: Some messages have been simplified; recompile with
-Xdiags:verbose to get full output
[javac] 3 errors

BUILD FAILED
/home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build.xml:14:
Compile failed; see the compiler error output for details.

Am I missing something? Or what revision should I checkout? I am currently
on master 1ec772d886a4435b259f3427ee5c1a12e8bd64b7


Best regards,
José

On Tue, 12 Mar 2019 at 17:51, Jakob Erdmann  wrote:

> Yes. Thanks for pointing this out. It's now fixed in the repository. You
> can rebuild TraaS or wait until tomorrow.
>
> regards,
> Jakob
>
> Am Di., 12. März 2019 um 16:19 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Does this have to do with it?
>>
>> TraCI
>>
>>- Function *trafficlight.setCompleteRedYellowGreeenDefinition* now
>>accepts *name* as an optional 6th component when defining phases.
>>Function ''*trafficlight.getCompleteRedYellowGreeenDefinition* now
>>returns *name* as the 6th component when defining phases. Custom
>>clients must be patched to handle this.
>>
>> Is this updated in TraaS? it's not working on the version I am
>> using: d4618041118a355586673e41e9e442ecf4025a28
>>
>> On Tue, 12 Mar 2019 at 15:02, Jose Monreal Bailey 
>> wrote:
>>
>>> Hey everyone,
>>>
>>> When I execute the command getCompleteRedYellowGreenDefinition for a
>>> traffic light, I get the following error:
>>>
>>> Error reading byte, invalid list position specified for reading: 1068
>>>
>>> Where can I check the correct inputs for this command (Hex codes) ?
>>>
>>>
>>> Best regards,
>>> Jose
>>>
>>>
>>>
>>> ___
>> 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 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] Error TraaS and getCompleteRedYellowGreenDefinition

2019-03-12 Thread Jose Monreal Bailey
Does this have to do with it?

TraCI

   - Function *trafficlight.setCompleteRedYellowGreeenDefinition* now
   accepts *name* as an optional 6th component when defining phases.
   Function ''*trafficlight.getCompleteRedYellowGreeenDefinition* now
   returns *name* as the 6th component when defining phases. Custom clients
   must be patched to handle this.

Is this updated in TraaS? it's not working on the version I am
using: d4618041118a355586673e41e9e442ecf4025a28

On Tue, 12 Mar 2019 at 15:02, Jose Monreal Bailey 
wrote:

> Hey everyone,
>
> When I execute the command getCompleteRedYellowGreenDefinition for a
> traffic light, I get the following error:
>
> Error reading byte, invalid list position specified for reading: 1068
>
> Where can I check the correct inputs for this command (Hex codes) ?
>
>
> Best regards,
> Jose
>
>
>
>
___
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] Error TraaS and getCompleteRedYellowGreenDefinition

2019-03-12 Thread Jose Monreal Bailey
Hey everyone,

When I execute the command getCompleteRedYellowGreenDefinition for a
traffic light, I get the following error:

Error reading byte, invalid list position specified for reading: 1068

Where can I check the correct inputs for this command (Hex codes) ?


Best regards,
Jose
___
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] Edge or Lane association to Phase

2019-03-12 Thread Jose Monreal Bailey
Hey everyone,

I am trying to build a hashmap association of edges to the correspondent
green phase.

I can get the program definition form the traffic lights, but what is the
best way to get the edges from the program, or from the phase if possible?

Best regards,
Jose
___
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] Reaction time configuration

2019-03-12 Thread Jose Monreal Bailey
Thank you Jakob

On Tue, 12 Mar 2019 at 11:47, Jakob Erdmann  wrote:

> Tau is not the reaction time. (
> https://sumo.dlr.de/wiki/Simulation/Safety#Reaction_Times)
> If you want to model these values at runtime you need to use TraCI or  add
> your own car-following model to SUMO.
>
> regards,
> Jakob
>
>
> Am Di., 12. März 2019 um 12:35 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hey everyone,
>>
>> To configure the reaction time of vehicle types, the parameters are tau,
>> acceleration and deceleration, correct?
>>
>> If I need that tau different from acceleration and for deceleration, what
>> could be the solution? Changing it in runtime?
>>
>> Best regards,
>> Jose
>> ___
>> 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 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] Reaction time configuration

2019-03-12 Thread Jose Monreal Bailey
Hey everyone,

To configure the reaction time of vehicle types, the parameters are tau,
acceleration and deceleration, correct?

If I need that tau different from acceleration and for deceleration, what
could be the solution? Changing it in runtime?

Best regards,
Jose
___
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] Congestion level calculation

2019-01-30 Thread Jose Monreal Bailey
Hey everyone,

How can I calculate the average congestion level at an intersection or in
the whole network?
I have the output of the simulation but do not know how to calculate it.

Best regards,
José
___
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] Regarding Import Traci in Ubuntu 18.04

2018-12-04 Thread Jose Monreal Bailey
Hi Patrik,

After you changed the SUMO_HOME environment variable, did you rebuild sumo?

Best regards,
José

On Tue, 4 Dec 2018 at 11:06, Pratik Dutta  wrote:

> Hello Harald Schaefer,
> I updated the SUMO_HOME as well as PATH variables,  but still the problem
> persists.
>
>
>
> *Regards,*
> Pratik Dutta
> Mob: 8017342498
>
>
> On Tue, Dec 4, 2018 at 2:19 PM Harald Schaefer 
> wrote:
>
>> Hello Pratik,
>>
>> you must set SUMO_HOME to the path, you have used to build your binaries
>> Check the output of
>> ls $SUMO_HOME
>> It must contain tools!
>>
>> SUMO_HOME is dependent whether you use the tarball or git or whether you
>> installed it or not
>>
>> Harald
>>
>> Am 04.12.18 um 08:29 schrieb Pratik Dutta:
>>
>> Hello everyone,
>> I am using Ubuntu 18.04. I have successfully built the Linux binaries,
>> but when I try to connect sumo using traci, it shows error. I am using
>> eclipse IDE as python editor. I have also set the SUMO_HOME variable to
>> /home/uname/sumo-1.0.1.
>>
>>
>> I am attaching the screenshot of error message. However, the same code is
>> successfully running in a windows environment. please help me out.
>>
>> ___
>> sumo-user mailing listsumo-u...@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe from 
>> this list, visithttps://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 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] SUMO Output Prior v1.0

2018-11-27 Thread Jose Monreal Bailey
Hello everyone,

The output of SUMO for tripinfo_duration, waiting_time, time_loss prior
v1.0 in what units was it? seconds? miliseconds? 10*seconds?

How can I check in the code that?

Best regards,
Jose
___
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] how to calculate the free-flow in one scenario

2018-11-06 Thread Jose Monreal Bailey
Jane,

What do you mean by specific senior?

On Mon, 5 Nov 2018 at 17:14, Jane Cheung  wrote:

> One more, how to  get the specific senior that  vehicles with
> free-flow speed?
>
> Best  regards!
>
> Jane
>
> On Mon, Nov 5, 2018 at 10:42 AM Jane Cheung 
> wrote:
>
>> Jakob,
>> I have searched some reference and I have got the relationship between
>> the free flow and max flow
>> With your  suggestion, once I get the max flow I could get the free flow
>> with some simple convert.
>> The free flow for every edge would be different if I would use the method
>> you told me?
>>
>> Best  regards!
>>
>> Jane
>>
>>
>> On Mon, Nov 5, 2018 at 9:03 AM Jakob Erdmann 
>> wrote:
>>
>>> Since the free flow varies with the vehicle parameters (or distribution
>>> thereof) you will have to re-compute this for your particular vehicle
>>> fleet. A good approach to reach maximum flow is to insert vehicles on a
>>> single lane with period 1.0 and departPos="last".
>>> You can measure vehsPerHour by placing an  at the end of
>>> the edge or on the next edge.
>>>
>>> regards,
>>> Jakob
>>>
>>> Am Mi., 31. Okt. 2018 um 18:09 Uhr schrieb Jane Cheung <
>>> cheung180...@gmail.com>:
>>>
 Dear all , in one specific scenario, how to calculate the free-flow by
 using the output files of SUMO?
 Is there one specific scenario that need to build without congestion
 during the whole simulation period?


 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
>>> 
>>>
>> ___
> 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] Change type and attributes of tlLogic with traci

2018-10-26 Thread Jose Monreal Bailey
Ok. So if I am using those there's no problem. That will work.

Thanks!

On Fri, 26 Oct 2018, 09:00 Jakob Erdmann,  wrote:

> I mean traci commands like
> traci.trafficlight.setPhase
> traci.trafficlight.setRedYellowGreenState
> ...
>
>
> Am Fr., 26. Okt. 2018 um 00:26 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hi Jakob,
>>
>> Thanks for the help. What do you mean by remote-control of fixed traffic
>> lights?
>>
>> Best regards,
>> Jose
>>
>>
>> On Thu, 25 Oct 2018, 20:06 Jakob Erdmann,  wrote:
>>
>>> Hello,
>>> you currently cannot change the tlType type with TraCI. Setting
>>> parameters for actuated traffic lights does not work either because they
>>> are only read once on startup.
>>> Fixing this is on our to-do list but since most things can be
>>> accomplished by remote-control of a fixed traffic light, it's pretty far on
>>> the bottom of the list.
>>> regards,
>>> Jakob
>>>
>>> Am Mo., 22. Okt. 2018 um 12:19 Uhr schrieb Jose Monreal Bailey <
>>> jmonr...@gmail.com>:
>>>
>>>> Hey everyone,
>>>>
>>>> How can I change the type of tlLogic with TraCI ? is this possible?
>>>> And is it possible to change the parameters too?
>>>>
>>>> Best regards,
>>>> José
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To change your delivery options, retrieve your password, or unsubscribe
>>>> from this list, visit
>>>> https://dev.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 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 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] Change type and attributes of tlLogic with traci

2018-10-25 Thread Jose Monreal Bailey
Hi Jakob,

Thanks for the help. What do you mean by remote-control of fixed traffic
lights?

Best regards,
Jose


On Thu, 25 Oct 2018, 20:06 Jakob Erdmann,  wrote:

> Hello,
> you currently cannot change the tlType type with TraCI. Setting parameters
> for actuated traffic lights does not work either because they are only read
> once on startup.
> Fixing this is on our to-do list but since most things can be accomplished
> by remote-control of a fixed traffic light, it's pretty far on the bottom
> of the list.
> regards,
> Jakob
>
> Am Mo., 22. Okt. 2018 um 12:19 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hey everyone,
>>
>> How can I change the type of tlLogic with TraCI ? is this possible?
>> And is it possible to change the parameters too?
>>
>> Best regards,
>> José
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.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 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] Vehicles changing lane

2018-10-25 Thread Jose Monreal Bailey
Thank you Jakob!

On Thu, 25 Oct 2018, 20:30 Jakob Erdmann,  wrote:

> You can configure them to only change lanes for strategic reasons by
> disabling other motivations. In the vType, set
> lcSpeedGain="0" lcCooperative="0" lcKeepRight="0"
>
>
> Am Do., 25. Okt. 2018 um 18:29 Uhr schrieb Jose Monreal Bailey <
> jmonr...@gmail.com>:
>
>> Hi everyone,
>>
>> I have setup a lane for a certain type of vehicles, and I would like to
>> know if there is some configuration to be made so they only change lane
>> when the route they are taking needs to turn in a corner. If its only going
>> to drive straight(forward without turning) then it must not move from the
>> lane.
>> Is this possible?
>>
>> Best regards,
>> José
>> ___
>> 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 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] Vehicles changing lane

2018-10-25 Thread Jose Monreal Bailey
Hi everyone,

I have setup a lane for a certain type of vehicles, and I would like to
know if there is some configuration to be made so they only change lane
when the route they are taking needs to turn in a corner. If its only going
to drive straight(forward without turning) then it must not move from the
lane.
Is this possible?

Best regards,
José
___
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] Vehicles Distribution vs Flows

2018-10-25 Thread Jose Monreal Bailey
Hi Kailin,

I finally managed to do it using just setting in the vType attributes of
vehicle, which to my surprise were applied satisfactorily.

Best regards
José

On Thu, 25 Oct 2018 at 12:13, Tong, Kailin  wrote:

> Hi, José,
>
>
>
> One possibility is using calibrator to create a fow based on vehsPerHour
> and it allows vehicle type of distribution.
>
> For example,
>
>
>
>output="detector_edge.xml">
>
>  type="dist" departLane="best" departPos="free" departSpeed="max"/>
>
>  type="dist" departLane="best" departPos="free"
> departSpeed="max"/>
>
>   
>
>
>
> Best regards,
>
> Kailin
>
>
>
>
>
> *From:* sumo-user-boun...@eclipse.org  *On
> Behalf Of *Jose Monreal Bailey
> *Sent:* Wednesday, October 24, 2018 2:55 PM
> *To:* Sumo project User discussions 
> *Subject:* [sumo-user] Vehicles Distribution vs Flows
>
>
>
> Hey everyone,
>
>
>
> I have been using vehicles distribution with vehicles type, to distribute
> the percentage of type of vehicles in my simulation.
>
> But I am interested in using the attribute vehsPerHour from flows.
>
> Is there a way to do that using distribution? or is better to use flows,
> and change the amount the amount of vehsPerHour depending on the percentage
> of each vehicle?
>
>
>
> Best regards,
>
> José
> ___
> 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] Vehicles Distribution vs Flows

2018-10-24 Thread Jose Monreal Bailey
Hey everyone,

I have been using vehicles distribution with vehicles type, to distribute
the percentage of type of vehicles in my simulation.
But I am interested in using the attribute vehsPerHour from flows.
Is there a way to do that using distribution? or is better to use flows,
and change the amount the amount of vehsPerHour depending on the percentage
of each vehicle?

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


[sumo-user] Change type and attributes of tlLogic with traci

2018-10-22 Thread Jose Monreal Bailey
Hey everyone,

How can I change the type of tlLogic with TraCI ? is this possible?
And is it possible to change the parameters too?

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


[sumo-user] Device Driver State

2018-10-19 Thread Jose Monreal Bailey
Hi everyone,

>From the wiki http://sumo.dlr.de/wiki/Driver_State I understand that
setting this device, I can set parameters to change drivers behaviour, is
this correct?
Or this device is for something else?

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


[sumo-user] Output for congestion level

2018-10-16 Thread Jose Monreal Bailey
Hey Everyone,

Is there an option to output also the congestion level at every X units of
time?

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


[sumo-user] pedestrians waiting time

2018-10-15 Thread Jose Monreal Bailey
Hi everyone,

There is no pedestrian waiting time output? only timeloss?
Will it be a pedestrian waiting time in sumo?

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


Re: [sumo-user] Vehicles present in simulation

2018-09-26 Thread Jose Monreal Bailey
Is the method getMinExpectedNumber the one to be used for this?

On Wed, 26 Sep 2018 at 12:28, Jose Monreal Bailey 
wrote:

> Hi everyone,
>
> Is there a method to ask sumo if there are more vehicles to be inserted
> and if there are still vehicles present in the simulation?
>
> Best regards,
> José
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Vehicles present in simulation

2018-09-26 Thread Jose Monreal Bailey
Hi everyone,

Is there a method to ask sumo if there are more vehicles to be inserted and
if there are still vehicles present in the simulation?

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


Re: [sumo-user] Probability in vTypes

2018-09-14 Thread Jose Monreal Bailey
But my question is regarding on How sumo does this? Does it use random or
an statistical formula?
How does it assure that is distributed evenly?

Best regards,
José

On Fri, 14 Sep 2018, 18:53 Jakob Erdmann,  wrote:

>
> http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Vehicle_Type_Distributions
>
> 2018-09-14 19:46 GMT+02:00 Jose Monreal Bailey :
>
>> Hi Jakob,
>>
>> They are part of the vTypeDistribution. How is the distribution
>> determined?
>>
>> On Fri, 14 Sep 2018, 18:40 Jakob Erdmann,  wrote:
>>
>>> The probability attribute is only used if the vTypes are part of a
>>> vTypeDistribution. Otherwise, there is no randomness in vTypes assignment.
>>>
>>> 2018-09-14 17:42 GMT+02:00 Jose Monreal Bailey :
>>>
>>>> Hi Everyone,
>>>>
>>>> How does it work the probability attribute in the vTypes?
>>>> Is it randomness or is there a distribution? Are they evenly added to
>>>> the network ?
>>>>
>>>> Best regards,
>>>> José
>>>>
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To change your delivery options, retrieve your password, or unsubscribe
>>>> from this list, visit
>>>> https://dev.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://dev.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://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Probability in vTypes

2018-09-14 Thread Jose Monreal Bailey
Hi Jakob,

They are part of the vTypeDistribution. How is the distribution determined?

On Fri, 14 Sep 2018, 18:40 Jakob Erdmann,  wrote:

> The probability attribute is only used if the vTypes are part of a
> vTypeDistribution. Otherwise, there is no randomness in vTypes assignment.
>
> 2018-09-14 17:42 GMT+02:00 Jose Monreal Bailey :
>
>> Hi Everyone,
>>
>> How does it work the probability attribute in the vTypes?
>> Is it randomness or is there a distribution? Are they evenly added to the
>> network ?
>>
>> Best regards,
>> José
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Probability in vTypes

2018-09-14 Thread Jose Monreal Bailey
Hi Everyone,

How does it work the probability attribute in the vTypes?
Is it randomness or is there a distribution? Are they evenly added to the
network ?

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


[sumo-user] Reaction Time

2018-09-12 Thread Jose Monreal Bailey
Hi everyone,

I was thinking in simulate different reaction times with SUMO, by using
acel and decel parameters.
But would this be appropriate? or is there a better way to do it?

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


Re: [sumo-user] Measure of throughput

2018-09-05 Thread Jose Monreal Bailey
Hello Menno,

I have the option "--tripinfo-output.write-unfinished" enabled. I will try
--duration-log.statistics and see where and how is it logged.

Thanks

On Wed, 5 Sep 2018 at 11:56, Menno van der Woude 
wrote:

> Hello José,
>
> information regarding retrieving information from the simulation is
> readily available on the wiki: http://sumo.dlr.de/wiki/Simulation/Output
>
> I have never used these features myself, but as for vehicles that could
> not enter, there is a value "waiting" described here:
>
> http://sumo.dlr.de/wiki/Simulation/Output/Summary
>
> waiting: "Number of vehicles which were waiting for insertion (could not
> be inserted) within the reported time step"
>
> It might also be possible to gather this and other kind of info edges:
>
>
> http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures
> Greets, Menno
>
> On 05/09/2018 11:11, Jose Monreal Bailey wrote:
>
> And is it possible to get the information of the vehicles that could not
> enter the scenario and what point they were supposed to get in?
>
> Best regards,
> José
>
> On Wed, 5 Sep 2018 at 09:42, Menno van der Woude 
> wrote:
>
>> Hi José,
>> see http://sumo.dlr.de/wiki/Simulation/Output
>> one option would be placing detectors where you widh to measure, then
>> use the output file of the detectors to get your data.
>> see
>>
>> http://sumo.dlr.de/wiki/Simulation/Output/Lanearea_Detectors_(E2)#Generated_Output
>> Geets, Menno
>>
>> On 5-9-2018 10:35, Jose Monreal Bailey wrote:
>> > Hey everyone,
>> >
>> > How can I measure the throughput of vehicles ?
>> >
>> > Best regards,
>> > José
>> >
>> >
>> > ___
>> > sumo-user mailing list
>> > sumo-user@eclipse.org
>> > To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> > https://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user
>>
>
>
> ___
> sumo-user mailing listsumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visithttps://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


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 --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 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 mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


[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 mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Question regarding TLS in additionals

2018-08-29 Thread Jose Monreal Bailey
Thanks!

On Wed, 29 Aug 2018 at 15:41, Jakob Erdmann  wrote:

> No. You need to assign a different programID.
>
> 2018-08-29 16:39 GMT+02:00 Jose Monreal Bailey :
>
>> Hi Jakob,
>>
>> When I try to load the tlLogic I get the following error:
>>
>> Error: Another logic with id 'B1' and subid '0' exists.
>> Error: Another logic with id 'C1' and subid '1' exists.
>>
>> Do I need to remove the tlLogic entries from the network?
>>
>> Best regards,
>> José
>>
>> On Mon, 27 Aug 2018 at 19:57, Jakob Erdmann 
>> wrote:
>>
>>> Yes. See
>>> http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Loading_a_new_Program
>>>
>>> 2018-08-27 15:44 GMT+02:00 Jose Monreal Bailey :
>>>
>>>> Hey everyone,
>>>>
>>>> If I add an additional file with all the definitions of the network,
>>>> will these's override the ones defined in the network file?
>>>>
>>>> Best regards,
>>>> José
>>>>
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To change your delivery options, retrieve your password, or unsubscribe
>>>> from this list, visit
>>>> https://dev.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://dev.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://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Question regarding TLS in additionals

2018-08-29 Thread Jose Monreal Bailey
Hi Jakob,

When I try to load the tlLogic I get the following error:

Error: Another logic with id 'B1' and subid '0' exists.
Error: Another logic with id 'C1' and subid '1' exists.

Do I need to remove the tlLogic entries from the network?

Best regards,
José

On Mon, 27 Aug 2018 at 19:57, Jakob Erdmann  wrote:

> Yes. See
> http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Loading_a_new_Program
>
> 2018-08-27 15:44 GMT+02:00 Jose Monreal Bailey :
>
>> Hey everyone,
>>
>> If I add an additional file with all the definitions of the network, will
>> these's override the ones defined in the network file?
>>
>> Best regards,
>> José
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Bus frequency

2018-08-29 Thread Jose Monreal Bailey
Hey everyone,

How can I define Bus Frequency departing from an edge?

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


Re: [sumo-user] Pedestrians Jammed

2018-08-28 Thread Jose Monreal Bailey
Hi Jakob,

I was checking the following parameters,

--default.sidewalk-width
--default.crossing-width

The ones, correct?
currently they have 4.00 mts, so extending them to double should improve in
some way.

Best regards,
José

On Tue, 28 Aug 2018 at 14:39, Jose Monreal Bailey 
wrote:

> Jakob,
>
> Is it possible to give the width of the pedestrian crossing and pavement
> with netgenerate?
> How?
>
> Best regards,
> José
>
> On Tue, 28 Aug 2018 at 12:09, Jakob Erdmann  wrote:
>
>> The pedestrian model has trouble with modelling very dense traffic on
>> walking areas. You can avoid this by increasing the sidewalk width near the
>> intersection.
>>
>> 2018-08-28 12:18 GMT+02:00 Jose Monreal Bailey :
>>
>>> Hey everyone,
>>>
>>> I noticed a pedestrian Jam in my simulation, and was wondering if there
>>> is a way to avoid it?
>>> Would setting perhaps a higher gap help?
>>> Or what parameter can I set to avoid this?
>>>
>>> Best regards,
>>> José
>>>
>>> [image: image.png]
>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Pedestrians Jammed

2018-08-28 Thread Jose Monreal Bailey
Jakob,

Is it possible to give the width of the pedestrian crossing and pavement
with netgenerate?
How?

Best regards,
José

On Tue, 28 Aug 2018 at 12:09, Jakob Erdmann  wrote:

> The pedestrian model has trouble with modelling very dense traffic on
> walking areas. You can avoid this by increasing the sidewalk width near the
> intersection.
>
> 2018-08-28 12:18 GMT+02:00 Jose Monreal Bailey :
>
>> Hey everyone,
>>
>> I noticed a pedestrian Jam in my simulation, and was wondering if there
>> is a way to avoid it?
>> Would setting perhaps a higher gap help?
>> Or what parameter can I set to avoid this?
>>
>> Best regards,
>> José
>>
>> [image: image.png]
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Pedestrians Jammed

2018-08-28 Thread Jose Monreal Bailey
Thanks!

On Tue, 28 Aug 2018, 12:09 Jakob Erdmann,  wrote:

> The pedestrian model has trouble with modelling very dense traffic on
> walking areas. You can avoid this by increasing the sidewalk width near the
> intersection.
>
> 2018-08-28 12:18 GMT+02:00 Jose Monreal Bailey :
>
>> Hey everyone,
>>
>> I noticed a pedestrian Jam in my simulation, and was wondering if there
>> is a way to avoid it?
>> Would setting perhaps a higher gap help?
>> Or what parameter can I set to avoid this?
>>
>> Best regards,
>> José
>>
>> [image: image.png]
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Pedestrians Jammed

2018-08-28 Thread Jose Monreal Bailey
Hey everyone,

I noticed a pedestrian Jam in my simulation, and was wondering if there is
a way to avoid it?
Would setting perhaps a higher gap help?
Or what parameter can I set to avoid this?

Best regards,
José

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


Re: [sumo-user] How to generate a mass of pedestrians?

2018-08-28 Thread Jose Monreal Bailey
Thanks Jakob! That worked!

Best regards,
José

On Mon, 27 Aug 2018 at 19:58, Jakob Erdmann  wrote:

> Change period to 0.1 and you will get 10 times as many.
>
> 2018-08-27 17:57 GMT+02:00 Jose Monreal Bailey :
>
>> Hello Everyone,
>>
>> How can I generate a lot of pedestrians in my network?
>> I am using period 1 and binomial 50 and 150 and it does not change that
>> much.
>> Is there a way to generate a lot of pedestrians using randomTrips.py?
>>
>> Best regards,
>> José
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Pedestrian flows is possible?

2018-08-28 Thread Jose Monreal Bailey
Thanks!

On Mon, 27 Aug 2018 at 20:11, Jakob Erdmann  wrote:

> In the latest development version you can also specify --trip FROM,TO
> instead of --route
>
> 2018-08-27 17:08 GMT+02:00 Jose Monreal Bailey :
>
>> The tools/pedestrianFlow.py needs an explicit route (origin destination).
>> What would be the best way to generate it?
>>
>> Best regards,
>> José
>>
>> On Sun, 26 Aug 2018 at 10:23, Jakob Erdmann 
>> wrote:
>>
>>> We still haven't got around to implementing  but it's on our
>>> to-do list.
>>> A script like the on described by Harald is part of the sumo
>>> distribution (tools/pedestrianFlow.py)
>>>
>>> 2018-08-26 11:12 GMT+02:00 Harald Schaefer :
>>>
>>>> Hi José,
>>>>
>>>> my solution to this problem was:
>>>>
>>>> 1. Create an own python class TrafficDef to record the parameters
>>>> (name, color, typ, source, dest, vehicles/persons per time unit, optional
>>>> edges) per flow
>>>> 2. Create using these parameters a route xml-file, which either
>>>> contains a flow or as many pedestrians as required
>>>> 3, Run sumo with this on the fly created file.
>>>>
>>>> In my application it looks like this
>>>>
>>>> # first, generate the route file for this simulation
>>>> flows = utils.TrafficDef()
>>>> flows.add("westen-osten-",  green, "passenger", ausWesten,
>>>> nachOsten,   20)
>>>> flows.add("westen-sueden-", red,   "passenger", ausWesten,
>>>> nachSueden,  20)
>>>> flows.add("osten-westen-",  blue,  "passenger", ausOsten,
>>>> nachWesten, 150)
>>>> flows.add("osten-sueden-",  red,   "passenger", ausOsten,
>>>> nachSueden,  40)
>>>> flows.add("sueden-osten-",  green, "passenger", ausSueden,
>>>> nachOsten,   20)
>>>> flows.add("sueden-westen-", blue,  "passenger", ausSueden,
>>>> nachWesten,  20)
>>>> flows.add("ped-north-south-", blue,  "person", pedFromNorth,
>>>> pedToSouth,  20, "gneE12 gneE16 gneE17")
>>>> flows.add("ped-south-north-", blue,  "person", pedFromSouth,
>>>> pedToNorth,  20, "-gneE17 -gneE16 -gneE12")
>>>> flows.generate_routefile('passenger-sorted.flow.xml',
>>>> float(args.factor))
>>>>
>>>> Might be the SUMO-Gurus have another idea?
>>>>
>>>> Greatings, Harald
>>>>
>>>>
>>>> Am 24.08.2018 um 18:49 schrieb Jose Monreal Bailey:
>>>>
>>>> Hey everyone,
>>>>
>>>> Is it possible to create flows of pedestrians as you do with vehicles?
>>>> If not, what could be the best option to control the amount of type of
>>>> pedestrians you may define?
>>>>
>>>> Best regards,
>>>> José
>>>>
>>>>
>>>> ___
>>>> sumo-user mailing listsumo-u...@eclipse.org
>>>> To change your delivery options, retrieve your password, or unsubscribe 
>>>> from this list, visithttps://dev.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://dev.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://dev.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://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] How to generate a mass of pedestrians?

2018-08-27 Thread Jose Monreal Bailey
Hello Everyone,

How can I generate a lot of pedestrians in my network?
I am using period 1 and binomial 50 and 150 and it does not change that
much.
Is there a way to generate a lot of pedestrians using randomTrips.py?

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


Re: [sumo-user] Pedestrian flows is possible?

2018-08-27 Thread Jose Monreal Bailey
The tools/pedestrianFlow.py needs an explicit route (origin destination).
What would be the best way to generate it?

Best regards,
José

On Sun, 26 Aug 2018 at 10:23, Jakob Erdmann  wrote:

> We still haven't got around to implementing  but it's on our
> to-do list.
> A script like the on described by Harald is part of the sumo distribution
> (tools/pedestrianFlow.py)
>
> 2018-08-26 11:12 GMT+02:00 Harald Schaefer :
>
>> Hi José,
>>
>> my solution to this problem was:
>>
>> 1. Create an own python class TrafficDef to record the parameters (name,
>> color, typ, source, dest, vehicles/persons per time unit, optional edges)
>> per flow
>> 2. Create using these parameters a route xml-file, which either contains
>> a flow or as many pedestrians as required
>> 3, Run sumo with this on the fly created file.
>>
>> In my application it looks like this
>>
>> # first, generate the route file for this simulation
>> flows = utils.TrafficDef()
>> flows.add("westen-osten-",  green, "passenger", ausWesten,
>> nachOsten,   20)
>> flows.add("westen-sueden-", red,   "passenger", ausWesten,
>> nachSueden,  20)
>> flows.add("osten-westen-",  blue,  "passenger", ausOsten,
>> nachWesten, 150)
>> flows.add("osten-sueden-",  red,   "passenger", ausOsten,
>> nachSueden,  40)
>> flows.add("sueden-osten-",  green, "passenger", ausSueden,
>> nachOsten,   20)
>> flows.add("sueden-westen-", blue,  "passenger", ausSueden,
>> nachWesten,  20)
>> flows.add("ped-north-south-", blue,  "person", pedFromNorth,
>> pedToSouth,  20, "gneE12 gneE16 gneE17")
>> flows.add("ped-south-north-", blue,  "person", pedFromSouth,
>> pedToNorth,  20, "-gneE17 -gneE16 -gneE12")
>> flows.generate_routefile('passenger-sorted.flow.xml',
>> float(args.factor))
>>
>> Might be the SUMO-Gurus have another idea?
>>
>> Greatings, Harald
>>
>>
>> Am 24.08.2018 um 18:49 schrieb Jose Monreal Bailey:
>>
>> Hey everyone,
>>
>> Is it possible to create flows of pedestrians as you do with vehicles?
>> If not, what could be the best option to control the amount of type of
>> pedestrians you may define?
>>
>> Best regards,
>> José
>>
>>
>> ___
>> sumo-user mailing listsumo-u...@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe from 
>> this list, visithttps://dev.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://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Question regarding TLS in additionals

2018-08-27 Thread Jose Monreal Bailey
Hey everyone,

If I add an additional file with all the definitions of the network, will
these's override the ones defined in the network file?

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


Re: [sumo-user] Pedestrian flows is possible?

2018-08-27 Thread Jose Monreal Bailey
Hi Jakob, Herald,

Thanks for the help.
>From the pedestrianFlow can I give the departing and arrival edges like
with randomTrips fringe?
Is it possible to have the same option as with vTypeDistribution, to the
group of pedestrians? Or the best would be to generate as many different
pedestrian route files as type I have?
And the rate between the types, I just add the total number of trips to be
inserted in that period of time per type?

Best regards,
José



On Sun, 26 Aug 2018 at 10:23, Jakob Erdmann  wrote:

> We still haven't got around to implementing  but it's on our
> to-do list.
> A script like the on described by Harald is part of the sumo distribution
> (tools/pedestrianFlow.py)
>
> 2018-08-26 11:12 GMT+02:00 Harald Schaefer :
>
>> Hi José,
>>
>> my solution to this problem was:
>>
>> 1. Create an own python class TrafficDef to record the parameters (name,
>> color, typ, source, dest, vehicles/persons per time unit, optional edges)
>> per flow
>> 2. Create using these parameters a route xml-file, which either contains
>> a flow or as many pedestrians as required
>> 3, Run sumo with this on the fly created file.
>>
>> In my application it looks like this
>>
>> # first, generate the route file for this simulation
>> flows = utils.TrafficDef()
>> flows.add("westen-osten-",  green, "passenger", ausWesten,
>> nachOsten,   20)
>> flows.add("westen-sueden-", red,   "passenger", ausWesten,
>> nachSueden,  20)
>> flows.add("osten-westen-",  blue,  "passenger", ausOsten,
>> nachWesten, 150)
>> flows.add("osten-sueden-",  red,   "passenger", ausOsten,
>> nachSueden,  40)
>> flows.add("sueden-osten-",  green, "passenger", ausSueden,
>> nachOsten,   20)
>> flows.add("sueden-westen-", blue,  "passenger", ausSueden,
>> nachWesten,  20)
>> flows.add("ped-north-south-", blue,  "person", pedFromNorth,
>> pedToSouth,  20, "gneE12 gneE16 gneE17")
>> flows.add("ped-south-north-", blue,  "person", pedFromSouth,
>> pedToNorth,  20, "-gneE17 -gneE16 -gneE12")
>> flows.generate_routefile('passenger-sorted.flow.xml',
>> float(args.factor))
>>
>> Might be the SUMO-Gurus have another idea?
>>
>> Greatings, Harald
>>
>>
>> Am 24.08.2018 um 18:49 schrieb Jose Monreal Bailey:
>>
>> Hey everyone,
>>
>> Is it possible to create flows of pedestrians as you do with vehicles?
>> If not, what could be the best option to control the amount of type of
>> pedestrians you may define?
>>
>> Best regards,
>> José
>>
>>
>> ___
>> sumo-user mailing listsumo-u...@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe from 
>> this list, visithttps://dev.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://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] netgenerate on latest version question

2018-08-27 Thread Jose Monreal Bailey
Great! Updating the SUMO_HOME env var fixed the problem.
Thanks Jakob!

On Mon, 27 Aug 2018 at 11:58, Jakob Erdmann  wrote:

> The problem does not come from an invalid option but from invalid schema
> validation.
> Your SUMO_HOME variable points to older xml-schema definitions where this
> network attribute did not yet exist. Update SUMO_HOME or disable validation
> (see
> http://sumo.dlr.de/wiki/FAQ#What.27s_the_deal_with_schema_resolution_warnings_.2F_xsd_errors.3F
> )
>
> regards,
> Jakob
>
> 2018-08-27 12:51 GMT+02:00 Jose Monreal Bailey :
>
>> Hi everyone,
>>
>> I am using today the latest development version of sumo to generate my
>> network.
>> I got a the following error,
>>
>> *Error: attribute 'limitTurnSpeed' is not declared for element 'net'*
>>
>>
>> I am guessing this is done using the option:
>> * --junctions.limit-turn-speed*
>> What value should be assigned?
>>
>> Best regards,
>> José
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] netgenerate on latest version question

2018-08-27 Thread Jose Monreal Bailey
Hi everyone,

I am using today the latest development version of sumo to generate my
network.
I got a the following error,

*Error: attribute 'limitTurnSpeed' is not declared for element 'net'*


I am guessing this is done using the option:* --junctions.limit-turn-speed*
What value should be assigned?

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


Re: [sumo-user] flow vs trips

2018-08-24 Thread Jose Monreal Bailey
And when creating the Vehicle Type Distributions entry, I would have there
the probability of distribution. Do I still need probability entry in the
flow entry?

Best regards,
José

On Fri, 24 Aug 2018 at 15:37, Jose Monreal Bailey 
wrote:

> I just found out that the newTrips.trips.xml have the flow, but only if I
> have --period and --binomial parameters set, If those are not present then
> I get only trip entries.
>
> Thanks for all the help!
>
> Best regards,
> José
>
> On Fri, 24 Aug 2018 at 15:35, Jakob Erdmann  wrote:
>
>> the flows are inside the file newTrips.trips.xml.
>> You can load that directly into sumo.
>> The route file is generated by duarouter in the background and that
>> always expands flows into vehicles.
>> You should define the vTypeDistribution in an extra file just as it is
>> explained in the wiki (use a distribution instead of vType 'myType' as in
>> the example).
>>
>>
>> 2018-08-24 16:13 GMT+02:00 Jose Monreal Bailey :
>>
>>> Hi Jakob,
>>>
>>> When I run randomTrips.py -n NETCONVERT.citycentreV2.net.xml -o
>>> newTrip.trips.xml -r newRoutes.rou.xml --weights-prefix=NEW
>>> --fringe-factor=100 --flows 100 --validate
>>> I get inside the newRoutes.rou.xml file just route entries, is there an
>>> option to generate the flow file?
>>>
>>> If that is supposed to be the file, then to that I should add the
>>> entries of vType and define the probability and distribution?
>>>
>>> Or am I missing something?
>>>
>>> Best regards,
>>> José
>>>
>>> On Fri, 24 Aug 2018 at 15:03, Jose Monreal Bailey 
>>> wrote:
>>>
>>>> Thanks Jakob I will take a look at it
>>>>
>>>> On Fri, 24 Aug 2018 at 15:01, Jakob Erdmann 
>>>> wrote:
>>>>
>>>>> When you set option --flows 100, the randomTrips should 100 flow
>>>>> entries.
>>>>> If you want to change the type proportions manually, then use a
>>>>> vTypeDistribution and generate trips / flows that reference the
>>>>> distribution.
>>>>> see
>>>>> http://sumo.dlr.de/wiki/Tools/Trip#Setting_a_vehicle_type_from_an_external_file
>>>>> You can then adapt the type probabilities in the distribution before
>>>>> you start the simulation:
>>>>>
>>>>> http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Vehicle_Type_Distributions
>>>>>
>>>>>
>>>>> 2018-08-24 15:46 GMT+02:00 Jose Monreal Bailey :
>>>>>
>>>>>> But with that option I do not have a flow entry.
>>>>>> I want to be able to tell to have a flow with 200 vehicles, where 10
>>>>>> percent are of Type A, 90 percent are Type C, and be able to change those
>>>>>> values every time.
>>>>>>
>>>>>>
>>>>>> On Fri, 24 Aug 2018 at 14:29, Jakob Erdmann 
>>>>>> wrote:
>>>>>>
>>>>>>> randomTrips.py supports option --flows
>>>>>>>
>>>>>>> 2018-08-24 14:36 GMT+02:00 Jose Monreal Bailey :
>>>>>>>
>>>>>>>> Great! Thanks Jakob, and do you know if as for Trips, is it
>>>>>>>> possible to generate a flow file in the same way with a script from the
>>>>>>>> sumo tools directory or alike?
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> José
>>>>>>>>
>>>>>>>> On Fri, 24 Aug 2018 at 13:02, Jakob Erdmann 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> see http://sumo.dlr.de/wiki/Tools/Trip#Arrival_rate
>>>>>>>>>
>>>>>>>>> 2018-08-24 11:50 GMT+02:00 Jose Monreal Bailey >>>>>>>> >:
>>>>>>>>>
>>>>>>>>>> Hey everyone,
>>>>>>>>>>
>>>>>>>>>> I was using some flow entries to define the amount of vehicles
>>>>>>>>>> taking certain route.
>>>>>>>>>> When creating a trip file with randomTrips, is it possible to
>>>>>>>>>> tell how many vehicles do I want to be generated in the network? 
>>>>>>>>>> This to
>>>>>>>>>> simulate heaving, medium an

Re: [sumo-user] flow vs trips

2018-08-24 Thread Jose Monreal Bailey
I just found out that the newTrips.trips.xml have the flow, but only if I
have --period and --binomial parameters set, If those are not present then
I get only trip entries.

Thanks for all the help!

Best regards,
José

On Fri, 24 Aug 2018 at 15:35, Jakob Erdmann  wrote:

> the flows are inside the file newTrips.trips.xml.
> You can load that directly into sumo.
> The route file is generated by duarouter in the background and that always
> expands flows into vehicles.
> You should define the vTypeDistribution in an extra file just as it is
> explained in the wiki (use a distribution instead of vType 'myType' as in
> the example).
>
>
> 2018-08-24 16:13 GMT+02:00 Jose Monreal Bailey :
>
>> Hi Jakob,
>>
>> When I run randomTrips.py -n NETCONVERT.citycentreV2.net.xml -o
>> newTrip.trips.xml -r newRoutes.rou.xml --weights-prefix=NEW
>> --fringe-factor=100 --flows 100 --validate
>> I get inside the newRoutes.rou.xml file just route entries, is there an
>> option to generate the flow file?
>>
>> If that is supposed to be the file, then to that I should add the entries
>> of vType and define the probability and distribution?
>>
>> Or am I missing something?
>>
>> Best regards,
>> José
>>
>> On Fri, 24 Aug 2018 at 15:03, Jose Monreal Bailey 
>> wrote:
>>
>>> Thanks Jakob I will take a look at it
>>>
>>> On Fri, 24 Aug 2018 at 15:01, Jakob Erdmann 
>>> wrote:
>>>
>>>> When you set option --flows 100, the randomTrips should 100 flow
>>>> entries.
>>>> If you want to change the type proportions manually, then use a
>>>> vTypeDistribution and generate trips / flows that reference the
>>>> distribution.
>>>> see
>>>> http://sumo.dlr.de/wiki/Tools/Trip#Setting_a_vehicle_type_from_an_external_file
>>>> You can then adapt the type probabilities in the distribution before
>>>> you start the simulation:
>>>>
>>>> http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Vehicle_Type_Distributions
>>>>
>>>>
>>>> 2018-08-24 15:46 GMT+02:00 Jose Monreal Bailey :
>>>>
>>>>> But with that option I do not have a flow entry.
>>>>> I want to be able to tell to have a flow with 200 vehicles, where 10
>>>>> percent are of Type A, 90 percent are Type C, and be able to change those
>>>>> values every time.
>>>>>
>>>>>
>>>>> On Fri, 24 Aug 2018 at 14:29, Jakob Erdmann 
>>>>> wrote:
>>>>>
>>>>>> randomTrips.py supports option --flows
>>>>>>
>>>>>> 2018-08-24 14:36 GMT+02:00 Jose Monreal Bailey :
>>>>>>
>>>>>>> Great! Thanks Jakob, and do you know if as for Trips, is it possible
>>>>>>> to generate a flow file in the same way with a script from the sumo 
>>>>>>> tools
>>>>>>> directory or alike?
>>>>>>>
>>>>>>> Best regards,
>>>>>>> José
>>>>>>>
>>>>>>> On Fri, 24 Aug 2018 at 13:02, Jakob Erdmann 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> see http://sumo.dlr.de/wiki/Tools/Trip#Arrival_rate
>>>>>>>>
>>>>>>>> 2018-08-24 11:50 GMT+02:00 Jose Monreal Bailey 
>>>>>>>> :
>>>>>>>>
>>>>>>>>> Hey everyone,
>>>>>>>>>
>>>>>>>>> I was using some flow entries to define the amount of vehicles
>>>>>>>>> taking certain route.
>>>>>>>>> When creating a trip file with randomTrips, is it possible to tell
>>>>>>>>> how many vehicles do I want to be generated in the network? This to
>>>>>>>>> simulate heaving, medium and low traffic.
>>>>>>>>>
>>>>>>>>> Best regards,
>>>>>>>>> José
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> sumo-user mailing list
>>>>>>>>> sumo-user@eclipse.org
>>>>>>>>> To change your delivery options, retrieve your password, or
>>>>>>>>> unsubscribe from this list, visit
>>>>>>>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>&

Re: [sumo-user] flow vs trips

2018-08-24 Thread Jose Monreal Bailey
Hi Jakob,

When I run randomTrips.py -n NETCONVERT.citycentreV2.net.xml -o
newTrip.trips.xml -r newRoutes.rou.xml --weights-prefix=NEW
--fringe-factor=100 --flows 100 --validate
I get inside the newRoutes.rou.xml file just route entries, is there an
option to generate the flow file?

If that is supposed to be the file, then to that I should add the entries
of vType and define the probability and distribution?

Or am I missing something?

Best regards,
José

On Fri, 24 Aug 2018 at 15:03, Jose Monreal Bailey 
wrote:

> Thanks Jakob I will take a look at it
>
> On Fri, 24 Aug 2018 at 15:01, Jakob Erdmann  wrote:
>
>> When you set option --flows 100, the randomTrips should 100 flow entries.
>> If you want to change the type proportions manually, then use a
>> vTypeDistribution and generate trips / flows that reference the
>> distribution.
>> see
>> http://sumo.dlr.de/wiki/Tools/Trip#Setting_a_vehicle_type_from_an_external_file
>> You can then adapt the type probabilities in the distribution before you
>> start the simulation:
>>
>> http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Vehicle_Type_Distributions
>>
>>
>> 2018-08-24 15:46 GMT+02:00 Jose Monreal Bailey :
>>
>>> But with that option I do not have a flow entry.
>>> I want to be able to tell to have a flow with 200 vehicles, where 10
>>> percent are of Type A, 90 percent are Type C, and be able to change those
>>> values every time.
>>>
>>>
>>> On Fri, 24 Aug 2018 at 14:29, Jakob Erdmann 
>>> wrote:
>>>
>>>> randomTrips.py supports option --flows
>>>>
>>>> 2018-08-24 14:36 GMT+02:00 Jose Monreal Bailey :
>>>>
>>>>> Great! Thanks Jakob, and do you know if as for Trips, is it possible
>>>>> to generate a flow file in the same way with a script from the sumo tools
>>>>> directory or alike?
>>>>>
>>>>> Best regards,
>>>>> José
>>>>>
>>>>> On Fri, 24 Aug 2018 at 13:02, Jakob Erdmann 
>>>>> wrote:
>>>>>
>>>>>> see http://sumo.dlr.de/wiki/Tools/Trip#Arrival_rate
>>>>>>
>>>>>> 2018-08-24 11:50 GMT+02:00 Jose Monreal Bailey :
>>>>>>
>>>>>>> Hey everyone,
>>>>>>>
>>>>>>> I was using some flow entries to define the amount of vehicles
>>>>>>> taking certain route.
>>>>>>> When creating a trip file with randomTrips, is it possible to tell
>>>>>>> how many vehicles do I want to be generated in the network? This to
>>>>>>> simulate heaving, medium and low traffic.
>>>>>>>
>>>>>>> Best regards,
>>>>>>> José
>>>>>>>
>>>>>>> ___
>>>>>>> sumo-user mailing list
>>>>>>> sumo-user@eclipse.org
>>>>>>> To change your delivery options, retrieve your password, or
>>>>>>> unsubscribe from this list, visit
>>>>>>> https://dev.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://dev.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://dev.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://dev.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://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] How to use --turn-lanes.length

2018-08-24 Thread Jose Monreal Bailey
Hey everyone,

I have been trying to add the turn lane to in all my junctions, and for
some reason some vehicles get blocked.
I thought I could give them more space to enter the turn lane, but it does
something totally different.
I gave the value of 6 to turn-lanes.length and got,

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


Re: [sumo-user] flow vs trips

2018-08-24 Thread Jose Monreal Bailey
Thanks Jakob I will take a look at it

On Fri, 24 Aug 2018 at 15:01, Jakob Erdmann  wrote:

> When you set option --flows 100, the randomTrips should 100 flow entries.
> If you want to change the type proportions manually, then use a
> vTypeDistribution and generate trips / flows that reference the
> distribution.
> see
> http://sumo.dlr.de/wiki/Tools/Trip#Setting_a_vehicle_type_from_an_external_file
> You can then adapt the type probabilities in the distribution before you
> start the simulation:
>
> http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Vehicle_Type_Distributions
>
>
> 2018-08-24 15:46 GMT+02:00 Jose Monreal Bailey :
>
>> But with that option I do not have a flow entry.
>> I want to be able to tell to have a flow with 200 vehicles, where 10
>> percent are of Type A, 90 percent are Type C, and be able to change those
>> values every time.
>>
>>
>> On Fri, 24 Aug 2018 at 14:29, Jakob Erdmann 
>> wrote:
>>
>>> randomTrips.py supports option --flows
>>>
>>> 2018-08-24 14:36 GMT+02:00 Jose Monreal Bailey :
>>>
>>>> Great! Thanks Jakob, and do you know if as for Trips, is it possible to
>>>> generate a flow file in the same way with a script from the sumo tools
>>>> directory or alike?
>>>>
>>>> Best regards,
>>>> José
>>>>
>>>> On Fri, 24 Aug 2018 at 13:02, Jakob Erdmann 
>>>> wrote:
>>>>
>>>>> see http://sumo.dlr.de/wiki/Tools/Trip#Arrival_rate
>>>>>
>>>>> 2018-08-24 11:50 GMT+02:00 Jose Monreal Bailey :
>>>>>
>>>>>> Hey everyone,
>>>>>>
>>>>>> I was using some flow entries to define the amount of vehicles taking
>>>>>> certain route.
>>>>>> When creating a trip file with randomTrips, is it possible to tell
>>>>>> how many vehicles do I want to be generated in the network? This to
>>>>>> simulate heaving, medium and low traffic.
>>>>>>
>>>>>> Best regards,
>>>>>> José
>>>>>>
>>>>>> ___
>>>>>> sumo-user mailing list
>>>>>> sumo-user@eclipse.org
>>>>>> To change your delivery options, retrieve your password, or
>>>>>> unsubscribe from this list, visit
>>>>>> https://dev.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://dev.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://dev.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://dev.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://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] lefthand problem with turn-lanes

2018-08-24 Thread Jose Monreal Bailey
Thanks Jakob!

On Fri, 24 Aug 2018 at 14:31, Jakob Erdmann  wrote:

> Thanks for reporting. This is fixed in the latest development version
> (binaries updated tomorrow).
>
> 2018-08-24 12:56 GMT+02:00 Jose Monreal Bailey :
>
>> Right side traffic network configuration
>>
>> [image: image.png]
>>
>>
>> left side traffic network configuration
>>
>> [image: image.png]
>>
>> am I missing a parameter while generating the network?
>>
>> This is how I am generating the grid,
>>
>> netgenerate \
>>   --grid \
>>   --grid.number=12 \
>>   --grid.x-length=362 \
>>   --grid.y-length=180 \
>>   --tls.guess \
>>   --no-turnarounds \
>>   --no-turnarounds.tls \
>>   -L 3 \
>>   --lefthand \
>>   --turn-lanes 1 \
>>   --sidewalks.guess \
>>   --crossings.guess \
>>   --walkingareas \
>>   --sidewalks.guess.from-permissions \
>>   --opposites.guess \
>>   --output-file=test.net.xml
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] flow vs trips

2018-08-24 Thread Jose Monreal Bailey
But with that option I do not have a flow entry.
I want to be able to tell to have a flow with 200 vehicles, where 10
percent are of Type A, 90 percent are Type C, and be able to change those
values every time.


On Fri, 24 Aug 2018 at 14:29, Jakob Erdmann  wrote:

> randomTrips.py supports option --flows
>
> 2018-08-24 14:36 GMT+02:00 Jose Monreal Bailey :
>
>> Great! Thanks Jakob, and do you know if as for Trips, is it possible to
>> generate a flow file in the same way with a script from the sumo tools
>> directory or alike?
>>
>> Best regards,
>> José
>>
>> On Fri, 24 Aug 2018 at 13:02, Jakob Erdmann 
>> wrote:
>>
>>> see http://sumo.dlr.de/wiki/Tools/Trip#Arrival_rate
>>>
>>> 2018-08-24 11:50 GMT+02:00 Jose Monreal Bailey :
>>>
>>>> Hey everyone,
>>>>
>>>> I was using some flow entries to define the amount of vehicles taking
>>>> certain route.
>>>> When creating a trip file with randomTrips, is it possible to tell how
>>>> many vehicles do I want to be generated in the network? This to simulate
>>>> heaving, medium and low traffic.
>>>>
>>>> Best regards,
>>>> José
>>>>
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To change your delivery options, retrieve your password, or unsubscribe
>>>> from this list, visit
>>>> https://dev.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://dev.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://dev.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://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user


  1   2   >