[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Adding multiple clients to the SUMO dynamically.
|
Hi Satyam,
there is at least subscription code in the traas sources but I don't
know of any exmaples and did not try it myself. The documentation
http://traas.sourceforge.net/cms/index.php?id=documentation says it is
not supported, but I am forwarding this to the mailing list and the
original TraaS author, maybe someone there can help.
Best regards,
Michael
Am 2018-02-02 07:22, schrieb satyam bandarapu:
Hi Michael,
Thank you for the email. Implementing proxy seems to work for me. is it
subscription working in TraaS(Java)? if yes, any examples?
Br,
Satyam
On Wed, Jan 31, 2018 at 11:56 PM, Michael Behrisch <oss@xxxxxxxxxxx>
wrote:
Dear Satyam,
the problem is that SUMO is currently not multithreaded and so cannot
wait
for connections and execute simultaneously. One could introduce a
waitforconnect command but this seems rather clumsy and we would
prefer to
introduce multithreading which is not that hard but still needs some
days
to implement correctly. If you are willing to try we can help you here
at
least by giving pointers where to start. The much easier solution is
of
course to write a simple proxy in the programming language of your
choice
which will connect as the only instance to sumo and will itself accept
connections and route them through.
Best regards,
Michael
Am 2018-01-31 23:52, schrieb satyam bandarapu:
Hi,
I am trying to connect multiple clients to the SUMO(SUMO-GUI) 0.32.0.
I
got
to know from the following link that "When using multi client setups
the
number of clients needs to be known when starting SUMO and all
clients
need
to connect before the first simulation step".
http://sumo.dlr.de/wiki/TraCI/Protocol
My requirement is to add the clients dynamically after starting the
SUMO.
Can anyone explain, is it architecturally possible to extend the SUMO
source code to support above feature? if yes, how big is the changes
and
where is the modifications required in the source files?
I am looking to write clients in TracAPI(C++) or TraaS(Java).
Appreciate your help.
Thanks
Satyam
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user