大家好,我已经把优快云上的博客迁移到了知乎上,欢迎大家在知乎关注我的专栏慢慢悠悠小马车(https://zhuanlan.zhihu.com/duangduangduang)。希望大家可以多多交流,互相学习。
Apollo中提到了几种轨迹规划方法,这里简要介绍Lattice,主要思路可以参考这一篇博文,我为了自己方便理解代码,于是把代码的步骤和注释整理了。文件路径:apollo\modules\planning\planner\lattice\lattice_planner.cc。
- obtain a reference line and transform it to the PathPoint format.
-
compute the matched point of the init planning point on the reference line.
-
acco