Dear Chason, libsumo should be more or less feature complete offering the same commands as traci. You can just use "import libsumo as traci" and run the script as before. Be aware not to start the sumo process manually and use the "old" way of traci.init but just traci.start.
Concerning the build problem, please post some details about your environment (which OS and compiler) and a build log if possible. Best regards, Michael Am 03.09.2018 um 04:28 schrieb Chason via sumo-user: > Dear sumo users > Hi. > I am learning how to use libsumo recently, but the descriptions on sumo's > website is not very clear. > I want to know if libsumo can be used like traci? For example moving a > vehicle to a specific position. And if I want to contact sumo with libsumo, > do I just need to copy them to my python path and import them in my script? > Also I don't know how to get _libsumo.so. Because after compilation, I just > got a libsumo.py file and there was no such a file named _libsumo.so. > Looking forward to your reply. > Best > regards.----------------------------------------------------------------------------------------------------------------------------------------------------------------------Xu > ChenxiangiDlabTsinghua University > ------------------------------------------------------------------------------ > 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 > _______________________________________________ > 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 >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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
