There is no such thing as traci.vehicleControl it's called traci.vehicle However the error message comes even before that and suggests that sumo itself quit with an error. You can add the element <log value="mylog.txt"/> to your sumocfg and try to figure out the error there.
regards, Jakob 2016-10-26 12:40 GMT+02:00 Vaibhav Rungta <[email protected]>: > Hello, > I am trying to stop a particular vehicle (vehicle ID v1) irrespective of > it's position whenever the phase of the signal (signal ID B2) is red, just > to get an understanding of commands and interfacing. > > The file is getting executed but I receiving the error message: > > > ***Starting server on port 8813 *** > Loading net-file from 'att2.net.xml'... done (2ms). > Loading done. > Simulation started with time: 0.00 > Error: tcpip::Socket::recvAndCheck @ recv: Socket reset by peer > Quitting (on error). > > Kindly help me figure out the error. Are there any examples other than ones > available in tutorial to help me understand how to control vehicles? > > Regards, > Vaibhav Rungta > Graduate Student - Industrial and Systems Engineering > Graduate Assistant - Toyota Production Systems Lab > Research Assistant - University Transport Research Centre > 585-754-7133 > > ------------------------------------------------------------ > ------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > > ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
