use
sumoCmd = [sumoBinary, "-c", "sumolympics.sumocfg", "--seed", str(42)]

2017-05-03 21:01 GMT+02:00 Abdul Salam Shaikh <[email protected]>:

> Hi,
>
> I am trying to configure random seed through traci :
>
> My program looks like this so far:
>
> if 'SUMO_HOME' in os.environ:
>     tools = os.path.join(os.environ['SUMO_HOME'], 'tools')
>     sys.path.append(tools)
> else:
>     sys.exit("please declare environment variable 'SUMO_HOME'")
>
> sumoBinary = "sumo-gui"
> sumoCmd = [sumoBinary, "-c", "sumolympics.sumocfg"]
>
>
> ​How do i add changes to configure random seed through it ?​
>
>
> --
> Thanks & Regards,
>
> *Abdul Salam Shaikh*
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to