how about:  if veh_ln_pos >= 50 and
traci.vehicle.getLateralLanePosition(veh_id) == 0:


Am Mi., 27. Mai 2020 um 16:44 Uhr schrieb Reza <[email protected]>:

> Thank you very much. I really appreciate your help. I did not understand
> how
> I should call the changeSublane(veh_id, 1.6) command once. When I put it
> under the condition "If veh_ln_pos == 50," it does not do anything. And,
> when I put it under the condition "if veh_ln_pos >= 50," it will call the
> command repeatedly as you said. I was wondering to know how I should do it.
>
> Best,
> Reza.
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to