eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.44k stars 1.38k forks source link

Pedestrian Head rotation control and Visual Detection Area #15033

Closed muhammadfaizan91 closed 1 month ago

muhammadfaizan91 commented 1 month ago

I am working on modeling pedestrian decision-making behavior at crosswalks in SUMO and I am facing two specific challenges. I need assistance with the following:

  1. Pedestrian Head Rotation Behavior: I aim to simulate pedestrian head rotation behavior at unsignalized midblock crosswalks, where pedestrians look left and right to observe approaching vehicles before making crossing decisions. Is it possible to control pedestrian head rotation at each time step in SUMO? If so, please provide guidance on how to achieve this.

  2. Field of View (FOV) and Detection Area: With the head rotation, the pedestrian's observation area changes based on their Field of View (FOV) and rotation angle. I want to depict the pedestrian's FOV as the detection area for approaching vehicles. Can this be controlled in SUMO? If yes, how can I implement it?

Thank you.

m-kro commented 1 month ago

This is beyond the scope of SUMO being a traffic simulation. You can control SUMO with TraCI and compute your field of view by filtering subscription results, though.