Commit Graph

12 Commits

Author SHA1 Message Date
smail alijagic 2fe93b5c94 added back formula 2026-04-27 10:48:43 +02:00
lbaumberger 7f9946f6a0 minor fix regarding y coordinate of y 2026-04-26 23:24:18 +02:00
lbaumberger 820ecbfcdd Framework for simulations 2026-04-26 23:15:07 +02:00
lbaumberger b2b5f9f863 minor fixes 2026-04-26 20:01:14 +02:00
lbaumberger 0571e2b371 changed int to long long to avoid potential overflow 2026-04-26 17:39:04 +02:00
lbaumberger c29c3c3156 store preffered velocity w_alpha separately from the actual v_alpha
now we track w_alpha across steps to preserve speed over time memory (equation 10 and 11)

In the pedestrian 2.pass (integrate) we now integrate dw/dt = F instead of dv/dt = F

Co-authored-by: Copilot <copilot@github.com>
2026-04-26 17:25:37 +02:00
lbaumberger 49e96e85a1 created two passes
Pass1: compute all forces
Pass2: integrate the forces and do the updates

If we dont separate it, we will have some inter pedestrian forces calculated on a mix of new and updated   values
2026-04-25 20:57:50 +02:00
Nguyen Quy Anh 3d217e7840 Added measurements 2026-04-24 16:31:42 +02:00
AKallala aa1daf9149 Update board.hpp, forces.hpp, forces.cpp, main.cpp, pedestrian.hpp: correct some bugs in implementation 2026-04-23 20:14:24 +02:00
Nguyen Quy Anh d347534ff2 Baseline 2026-03-27 17:24:12 +01:00
Nguyen Quy Anh 5d43ef05bc Update file main.cpp 2026-03-13 15:39:52 +01:00
Nguyen Quy Anh 145f25b87c Update file main.cpp 2026-03-13 15:37:33 +01:00