apollo icon indicating copy to clipboard operation
apollo copied to clipboard

How two passages are connected?

Open wckorealsh opened this issue 8 years ago • 2 comments

Hi Team Apollo,

I think the passage is a single reference line that a vehicle can travel without changing lane. It looks like routing is a sequence of such passages. The question is that how two different passages are connected to represent the routing curve? I think they must be overlapped then correct?

Thank you!

wckorealsh avatar Aug 06 '18 18:08 wckorealsh

After a destination is given, routing module produces a sequence of end to end zigzag linear segments. Obviously, such lines can't be used for path planning. So a smoothing algorithm on the routing segment is done online to get a differentiable curve, which is called reference line, for the Planning module to work on.

Don't quite understand what is your definition of passages. If you mean the smoothed reference line, then yes. As the current implementation on computing reference line is online, to save computation effort. only a definite horizon of reference line is computed each cycle, so there would be overlapped part. To deal with that, we use stitching to combine two together. Check reference_line_provider.h for more detail.

Thanks! Apollo

JasonZhou404 avatar Aug 13 '18 21:08 JasonZhou404

Closing this issue as it appears to be resolved. Feel free to reopen if you have additional questions. Thanks!

natashadsouza avatar Mar 21 '19 00:03 natashadsouza