yuxiang-gao / PySocialForce

Extended Social Force Model in Python for social navigation research
MIT License
128 stars 36 forks source link

agent_radius has not been considered in social force #8

Open vmahzoon76 opened 1 year ago

vmahzoon76 commented 1 year ago

Hi,

Thanks for your excellent repository.

I have a question about the agent radius. I am not seeing that you are using agent radius in your SocialForce class. How do you consider avoiding a collision when you do not use agent radius? As I am changing the radius, agents still collide with each other lots of times because the radius has not been considered (I know that SFM does not guarantee to avoid collision, but their behavior shows that they do not know the radius). You only take the agent radius into account for avoiding obstacles in ObstacleForce class.

Thanks in advance for your help.