-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anticipation Velocity Model (AVM) #1432
base: master
Are you sure you want to change the base?
Anticipation Velocity Model (AVM) #1432
Conversation
- This change is to make sure, I'm using my own version. - Will be reversed when I'm done
TODO: _JPS_Agent_GetCollisionFreeSpeedModelV3State can not be found when importing jupedsim
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should consider another name for this model. CFSMv3 implies a direct evolution on v2. I am not sure if this really is the case or if there is more novelty to it.
@xuqiancheng I think the model is ready for your review. Can you please check if the equations are implemented correctly according to the model? We can not yet use the model though, due to lack of the python-API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have checked the code, except for the function BoundaryRepulsion, other equations of the AVM are implemented correctly.
- Remove range_geometry and strength_geometry - Add new parameter wall_buffer_distance
- Change visualisation from grid to simple to fit the layout of documentation - remove dependency Remove requirement
@Ozaq I think most of the text in the first cell of the model-comparison-notebook, might be better placed in pedestrian_models/index.html. What do you think? I would do it directly in this PR. |
CMakeLists.txt
Outdated
@@ -2,7 +2,7 @@ | |||
# Project setup | |||
################################################################################ | |||
cmake_minimum_required(VERSION 3.22 FATAL_ERROR) | |||
project(JuPedSim VERSION 1.3.0 LANGUAGES CXX) | |||
project(JuPedSim VERSION 1.3.1 LANGUAGES CXX) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert the version bump, 1.3.0 is still unreleased
examples/example7_avm.py
Outdated
# geometry = shapely.GeometryCollection(shapely.box(0, -2.5, 50, 2.5)) | ||
# exit_polygon = shapely.box(48, -2.5, 50, 2.5) # |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove commented out code
In this PR, the model Anticipation in a velocity-based model for pedestrian dynamics
is implemented.
AntiTime
,ConstantAlpha