Thank you Harald, I will look at it.

Best,

François


________________________________________
De : sumo-user-boun...@eclipse.org [sumo-user-boun...@eclipse.org] de la part 
de Harald Schaefer [fechs...@gmail.com]
Envoyé : 28 février 2019 08:39
À : sumo-user@eclipse.org
Objet : Re: [sumo-user] version 0.32.0 vs 1.1.0

Hello,

you might try the script, but be prepared to make changes and look
carefully at the results.
In my old scripts for example I had to make changes like

166,167c167,168
<     phd = traci.trafficlights.getPhaseDuration(self.tlname)
<     nextSwitch = traci.trafficlights.getNextSwitch(self.tlname)
---
>     phd = traci.trafficlight.getPhaseDuration(self.tlname)
>     nextSwitch = traci.trafficlight.getNextSwitch(self.tlname)
172,173c173,175
<     nextSwitch = traci.trafficlights.getNextSwitch(self.tlname)
<     return( ( nextSwitch - s) / 1000 )
---
>     nextSwitch = traci.trafficlight.getNextSwitch(self.tlname)
>     return( nextSwitch - ( s / 1000 ) )

Regards, Harald

Am 28.02.19 um 05:29 schrieb François Vaudrin:
> Hello,
>
> Can we run a traci python program from version 0.32.0 to version 1.1.0 
> directly?
>
> Thank you,
>
> François
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user


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

Reply via email to