Re: [sumo-user] Weird situation where wantsAndCouldChangeLane fails and cooperative action clarification

2022-04-24 Thread Jakob Erdmann
> Is it possible to know when the ego vehicle may choose to overtake a blocking leader, or is there a 50% chance it may do one of the two? The decision to do either is based on the speed difference and the assumed remaining time to complete the lane change. See https://github.com/eclipse/sumo/blob/

Re: [sumo-user] Weird situation where wantsAndCouldChangeLane fails and cooperative action clarification

2022-04-24 Thread Hriday Sanghvi via sumo-user
Hello Jakob, thank you again for the explanation. Is it possible to know when the ego vehicle may choose to overtake a blocking leader, or is there a 50% chance it may do one of the two? Also, I just realized I can use TraCI's openGap() function ( https://sumo.dlr.de/daily/pydoc/traci._vehicle.htm

Re: [sumo-user] Weird situation where wantsAndCouldChangeLane fails and cooperative action clarification

2022-04-21 Thread Jakob Erdmann
lcCooperative=1 (or rather lcCooperativeSpeed=1 which takes lcCooperative as it's default) is mainly responsible for slowing down to open gaps: - ego slows down if it is the follower - the blocker slows down if it is the follower Either slowing down is hindered if the vehicle to slow down has lcCoo

Re: [sumo-user] Weird situation where wantsAndCouldChangeLane fails and cooperative action clarification

2022-04-20 Thread Hriday Sanghvi via sumo-user
Hello Jakob, Thank you for your reply. Regarding 2., Is this the only "speed adjustment" that setting lcCooperative to 1 for a particular vehicle would do - it would change the speed of the blocking vehicle(s) such that the condition for the secure gap between leader and follower holds true? Or i

Re: [sumo-user] Weird situation where wantsAndCouldChangeLane fails and cooperative action clarification

2022-04-19 Thread Jakob Erdmann
1. a) wantsAndCouldChangeLane always returns false for direction=0 at the moment b) Yes. the lane change state is only stored for "legal" targets 2. for any vehicle that will have lateral overlap with ego (during or at the end of the maneuver) the distance between the follower and the leader must

Re: [sumo-user] Weird situation where wantsAndCouldChangeLane fails and cooperative action clarification

2022-04-18 Thread Hriday Sanghvi via sumo-user
Hello, if this question needs more information / screenshots - I could try and modify it if it's not clear. Thank you. Sincerely, Hriday On Wed, 13 Apr 2022 at 19:58, Hriday Sanghvi wrote: > Hello, > > Lane change mode: 1621 (default) > Lane change model: SL2015 > Max. duration given for a ve

[sumo-user] Weird situation where wantsAndCouldChangeLane fails and cooperative action clarification

2022-04-13 Thread Hriday Sanghvi via sumo-user
Hello, Lane change mode: 1621 (default) Lane change model: SL2015 Max. duration given for a vehicle to perform a lane change: 10 s (arbitrary) 1. I am trying to discourage lane changes enforced by TraCI that are not valid, i.e., A vehicle trying to move to the right or the left from the rightmos