"Embedded python" uses a python interepreter compiled into sumo to run the TraCI script. This helps to reduce communication overhead and speeds up TraCI usage. However, embedded python is obsolete and will not be supported in the future. Instead libsumo can be used. Libsumo provides a python library with the same functionality as TraCI that links directly to SUMO code and thus also avoids TCP-IP communication. The advantage of libsumo is that it allows sumo to be used as a library from all languages suppport by SWIG ( https://en.wikipedia.org/wiki/SWIG). Libsumo can be used already, albeit with the limitation that the SUMO-GUI is not yet supported.
regards, Jakob 2018-07-22 9:54 GMT+02:00 Zhiqiang Hu <[email protected]>: > Dear Jakob, > > What's the difference between Traci and embedded python version?And how to > use the embedded python version? > > Best regards, > Zhiqiang > > _______________________________________________ > sumo-user 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-user > >
_______________________________________________ sumo-user 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-user
