Hey!
Recently I'm trying a pipeline-way to control a car in the simulator. So I have read part of the source codes of autopilot. But I still have some questions.
Thank you !!
Also, a question does not belong to autopilot, where can I find the relationship between start point index and its coordinate in the map? Should it be in a file?
Hey @yuanzhiyu
From my understanding, when Autopilot Mode is switched on
I hope this answers some or most of your questions.
@shriram17
Thanks a lot for answering my question! But still, the algorithm on autopilot is not easy to understand, I choose pure-pursuit algorithm to solve my problem finally.
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.
@shriram17
How can the probabilities for the splines be set in-game?
I know it can set in OpenDriveActor in the Map before launching the simulator, but in scenarios when one actor needs to turn right and the other left, it doesn't work out. So it is best to set it in-game - any pointers as to how this can be done would be greatly appreciated.
Thanks
Most helpful comment
Hey @yuanzhiyu
From my understanding, when Autopilot Mode is switched on
The routes are picked randomly using the RandomEngine based on the probabilities that have been set for the routes. (These probabilities can be changed in the editor or in-game.)
I hope this answers some or most of your questions.