|
From: Mauz, F. <Flo...@be...> - 2012-12-11 15:50:20
|
Hi everybody, I develop a car2TLS system and I want to get the information of the phases from all TLS indices. If I try the traci-command "getRedYellowGreenState" or "getCompleteRedYellowGreenDefinition" or "getNextSwitch" I always get the information from the TLS with index 0. I don't know how change the TLS index for the several lanes/turn lanes. And how can I find out which TLS index is for which lane? Additional questions: Why do I get 2 times the same letter return by the traci-command "getRedYellowGreenState"? Is there a possibility to get all next swithing times from a TLS? The Command "getCompleteRedYellowGreenDefinition" returns only the next "phaseDef: G" and "phaseDef: y" times, but not for the next red phase... Best regards, B.Eng. Florian Mauz Masterand Tel: +49 89 608090-0 E-Mail: Flo...@be...<mailto:Flo...@be...> Web: www.berner-mattner.com<http://www.berner-mattner.com/> Berner & Mattner Systemtechnik GmbH Erwin-von-Kreibig-Str. 3 D-80807 München Geschäftsführer: Dr. Klaus Eder, Dr. Jan-Oliver Wenzel Registernummer: HR B 83252 beim Amtsgericht München Sitz der Gesellschaft: München |