Hi, I am currently investigating the possibility of linking SUMO with our 3D visualisation software. Basically I need a high frequency (1KHz) stream of all vehicle positions (and maybe a lower frequency stream of vehicle types) I have been evaluating the TraCI API but am finding it a bit limited for real-time use.
E.g. It would appear I have to request each vehicle's position individually. The API is all based on a TCP request and then waiting for a response, which is killing my real-time application. I have made some progress with creating a new class which inherits from TraCIAPI and splitting all the receipts into a separate thread, but it seems a bit silly to have to keep requesting the same information each time-step. Am I missing an obvious way of doing this? Could we extend the API to have a mechanism to register an interest in particular data and it be continually broadcast? Possibly register an interest in any vehicles within a user-defined radius of the ego vehicle? Alternatively, is there a way to write plugins for SUMO? So I could just write my own bespoke output stream of the data I require. Thanks in advance for any guidance, Erik Newton Model Integration Engineer rFactor Pro ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ sumo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-devel
