Hello,
the method you are calling expects a list of vehicle class names. Call it
like this:
traci.lane.setDisallowed("h1.30_2", ["private"])
regards,
JakobAm 15. November 2013 10:50 schrieb Thiel Falco <[email protected]>: > Hi, > > ich versuche zurzeit Fahrspuren für bestimmte Fahrzeugklassen zu > bestimmten Zeiten freizugeben oder zu sperren. > Dies wollte ich mittels TraCi und der Methode setAllowed oder > setDisallowed umsetzen. > Mein Problem hierbei ist jedoch, dass sobald der Befehl > traci.lane.setDisallowed("h1.30_2","private") > ausgeführt wird, in Sumo folgender Fehler auftritt: > Error:Unknown vehicle class 'p' > > Meine Frage ist nun, warum wird nur der erste Buchstabe der > Fahrzeugklasse übergeben? > Dies geschieht jeweils bei setAllowed und setDisallowed gleichermaßen. > Ist dies ein bekannter Fehler oder liegt es an meiner Eingabe? > > Vielen Dank im Voraus > Falco > > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
