Hello, See the official C++ client implementation: http://sumo.dlr.de/wiki/TraCI/C%2B%2BTraCIAPI In the latest development version (25397) the method getLeader is implemented. https://svn.code.sf.net/p/sumo/code/trunk/sumo/src/utils/traci/TraCIAPI.cpp
regards, Jakob 2017-07-26 15:55 GMT+02:00 Francesco Sicuro via sumo-user < [email protected]>: > Hello, after have built a script to manage the sumo mobility in python > using methods such as getSpeed, setSpeedMode, geTLeader, getDistance, > etc... I want to export this mobility behaviour inside the veins library in > omnet++ which has to be written in c++. > So, to migrate all the code, I studied this ( > http://sumo.dlr.de/wiki/TraCI/Vehicle_Value_Retrieval), and I implemented > the methods not already provided in veins like getIDList, getDistance and > moveTo with good success. > My problem now is that I'm no able to build the method getLeader because as > suggested in the link above, it is of type Extended_retrieval_messages and > I do not understand how exactly do I have to build the query request. > Is there someone that have alreadydone this stuff or at least have a > suggestion that can help me? > > Regards, > Francesco S. > ------------------------------------------------------------ > ------------------ > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
