|
From: Anderson R. <and...@gm...> - 2013-03-14 20:23:54
|
Hi, Have you tried inserting the vehicle omitting the type parameter? Regards, -- Anderson Rocha Tavares http://inf.ufrgs.br/~artavares/ 2013/3/13 Craig Herndon <cra...@ho...> > Hello all, > > I am having trouble with traci and was wondering if anyone > could help out. > I am running sumo through my own modification of runner.py I have defined > the standard > vehicle of type1 in my routes file. However, when I go to create a > vehicle, I run this line. > > traci.vehicle.add(str(vehID), str(routeID), depart=0+1000*step, pos=0, > speed=-1, lane=0, typeID="type1") > > Sumo returns the following message: "Error: Answered with error to command > 196: Invalid type 'type1' for vehicle '1'". > I have confirmed that type1 is defined but apparently it is not defined > properly. Does anyone have any suggestions? > > > Craig T Herndon > cth...@me... > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > sumo-user mailing list > sum...@li... > https://lists.sourceforge.net/lists/listinfo/sumo-user > |