Hello, you could try to run the same traci-query using the python client and check whether the result is correct. Possibly there is a problem with the way you interpret the byte response from sumo. regards, Jakob
2013/12/4 Igor Bilbao <[email protected]> > Grettings, > > > > Taking some advices from this forum a time ago, i installed sumo > on ubuntu to use traci with C++ API. Now I am able to do some work with > traci, and very happy for it. But the fact is that there are a lot of > negative and large numbers that I don’t understand why they appear. I try > to > search in the forum, quite big, but i don’t find something like my problem. > The fact is that if I what to get how many vehicles are running, i get > -1275002880 instead of 300 aprox vehicles, and if i want to know the speed > of a certain vehicle y get -5.09789e-57 instead of a positive number. When > I > want to get list of vehicles, or edges everything goes well. For now it > seems that the numbers are getting weird. > > > > Thanks in advance for the 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/> > ------------------------------------------------------------ > > ------------------------------------------------------------ > > Metromeet 2014 > 27-28 March 2014 in Bilbao (Spain) > We would like to encourage you to participate in the 10th International > Conference on Industrial Dimensional Metrology > > For further details, please visit: > <http://www.metromeet.org/> http://www.metromeet.org > > Innovalia supports Metromeet organisation. > > > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
