Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes

2018-03-20 Thread Jakob Erdmann via sumo-user
Change target fails if the new target cannot be reached from the current
position. This is unrelated to the activation of automatic routing.
Also, automatic routing can be activated for all vehicles by setting the
option --device.rerouting.probability 1

2018-03-20 17:48 GMT+01:00 Jonathan Harper :

> Hi Jakob,
>
>
>
> Thanks for all the help so far, I’ve tried changing the target using
> Vehicle.changeTarget, however, I receive the error “SUMO error for command
> 196: Route replacement failed for veh”. My thinking is that I need to
> somehow activate the automatic routing, but I can’t seem to find a way to
> do it in TraaS.
>
>
>
> Any help would be greatly appreciated
>
>
>
> *From: *Jakob Erdmann 
> *Sent: *20 March 2018 12:12
> *To: *Jonathan Harper 
> *Cc: *sumo-u...@lists.sourceforge.net
> *Subject: *Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete
> Routes
>
>
>
> You can define everything at runtime via TraCI.
>
>
>
> 2018-03-20 12:21 GMT+01:00 Jonathan Harper :
>
> Hi Jakob,
>
>
>
> Thanks for the swift response.
>
> For this to work must I have set up the trip before runtime, or can I
> define the trips during runtime and ask the vehicles to reroute during
> runtime?
>
>
>
> Kind regards
>
>
>
> *From: *Jakob Erdmann 
> *Sent: *20 March 2018 11:04
> *To: *Jonathan Harper 
> *Cc: *sumo-u...@lists.sourceforge.net; sumo-user@eclipse.org
> *Subject: *Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete
> Routes
>
>
>
> Hello,
>
> - automatic routing is suitable if you just want vehicles to react to
> changing road conditions (congestion). This causes them to periodically
> check if there is a better route and then change the route but keep the
> original destination
>
> - if you need more influence on the timing or individual routing
> preferences you can call traci.vehicle.rerouteTravelTime
>
> - if you need to change the destination you can call
> traci.vehicle.changeTarget
>
> - for intermediate goals that must be visited you can define 'via' edge
> using traci.vehicle.setVia
>
> - if you want to compute fastest routes without affecting a vehicle you
> can call simulation.findRoute
>
> regards,
>
> Jakob
>
>
>
> 2018-03-20 11:49 GMT+01:00 Jonathan Harper via sumo-user <
> sumo-u...@lists.sourceforge.net>:
>
> Hello,
>
> I'm unsure on how to dynamically assign routes to vehicles (with each
> vehicle having a route which is unique to them) depending on certain
> conditions (i.e. traffic jams, congestion). I'm using TraaS to interface
> with SUMO and need to react to certain conditions and dynamically assign
> routes to particular vehicles depending on their location relative to the
> road condition.
> I've read about automatic re-routing here: http://sumo.dlr.de/wiki/
> Demand/Automatic_Routing, however I'm unsure how to activate this (if
> it's not done by default), or if this is even the correct solution.
> So far I've been able to assign a route in TraaS, but I can't seem to use
> DUAROUTER during runtime to be able to generate the route from point A to C
> without defining the intermediate edges, C (trip -> route). From my
> understanding a trip is a start and end destination, whereas a route is
> this with the addition of all of the intermediate edges passed through.
> SumoStringList listExample = new SumoStringList();
> ArrayList edgeList = new ArrayList<>();
>
> edgeList.add("edge1");
> edgeList.add("edge3");
> listExample.addAll(edgeList);
>
> conn.do_job_set(Route.add("test", listExample));
>
> When ran (without edge2 being included in the edgeList) I get the
> error Vehicle 'testVehicle' has no valid route. No connection between edge
> 'edge1' and edge 'edge3'., which is resolved upon including edge2.
> Is it possible to convert trips -> routes during runtime? Is there a way
> to call DUAROUTER (or another tool) during runtime in TraaS?
> Many thanks
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-u...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
>
>
>
>
>
> [image:
> https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]
> 
>
> Virus-free. www.avast.com
> 
>
>
>
>
>

Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes

2018-03-20 Thread Jonathan Harper via sumo-user
Hi Jakob,

Thanks for all the help so far, I’ve tried changing the target using 
Vehicle.changeTarget, however, I receive the error “SUMO error for command 196: 
Route replacement failed for veh”. My thinking is that I need to somehow 
activate the automatic routing, but I can’t seem to find a way to do it in 
TraaS.

Any help would be greatly appreciated

From: Jakob Erdmann
Sent: 20 March 2018 12:12
To: Jonathan Harper
Cc: sumo-u...@lists.sourceforge.net
Subject: Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes

You can define everything at runtime via TraCI.

2018-03-20 12:21 GMT+01:00 Jonathan Harper :
Hi Jakob,
 
Thanks for the swift response.
For this to work must I have set up the trip before runtime, or can I define 
the trips during runtime and ask the vehicles to reroute during runtime?
 
Kind regards
 
From: Jakob Erdmann
Sent: 20 March 2018 11:04
To: Jonathan Harper
Cc: sumo-u...@lists.sourceforge.net; sumo-user@eclipse.org
Subject: Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes
 
Hello,
- automatic routing is suitable if you just want vehicles to react to changing 
road conditions (congestion). This causes them to periodically check if there 
is a better route and then change the route but keep the original destination
- if you need more influence on the timing or individual routing preferences 
you can call traci.vehicle.rerouteTravelTime
- if you need to change the destination you can call traci.vehicle.changeTarget
- for intermediate goals that must be visited you can define 'via' edge using 
traci.vehicle.setVia
- if you want to compute fastest routes without affecting a vehicle you can 
call simulation.findRoute
regards,
Jakob
 
2018-03-20 11:49 GMT+01:00 Jonathan Harper via sumo-user 
:
Hello,

I'm unsure on how to dynamically assign routes to vehicles (with each vehicle 
having a route which is unique to them) depending on certain conditions (i.e. 
traffic jams, congestion). I'm using TraaS to interface with SUMO and need to 
react to certain conditions and dynamically assign routes to particular 
vehicles depending on their location relative to the road condition.
I've read about automatic re-routing here: 
http://sumo.dlr.de/wiki/Demand/Automatic_Routing, however I'm unsure how to 
activate this (if it's not done by default), or if this is even the correct 
solution.
So far I've been able to assign a route in TraaS, but I can't seem to use 
DUAROUTER during runtime to be able to generate the route from point A to C 
without defining the intermediate edges, C (trip -> route). From my 
understanding a trip is a start and end destination, whereas a route is this 
with the addition of all of the intermediate edges passed through.
        SumoStringList listExample = new SumoStringList();
        ArrayList edgeList = new ArrayList<>();

        edgeList.add("edge1");
        edgeList.add("edge3");
        listExample.addAll(edgeList);

        conn.do_job_set(Route.add("test", listExample));

When ran (without edge2 being included in the edgeList) I get the error Vehicle 
'testVehicle' has no valid route. No connection between edge 'edge1' and edge 
'edge3'., which is resolved upon including edge2.
Is it possible to convert trips -> routes during runtime? Is there a way to 
call DUAROUTER (or another tool) during runtime in TraaS?
Many thanks



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-u...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user
 
 


Virus-free. www.avast.com 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-u...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes

2018-03-20 Thread Jakob Erdmann via sumo-user
You can define everything at runtime via TraCI.

2018-03-20 12:21 GMT+01:00 Jonathan Harper :

> Hi Jakob,
>
>
>
> Thanks for the swift response.
>
> For this to work must I have set up the trip before runtime, or can I
> define the trips during runtime and ask the vehicles to reroute during
> runtime?
>
>
>
> Kind regards
>
>
>
> *From: *Jakob Erdmann 
> *Sent: *20 March 2018 11:04
> *To: *Jonathan Harper 
> *Cc: *sumo-u...@lists.sourceforge.net; sumo-user@eclipse.org
> *Subject: *Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete
> Routes
>
>
>
> Hello,
>
> - automatic routing is suitable if you just want vehicles to react to
> changing road conditions (congestion). This causes them to periodically
> check if there is a better route and then change the route but keep the
> original destination
>
> - if you need more influence on the timing or individual routing
> preferences you can call traci.vehicle.rerouteTravelTime
>
> - if you need to change the destination you can call
> traci.vehicle.changeTarget
>
> - for intermediate goals that must be visited you can define 'via' edge
> using traci.vehicle.setVia
>
> - if you want to compute fastest routes without affecting a vehicle you
> can call simulation.findRoute
>
> regards,
>
> Jakob
>
>
>
> 2018-03-20 11:49 GMT+01:00 Jonathan Harper via sumo-user <
> sumo-u...@lists.sourceforge.net>:
>
> Hello,
>
> I'm unsure on how to dynamically assign routes to vehicles (with each
> vehicle having a route which is unique to them) depending on certain
> conditions (i.e. traffic jams, congestion). I'm using TraaS to interface
> with SUMO and need to react to certain conditions and dynamically assign
> routes to particular vehicles depending on their location relative to the
> road condition.
> I've read about automatic re-routing here: http://sumo.dlr.de/wiki/
> Demand/Automatic_Routing, however I'm unsure how to activate this (if
> it's not done by default), or if this is even the correct solution.
> So far I've been able to assign a route in TraaS, but I can't seem to use
> DUAROUTER during runtime to be able to generate the route from point A to C
> without defining the intermediate edges, C (trip -> route). From my
> understanding a trip is a start and end destination, whereas a route is
> this with the addition of all of the intermediate edges passed through.
> SumoStringList listExample = new SumoStringList();
> ArrayList edgeList = new ArrayList<>();
>
> edgeList.add("edge1");
> edgeList.add("edge3");
> listExample.addAll(edgeList);
>
> conn.do_job_set(Route.add("test", listExample));
>
> When ran (without edge2 being included in the edgeList) I get the
> error Vehicle 'testVehicle' has no valid route. No connection between edge
> 'edge1' and edge 'edge3'., which is resolved upon including edge2.
> Is it possible to convert trips -> routes during runtime? Is there a way
> to call DUAROUTER (or another tool) during runtime in TraaS?
> Many thanks
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-u...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
>
>
>
>
> 
>  Virus-free.
> www.avast.com
> 
> <#m_-5125007387062299873_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-u...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] SUMO at Google's Summer of Code

2018-03-20 Thread Michael Behrisch

Hi,
if you always wanted to hack the whole summer on your favourite 
microscopic traffic simulation and even get paid for it, then now is the 
time to apply for the Summer of Code. The proposal deadline is the 27th 
of March so if you have an idea what you want to implement in SUMO or 
favor one from this list 
https://wiki.eclipse.org/Google_Summer_of_Code_2018_Ideas#Eclipse_SUMO:_Simulation_of_Urban_Mobility 
please write it up and submit. For some guidelines on how to get your 
application through, these two articles are really helpful:


https://medium.freecodecamp.org/hacking-gsoc-how-to-gain-real-life-experience-and-support-open-source-b1e6a664f6e4
https://sanatt.me/2017/12/30/cracking-google-summer-code-2018/

If you have any questions on the process just get back to us.

Looking forward to your application,
Michael (for the SUMO team)
___
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] Opening TraaS GUI

2018-03-20 Thread Jakob Erdmann
Hello,
I'm not sure what you mean by TraaS GUI.
You can either use TraaS for creating a webservice that your own code can
connect to our you can use it directly as a client library for accessing
sumo. Either way you have to write your own code that uses TraaS and there
is no gui besides the sumo-gui and anything you create yourself.
regards,
Jakob

2018-03-20 0:35 GMT+01:00 Jonathan Harper via sumo-user <
sumo-u...@lists.sourceforge.net>:

> Hello,
>
> I’m a beginner in using SUMO which I am interfacing with TraaS. I can’t
> seem to find a way to open up the TraaS GUI, I’ve got it working through
> importing into the intelliJ IDE, however, can’t seem to find the user
> interface (in /Sumo/bin/ there’s a TraaS Java executable when ran it gives
> the error “A Java exception has occurred”).
>
> Thanks
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-u...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://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] SUMO users

2018-03-20 Thread Pablo.AlvarezLopez
Hi Ednardo,

you have hier a list with the current and past projects with SUMO: 
http://sumo.dlr.de/wiki/Other/Projects

Regards

Von: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] Im 
Auftrag von Ednardo de oliveira Ferreira
Gesendet: Montag, 19. März 2018 19:16
An: Sumo project User discussions
Betreff: [sumo-user] SUMO users

Hi!

I'd like to know whom are the main users on SUMO in world. Mais institutes and 
cities. My objective is to justify its use on my job.
___
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