You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i copied the code in the traci4matlab example traci_test2.m
And i met the error when i used the fuction traci.trafficlights.setCompleteRedYellowGreenDefinition('0',tlsRYGDefinition{1});
Here is the example code:
tlsRYGDefinition = traci.trafficlights.getCompleteRedYellowGreenDefinition('0')
traci.trafficlights.setCompleteRedYellowGreenDefinition('0',tlsRYGDefinition{1});
I used the code in the same way,but it went wrong.
And here is the wrong message:
错误使用 traci.sendExact (第 46 行)
74 194 255 Error set program 4.5 parameter (next) must be a compound (list of ints).
Can this function be used in the old sumo version? Or this function can not be used all the time?
If i want to use it in the matlab .which version should i download.Because it seems like this function can not be used in my version :1.19
**SUMO-version:1.19
**operating system:windows
The text was updated successfully, but these errors were encountered:
i copied the code in the traci4matlab example traci_test2.m
And i met the error when i used the fuction traci.trafficlights.setCompleteRedYellowGreenDefinition('0',tlsRYGDefinition{1});
Here is the example code:
tlsRYGDefinition = traci.trafficlights.getCompleteRedYellowGreenDefinition('0')
traci.trafficlights.setCompleteRedYellowGreenDefinition('0',tlsRYGDefinition{1});
I used the code in the same way,but it went wrong.
And here is the wrong message:
错误使用 traci.sendExact (第 46 行)
74 194 255 Error set program 4.5 parameter (next) must be a compound (list of ints).
出错 traci.trafficlights.setCompleteRedYellowGreenDefinition (第 58 行)
traci.sendExact();
出错 TACIR (第 139 行)
traci.trafficlights.setCompleteRedYellowGreenDefinition(tlsID,myRYGDefinition);
Can this function be used in the old sumo version? Or this function can not be used all the time?
If i want to use it in the matlab .which version should i download.Because it seems like this function can not be used in my version :1.19
**SUMO-version:1.19
**operating system:windows
The text was updated successfully, but these errors were encountered: