Dear Alexander, thank you very much for the patch. It has been integrated in revision [19859].
regards, Jakob 2016-01-30 21:49 GMT+01:00 Alexander Weidinger <[email protected]>: > Hi Michael and Jakob, > > I was able to find a/the solution for the problem. > In nearly every set-method, the command is transmitted, > but the packet returning is not checked > and therefore stays in the buffer. > Still the nextStep function call checks for incoming packets > and receives the false one from the buffer, > leading to the error mesage. > > I attached a *.patch file containing a patch for all predefined methods > and extended the library for a few vehicle set/get methods. > > You can ignore the hardcoded 'config.h' path. > I need it for a project where a 'config.h' file already exists. > > regards, > Alexander > > > On 01/04/2016 09:28 AM, Jakob Erdmann wrote: > > Hi Alexander, > > this is the same type of error you already reported in November. > > Apparently it concerns many more commands. > > It is now being tracked at http://sumo.dlr.de/trac.wsgi/ticket/2007 > > regards, > > Jakob > > > > 2015-12-21 18:11 GMT+01:00 Michael Behrisch > > <[email protected] <mailto:[email protected] > >>: > > > > Hi Alexander, > > this error should not appear and since it seems rather severe, I > assume, > > it has to do with our setup. Could you please give some more details > > concerning your platform (Windows/Linux, which python version etc.) > and > > the sumo version you use? > > Maybe you can also send the whole scenario or at least the complete > > script? > > > > Best regards, > > Michael > > > > Am 21.12.2015 um 15:43 schrieb Alexander Weidinger: > > > Hi, > > > > > > try { > > > tracictrl->vehicle.setSpeed("veh0", car->_speed_x); > > > tracictrl->simulationStep(0); > > > } catch(tcpip::SocketException &e) { > > > debug("tcpip: %s\n", e.what()); > > > } > > > > > > leads to: > > > > > > tcpip: #Error: received status response to command: 196 but > expected: 2 > > > > > > This also happens for methods, which were already implemented and > not > > > extended by myself. > > > Seems like the order of packet handling isn't done correctly in > traci > > > > > > Any ideas on how to fix this? > > > > > > Best regards, > > > Alexander > > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > sumo-user mailing list > > > [email protected] > > <mailto:[email protected]> > > > https://lists.sourceforge.net/lists/listinfo/sumo-user > > > > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > sumo-user mailing list > > [email protected] <mailto: > [email protected]> > > https://lists.sourceforge.net/lists/listinfo/sumo-user > > > > > > -- > Mit freundlichen Grüßen > Alexander Weidinger > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
