Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
6abe8ea
Add visualization integration and update simulation configurations
Sangeeths11 Dec 1, 2024
4950650
Update README to include simulation execution instructions
Sangeeths11 Dec 2, 2024
da644bf
Clarify execution instructions in README for running the simulation
Sangeeths11 Dec 2, 2024
fe601d1
Remove unused files and clean up the repository
Sangeeths11 Dec 4, 2024
d788a99
Add custom exception handling for simulation errors
Sangeeths11 Dec 4, 2024
8cbefdd
- added new core architecture
Aeolin Dec 5, 2024
5dfc95f
Implement heatmap generation with distance calculations and base clas…
Sangeeths11 Dec 5, 2024
1af4b95
- added interface for neighbourhoods
Aeolin Dec 5, 2024
14fdb33
- added utils package
Aeolin Dec 5, 2024
56b59e0
Add visualisation module for simulation rendering
Sangeeths11 Dec 5, 2024
0b1b683
Implement main simulation execution with heatmap generation and visua…
Sangeeths11 Dec 5, 2024
a046524
Add requirements file with dependencies for numpy, scipy, and pygame
Sangeeths11 Dec 5, 2024
f1809a7
Refactor simulation structure and implement distance calculation classes
Sangeeths11 Dec 5, 2024
bdc72a0
- tried implementing fast marching
Aeolin Dec 5, 2024
2e30449
- implemented more complicated obstacle setup as example
Aeolin Dec 5, 2024
63c82d2
- added comments to different implementations and helper classes desc…
Aeolin Dec 6, 2024
cfd1e59
- added scale to distancing algorithms
Aeolin Dec 6, 2024
1effa72
- fixed issue where pedestrians could deadlock by adding a retargetin…
Aeolin Dec 6, 2024
babb6e9
- social distancing center is now not infinite but repulsion at dista…
Aeolin Dec 6, 2024
da1957c
- changed social distancing force in large example sim
Aeolin Dec 6, 2024
d085426
implemented simulation_config to run
Sangeeths11 Dec 6, 2024
c99432c
- removed unnecessary parameter in SocialDistancingHeatmapGenerator, …
Aeolin Dec 6, 2024
af73a27
- added mechanism to compensate for time delta issues during free mov…
Aeolin Dec 6, 2024
0336fdb
consolidate simulation configuration handling into SimulationConfigLo…
Sangeeths11 Dec 6, 2024
1d11016
refactor obstacle configuration to support multiple obstacle types in…
Sangeeths11 Dec 6, 2024
39a50cb
add README for Personenstrom-Simulation and update simulation_config.…
Sangeeths11 Dec 6, 2024
0a97e40
- improved visualisation code
Aeolin Dec 9, 2024
8ac214a
- implemented Button
Aeolin Dec 10, 2024
0118618
refactor simulation configuration: remove legacy files and introduce …
Sangeeths11 Dec 10, 2024
d456c81
fix: update simulation configuration path and improve error handling …
Sangeeths11 Dec 10, 2024
0c7b7ec
add: configure VSCode settings for Python unit testing
Sangeeths11 Dec 10, 2024
f8a39bc
add: implement unit tests for Cell and CellState classes
Sangeeths11 Dec 10, 2024
e4110fe
- fixed issues in tests
Aeolin Dec 10, 2024
f72cc4d
add: implement unit tests for Pedestrian class
Sangeeths11 Dec 10, 2024
0bd51b4
add: implement unit tests for Position and SimulationGrid classes
Sangeeths11 Dec 10, 2024
7968d13
add: implement unit tests for Spawner class
Sangeeths11 Dec 10, 2024
e76b26a
add: update test discovery pattern and enhance README with unit test …
Sangeeths11 Dec 10, 2024
aead355
- added button to toggle pedestrian target
Aeolin Dec 10, 2024
cf29fee
- renamed Position.get_position to as_tuple
Aeolin Dec 10, 2024
cea436f
add: migrate CellState and Position tests to core_tests directory
Sangeeths11 Dec 10, 2024
b81c861
add: implement unit tests for DistanceBase, EuclideanDistance, and Ta…
Sangeeths11 Dec 10, 2024
fa2d4a7
remove: delete obsolete test_base_distance.py; adjust expected distan…
Sangeeths11 Dec 10, 2024
0f092b6
add: implement unit tests for Dijkstra, Fast Marching, and Social Dis…
Sangeeths11 Dec 10, 2024
1140454
add: implement unit tests for Moore and Neumann neighbourhood classes
Sangeeths11 Dec 10, 2024
e021809
update: modify Fast Marching heatmap generator tests for grid size an…
Sangeeths11 Dec 11, 2024
1dc235a
- implemented tests to check if the algorithms behind the navigation …
Aeolin Dec 11, 2024
bef2c5e
- fixed issues in fast marching
Aeolin Dec 11, 2024
730f7c9
- fixed issue in cell value calculation which happened due to pedestr…
Aeolin Dec 11, 2024
fd8a2db
- fixed bug in visualisation
Aeolin Dec 12, 2024
4a9995d
- implemented saving
Aeolin Dec 12, 2024
5b422df
- implemented basic waypoint system as cheaper alternative to heatmap…
Aeolin Dec 13, 2024
0904cac
- added id to waypoint
Aeolin Dec 14, 2024
6383e8f
- implemented basic waypoint system as cheaper alternative to heatmap…
Aeolin Dec 13, 2024
041b637
- added id to waypoint
Aeolin Dec 14, 2024
8711165
- changed steps to step in simulation serialization
Aeolin Dec 14, 2024
c097322
- rebasing
Aeolin Dec 14, 2024
802c05b
- added caching for waypoint finding heatmaps
Aeolin Dec 15, 2024
d3693ed
Merge pull request #4 from Sangeeths11/feature/saving
Sangeeths11 Dec 16, 2024
ba5d756
- implemented basic waypoint system as cheaper alternative to heatmap…
Aeolin Dec 13, 2024
ab63d91
- added id to waypoint
Aeolin Dec 14, 2024
5e6fa88
- changed steps to step in simulation serialization
Aeolin Dec 14, 2024
fad7cc8
- implemented basic waypoint system as cheaper alternative to heatmap…
Aeolin Dec 13, 2024
58a54a5
- added id to waypoint
Aeolin Dec 14, 2024
70c4a17
- added caching for waypoint finding heatmaps
Aeolin Dec 15, 2024
5c4976e
- rebasing waypoints onto develop
Aeolin Dec 16, 2024
1b9c5ad
- added config value for log_file
Aeolin Dec 16, 2024
b5abeca
Merge pull request #5 from Sangeeths11/feature/waypoints
Sangeeths11 Dec 16, 2024
a14c8b5
- added documentation
Aeolin Dec 16, 2024
9b9d279
- change image to img tag so its displayed on github
Aeolin Dec 16, 2024
9a450c2
- added table of contents to readme
Aeolin Dec 16, 2024
e167755
- changed tests to reflect changes in code
Aeolin Dec 17, 2024
af538c5
- added testing to readme
Aeolin Dec 17, 2024
b7f7cac
- updated readme toc
Aeolin Dec 17, 2024
d99a34d
- fixed typo in toc
Aeolin Dec 17, 2024
5d41aea
- fixed minor ugliness in code
Aeolin Dec 17, 2024
c9111cf
- removed old log file
Aeolin Dec 18, 2024
b899795
- include instructions for windows
Aeolin Dec 19, 2024
5258755
- implemented naive distance based pathfinding
Aeolin Dec 23, 2024
701d23c
create test szenarios for chicken test
AdiJoost Dec 23, 2024
9ef1118
Rimea 9 implemented
AdiJoost Dec 25, 2024
c5fa1e6
added simulations
AdiJoost Dec 25, 2024
c31f33a
add infinity heatmap
AdiJoost Dec 25, 2024
0e8e7d6
- added flow meters
Aeolin Dec 25, 2024
066c797
Merge remote-tracking branch 'origin/develop_new' into abnahmetests_s…
AdiJoost Dec 25, 2024
42d43c9
some version of rimea 4 implemented
AdiJoost Dec 25, 2024
9cebb27
logs are ignored by git
AdiJoost Dec 25, 2024
aa2524a
feature: teleporter lets pedestrian teleport instead of dying
AdiJoost Dec 25, 2024
5854841
feature: logging flow meter
AdiJoost Dec 25, 2024
e59f8bb
added ploting script
AdiJoost Dec 26, 2024
144d2f8
Merge pull request #9 from Sangeeths11/abnahmetests_simulation_configs
AdiJoost Dec 26, 2024
aa4ca98
- fixed issue where pedestrians ignored that diagonal cells are furth…
Aeolin Dec 30, 2024
f1bca6a
- remove dead code
Aeolin Dec 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .docs/module_class_overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .docs/module_class_overview.vsdx
Binary file not shown.
Binary file added .docs/~$$module_class_overview.~vsdx
Binary file not shown.
166 changes: 165 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,165 @@
data/*
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
.pdm.toml
.pdm-python
.pdm-build/

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

*_log.json
*.csv
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"python.testing.unittestArgs": [
"-v",
"-s",
"./tests",
"-p",
"test_*.py"
],
"python.testing.pytestEnabled": false,
"python.testing.unittestEnabled": true
}
Loading