Closed ndeshp2s closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I see the same error: world.set_pedestrians_cross_factor(0.0)
still allows pedestrians crossing the road
Hello all,
I have been exploring this new functionality of CARLA 0.9.7, however, I am still not sure how the "world.set_pedestrians_cross_factor()" works. In some towns, increasing this number results in more pedestrians crossing the crosswalks and also there are some pedestrians doing jaw-walking.
However, in some towns I see pedestrians crossing only over crosswalks and no jaw-walking.
Is it because of the nav file (used by recast and detour) and how regions are defined as navigable in these files?
Then does this mean, the "world.set_pedestrians_cross_factor()" will influence pedestrian crossing randomly (as mentioned in documentation). It could be over crosswalks/roads depending on the nav file for that particular town?
Also, making this factor 0.0 still causes pedestrians to cross. I am wondering why.