docs/08_Planning/planning_component.md
This article describes the architecture of planning module. It mainly consists of the following parts:
Please refer to code.
Please refer to Cyber.
planning_writer_->Write(adc_trajectory_pb), in which the writer send the final adc_trajectory_pb message to the cyber system. The writer is initialized in PlanningComponent::Init(), just after the readers are initialized.Now we know how messages are input to and output from the planning component. The work of planning module is basically processing the input messages and producing an appropriate trajectory for the ADC. The final goal of this is to ensure safety, comfort and passability. And different algorithms are explored in Apollo in order to achieve or get closer to this goal.