Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] How to resolve the Traci variables from different OS.

Dear all,
  I have attached two screen shots from Windows environment as well as Ubuntu OS environment. As you can see in Windows environment there is an "_"  in front of variable names while in ubuntu traci no "_" can be found. Again sometimes the variable name are also different. like in windows _phaseDef can be shown while in Ubuntu, "state" variable provides the same output. how to collaborate between them? I need to run the same code in both os. However, one solution could be by checking the OS and using if-else method, which is traditional. But the solution would be easy for me if both the OS can use the same traci variables.
  In both OS I am using SUMO 1.0.1 version.



Regards,
Pratik Dutta
Mob: 8017342498

Attachment: Ubuntu.png
Description: PNG image

Attachment: windows.PNG
Description: PNG image


Back to the top