Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Option 'ignore-junction-blocker' seems to have no effect

Hi Jakob

A follow-up question

To add more context to the problem, I'm doing Reinforcement Learning experiments.
And while setting contPos=10 fixes the problem for the provided simulation and it does reduce the occurrences of deadlocks overall, they still happen, as one would expect since the machine takes control of signalization.

That's why the 'ignore-junction-blocker' feature was so desired


Is there any way of working around the bug for now? That is, detecting manually the deadlock and setting the position of cars after some time


I know that I can manually move (teleport) cars to the next lane with 'moveTo', but how can I detect blocking cars in the intersection?

I tried using 'getNeighbors' on cars in the internal lanes of the intersection, but the documentation mentions that it serves lane-changing purposes only.

Are there any alternatives to avoid 'geometrically checking' the intersection?


Thank you for your time


Sincerely,

Marcelo d'Almeida


On Sun, Oct 4, 2020 at 6:14 PM Marcelo Andrade Rodrigues D Almeida <md@xxxxxxxxx> wrote:
Thank you for dedicating time to my issue and for the detailed explanation

Sincerely,

Marcelo d'Almeida

On Sun, Oct 4, 2020 at 5:09 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Well,
to be honest, that option has not received much thought after being implemented 7 years ago.
Sometime later the option for detecting junction collisions was introduced and vehicles were prevented from driving through each other even when ignore-junction-blocker was set.
I guess this broke the originally intended semantic of "finding a way around junction blockage".
New code is needed to ignore junction collisions when ignoring junction blockers: https://github.com/eclipse/sumo/issues/7650

Your scenario is seeing collisions due to faulty waiting positions (https://github.com/eclipse/sumo/issues/4397). I recommend moving the waiting positions backward manually by editing connection attribute 'contPos' in netedit as explained at
These collisions cause vehicles to stop and this is creating your junction deadlock.
Setting contPos=10 for the left-turns fixes the problem.

In 1.6.0 acceleration while on an intersection was slightly different. There were also collisions but in different locations which did not trigger the deadlock. Both mentioned issues 4397 and 7650 were already present in 1.6.0.

regards,
Jakob

Am So., 4. Okt. 2020 um 20:08 Uhr schrieb Marcelo Andrade Rodrigues D Almeida <md@xxxxxxxxx>:
Hi everyone

I'm trying to use <ignore-junction-blocker value="10"/> in my simulation so I can resolve deadlocks without teletransportation

Currently (version 1.7.0), enabling the option above seems to have no effect (see attachment)

Am I doing something wrong?

Thank you in advance


Sincerely,

Marcelo d'Almeida

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top