Hello,
thanks to your example I was able to find and fix the bug that was causing
the crash (https://github.com/eclipse/sumo/issues/5029).
However, I also found another issue so I recommend you use
changeLaneRelative to move your vehicle back onto the forward lane (see
https://github.com/eclipse/sumo/issues/5031)

You can also use changeLaneRelative to trigger the change to the opposite
side, but be aware of https://github.com/eclipse/sumo/issues/5030

also you can scale the safety desire using vType parameter lcOpposite

The code for computing the timing is in MSLaneChanger::computeOvertakingTime

regards,
Jakob

Am Fr., 11. Jan. 2019 um 10:25 Uhr schrieb Zheya <[email protected]>:

> Hi, Jacok,
>
> I'm reading the model description of opposite direction driving, and the
> assumed duration for overtaking the leading vehicle is taken into making
> the
> decision. I wonder how you estimate the assumed duration, like using the
> max
> speed of oncoming vehicles to calculate the time to overtake?
> Is it possible that I set the lanechangemode to take over making decisions?
>
> I've sent the scenario and traci files to you, not sure whether you have
> received them or not:)
>
> Thank you!!
>
> Zheya
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [email protected]
> 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
[email protected]
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