PedestrianDynamics / jupedsim

JuPedSim is an open source pedestrian dynamics simulator
http://jupedsim.org
Other
38 stars 26 forks source link

Pedestrian get stucked before entering channel #1044

Closed bcoueraud87 closed 1 year ago

bcoueraud87 commented 1 year ago

JuPedSim - JPScore

Description of the bug In the case of a simple geometry with a channel inserted in between two bigger rooms, the pedestrian gets stucked into one corner before entering the channel.

Expected behavior The channel has a width of 3m, so the pedestrian should be able to enter and walks his/her way out of the channel.

Screenshots bug1

Additional context Here is the geometry and the trajectory which can be visualized with this script.

chraibi commented 1 year ago

To which points does the goal of the agent point to?

bcoueraud87 commented 1 year ago

The agent should finish its journey at the end of the room right after the channel. Concretly, in the coordinate system that we use, it is the point (299.9, 0).

Ozaq commented 1 year ago

After looking into this I can see that the navigation graph is not constructed correctly.

In the picture below you see the portal edges (edges between the to-be-traversed triangles). The image contains the following errors:

portal_edges

Im inclined to first make all these internals accessible from python to ease future debugging although I do not want this to become part of the public api.

Ozaq commented 1 year ago

@bcoueraud87 this should be fixed on SUMO-Integration, can you please verify.

bcoueraud87 commented 1 year ago

@Ozaq I confirm that the problem has been solved, thank you. I propose to close this ticket.