Skip to main content

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

Hi,

in the wiki there is a hint regarding the underscores

I think, you can use the variables without _ in both OS.
For me it worked some time ago.

Harald

Am 04.12.18 um 12:58 schrieb Pratik Dutta:
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

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Back to the top