Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to use Traci with embedded python version

"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 <hzq950419@xxxxxxxxx>:
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
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top