-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pedestrian, what is the algorithm to control pedestrain's path. #258
Comments
Hi @5guo, Pedestrian are using the built-in navigation system that comes with Unreal Engine. The trick is to add a Just mention that this system has some issues, as in #6 or #7. |
Thank you so much for your attention and answer. The pedestrians can find their way in the maps and avoid each other, all of these are provided by Unreal Engine's algorithm? So, where can I find the algorithm's detail? |
The navigation mesh is generated by adding a navmesh volume to the scene. Then the paths are calculated using an A* algorithm. You can find more details in Unreal Engine documentation or even their source code. |
All pedestrians can avoid collision from each other, was this function provided by UE4's AI Modules? Or It was implemented with Carla's algorithm? |
All the pedestrian movement is done by Unreal Engine's methods, including avoidance. The only thing we implement is a basic detection of vehicles, when a vehicle appears to be in the pedestrian route the pedestrian momentarily pauses its movement. We implement this to avoid #7 as much as possible. |
It would be nice to be able to implement an interface to manage the control of pedestrians - especially to generate corner cases. |
Controlling all the agents in the scene is a feature we have in our backlog, follow the progress at #184. |
Can you explain how to add a UCrowdFollowingComponent to get this working? I'm unable to get my spawned pedestrians to move using the navmeshs in Town01 |
Firstly, the code of carla-simulator/carla is so beautiful. I have a problem when I read it, where can I find the program about control pedestrain? When a pedestrain is generated with position and speed, then, how to calculate his next position?
The text was updated successfully, but these errors were encountered: