rodrigoqueiroz / geoscenarioserver

9 stars 1 forks source link

Adjust pedestrian crossing speed as necessary #91

Closed scott-larter closed 2 years ago

scott-larter commented 2 years ago

The purpose of this PR is to allow pedestrians with a medium aggressiveness level to increase their walking speed while crossing crosswalks to allow them to cross before the red light. This speed increase must be below a maximum speed increase, otherwise, they will not cross.

Summary of changes:

To test, run python3.8 GSServer.py -s scenarios/pedestrian_scenarios/gs_intersection_xwalk_signal.osm and observe pedestrian_2. They must increase their walking speed in order to cross their first crosswalk.