apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Path Smoother basics

Open hect1995 opened this issue 6 years ago • 6 comments

I want to use the Path Smoother that you implement but I have some doubts:

  • In case I have in advance (obtained outside your platform) a path including both forward and backwards direction what would you say is the easiest way I can input it in your framework? What I mean is that I do not need the whole project but just some specific scripts to compute an optimized trajectory.

  • I do not understand what is the difference between distance_approach files and iterative_anchoring_smoother.cc

  • I haven’t seen where you include the direction of the vehicle into the optimization, because if you do optimization between a set of <x,y> points for a path that consisted on both forward and backward path you need it

hect1995 avatar Dec 05 '19 11:12 hect1995

On-lane planner does not support backward trajectory planning. Please refer to open space planner in planning module.

jinghaomiao avatar Dec 17 '19 00:12 jinghaomiao

Yes, my question was about the Open Space Planner

hect1995 avatar Dec 17 '19 09:12 hect1995

  1. You could refer to /apollo/modules/planning/tasks/optimizers/open_space_trajectory_generation/open_space_trajectory_generation.cc for more detail on how to define your own trajectory planner.

  2. Two different approaches on smoothing a jerky trajectory

  3. It is considered in Hybrid A* searching algorithm

Thanks

JasonZhou404 avatar Dec 18 '19 18:12 JasonZhou404

  1. But when you optimize you change the position of <x,y> so the kinematic relationship obtained from A* dissapears

hect1995 avatar Dec 19 '19 16:12 hect1995

No, it does not: https://github.com/ApolloAuto/apollo/blob/c18a5adfe3fa04009715b7ced5e1f6310091a8f0/modules/planning/open_space/trajectory_smoother/distance_approach_ipopt_relax_end_interface.cc#L771

Capri2014 avatar Dec 19 '19 17:12 Capri2014

Hi @hect1995, hope our answer resolved your question. We will close the issue for now. If you have any additional question, please feel free to open a new issue. Our engineer team are more than happy to help that.

Thank you for supporting Apollo!

sjiang2018 avatar Jul 01 '20 22:07 sjiang2018