Hi,
please use one of the existing implementations as a template when
implementing a new API. Your message looks completely wrong starting
with the wrong message length and continuing not very much better ;-)
See also: http://sumo-sim.org/wiki/TraCI/Protocol and strongly
consider switching to Python, Java or C++ to use one of the existing
APIs (Maybe you can even use the C++ API from C#, not sure about
that).

Best regards,
Michael

2013/11/7 Igor Bilbao <[email protected]>:
> Grettings,
>
>           If tried your Solutions and it worked, I get a lot of vehicles
> running, but it makes the simulation time get very high. Our map is too big
> and with the amount of vehicles we need to simulate it gets realy slow. So
> Im trying another approach with TRACI and C#. What I whant to do is to have
> some SUMOs listeting and send commands to TRACI for an step by step
> simulation, for all of them at the same time, and gather information about
> some specific vehicles. Im having problems sending the bytes to TRACI. I get
> it listen to a port and stablish connection, but im not getting response
> from TRACI. I think im sending wrong the data. Could you help mi to send the
> data correctly? Its my first time with sockets and it is getting very
> annoying :).
>
> Here is the part of the code im using to send the data.
>
>                 MemoryStream ms = new MemoryStream();
>             BinaryWriter bw = new BinaryWriter(ms);
>
>             bw.Write((uint)3);
>             bw.Write((uint)0x21);
>             bw.Write((uint)0);
>
>                 socket.Send(ms.ToArray());
>
>                 bytes = socket.Receive(RecvBytes);
>
> thanks a lot in advance for your help
>
> Igor
>
> -----Mensaje original-----
> De: Igor Bilbao [mailto:[email protected]]
> Enviado el: jueves, 31 de octubre de 2013 9:30
> Para: 'Michael Behrisch'; 'Jakob Erdmann'
> CC: [email protected]
> Asunto: Re: [sumo-user] How many vehicles can simulate SUMO
>
> Grettings,
>
>      Thanks a lot for your help, i will try your Solutions.
>
> Thank you.
>
> Igor.
>
> -----Mensaje original-----
> De: [email protected] [mailto:[email protected]] En
> nombre de Michael Behrisch
> Enviado el: miércoles, 30 de octubre de 2013 22:30
> Para: Igor Bilbao
> CC: [email protected]
> Asunto: Re: [sumo-user] How many vehicles can simulate SUMO
>
> Hi,
> I suppose you want all vehicles to start on the same road, so it is
> probably the road capacity which puts the limit together with the
> depart parameters. You can tweak the former by adding more lanes and
> the latter are explained here
> http://sumo-sim.org/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#A
> _Vehicle.27s_depart_and_arrival_parameter
>
> Best regards,
> Michael
>
> 2013/10/28 Igor Bilbao <[email protected]>:
>> Grettings,
>>
>>
>>
>>                  Im making simulations on sumo and i have tried a lot of
>> different combinations too run SUMO with a big amount of vehicles. If
> tried
>> vehicles per hour, but just can simulate 590 vehicles per hour. If y make
>> flows it depends if you set max number of vehicles, or departure times
> etc.
>> and if I put 1000 vehicles with different departures, it does not start
>> every vehicle at its departure time. So my question is if there is a
> maximum
>> of vehicles that SUMO can simulate or if it depends on the way you use to
>> create those vehicles, or it have a limit of time to create those
> vehicles.
>>
>>
>>
>>             Thanks in advance for your help.
>>
>>
>>
>>
>>
>>
>>
>> Igor Bilbao Gil
>>
>> CBT / Ingenieria
>> Carretera Asúa, 6 48930 Las Arenas - Vizcaya
>>
>> Tel.: +34 94 480 51 83
>> www.cbt.es <http://www.cbt.es/>
>> www.innovalia.com <http://www.innovalia.com/>
>> ------------------------------------------------------------
>>
>> ------------------------------------------------------------
>>
>> QA&TEST 2013
>> 29th - 31st October 2013 in Bilbao (Spain)
>> We would like to encourage you to participate in the 12th International
>> Conference on Software QA and Testing on Embedded Systems
>>
>> For further details, please visit:
>>  <http://www.qatest.org/> http://www.qatest.org
>>
>> Innovalia supports QA&TEST organisation.
>>
>>
>>
>>
> ----------------------------------------------------------------------------
> --
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
>> the latest Intel processors and coprocessors. See abstracts and register >
>>
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
> ----------------------------------------------------------------------------
> --
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to