How two passages are connected?
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!
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
Closing this issue as it appears to be resolved. Feel free to reopen if you have additional questions. Thanks!