Hi, as you might have noticed we are in the process of restructuring TraCI to make its functionality available also when linking directly to sumo (aka libsumo). To facilitate this we make use of SWIG http://www.swig.org/ which generates the wrapper code for different languages (for instance Python and Java). A major problem here is the translation of data types and here comes my question to the community: The current python TraCI client always returns lists of objects (for instance vehicle ids) whenever an ordered sequence is being asked for. Swig on the other hand currently translates a C++ std::vector into a Python tuple. While it is possible to change that, it seems quite cumbersome and in fact I like the idea of returning a non modifiable item much better. Since this changes the Python API in many places (although with probably only minor impact), I would like to ask you in advance. Any objections to this change? Will this break all of your work?
Best regards, Michael
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sumo-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-dev
