Pygame-based sandbox for crowd-aware robot navigation experiments.
python3 -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -r requirements.txtRun the simulation:
crowd-simYou can also run it directly:
python -m crowd_navigation.mainControls:
WASDor arrow keys to move the robot- Close the window to exit
Install all extras (analysis + RL + crowd + dev):
pip install -r requirements-dev.txtOr install only what you need:
pip install -e ".[analysis]"
pip install -e ".[rl]"
pip install -e ".[crowd]"
pip install -e ".[dev]"What each extra is for:
analysis: metrics and plots (time-to-goal, collisions, personal-space intrusions)rl: reinforcement learning baselines in partially observable settingscrowd: optional velocity-obstacle style crowd-flow tooling (pyRVO)dev: testing and linting
src/crowd_navigation/main.py # Pygame simulation entrypoint
tests/test_smoke.py # Basic test scaffold
pyproject.toml # Package + dependencies