Skip to content

Fix crossing frames wrongly counts movement endling on line#376

Merged
schroedtert merged 4 commits intoPedestrianDynamics:mainfrom
schroedtert:fix-crossing-frames-wrong-counts
Sep 27, 2024
Merged

Fix crossing frames wrongly counts movement endling on line#376
schroedtert merged 4 commits intoPedestrianDynamics:mainfrom
schroedtert:fix-crossing-frames-wrong-counts

Conversation

@schroedtert
Copy link
Copy Markdown
Collaborator

Closes #375

@schroedtert schroedtert force-pushed the fix-crossing-frames-wrong-counts branch from 114ea5f to d1db85b Compare September 24, 2024 09:58
@schroedtert schroedtert force-pushed the fix-crossing-frames-wrong-counts branch from d1db85b to cacb083 Compare September 24, 2024 10:02
@schroedtert schroedtert marked this pull request as ready for review September 24, 2024 10:13
@schroedtert schroedtert requested a review from chraibi September 24, 2024 10:13
@schroedtert schroedtert force-pushed the fix-crossing-frames-wrong-counts branch from cacb083 to fa2fa64 Compare September 24, 2024 15:00
These adaptions are needed, as the passing speed and density
computations are working differently, they count the crossing frames
already when a pedestrian is touching the line. These function call the
internal helper function, and compute_crossing_frames calls the helper
function with a specific setting.
@schroedtert schroedtert force-pushed the fix-crossing-frames-wrong-counts branch from fa2fa64 to b09b94b Compare September 24, 2024 15:01
chraibi
chraibi previously approved these changes Sep 26, 2024
Copy link
Copy Markdown
Collaborator

@chraibi chraibi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My comments are minor, such that you can go ahead an merge this PR after considering changes.

Comment thread pedpy/methods/method_utils.py Outdated
Comment thread pedpy/methods/method_utils.py
Comment thread pedpy/methods/method_utils.py
Comment thread pedpy/methods/method_utils.py
Comment thread tests/reference_tests/reference_test.py
@schroedtert schroedtert force-pushed the fix-crossing-frames-wrong-counts branch from f746e42 to 341f3cd Compare September 27, 2024 10:45
@schroedtert schroedtert merged commit 9c526d8 into PedestrianDynamics:main Sep 27, 2024
@schroedtert schroedtert deleted the fix-crossing-frames-wrong-counts branch September 27, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compute_crossing_frames may count multiple crossings when movement ends on line

2 participants