Apollo automatic driving advanced learning: how to realize the autonomous parking function - choose the parking point independently

Summary: The Planning module plans a trajectory (including coordinates, speed, acceleration, jerk jerk, time, etc. information), and then pass this information to the control module.

First of all, you need to understand that the Planning module is based on the levels of Scenario, Stage, and Task, namely: Scenario -> Step -> Specific decision-making method. Apollo can cope with different road scenarios faced by autonomous driving, all of which are registered and managed through Scenario. Scenario uses a finite state machine to judge and select the current driving scene. There are multiple Stages under each Scenario, which refer to the rough steps that need to be executed in the current scene. For example, parking is divided into two Stages: braking before parking, parking, Parking begins after the vehicle stops. Task will list the specific methods of the Stage.

1. Related parameters

1.1 Judgment parameters for reaching the end point

insert image description here

This section defines the relevant parameters of whether to reach the end point, heading buffer, horizontal and vertical buffer, etc.

1.2 Related parameters of the generated trajectory

insert image description here

2. How to realize autonomous parking

2.1 Finding to enter the self-parking mode<

Guess you like

Origin blog.csdn.net/qq_41593516/article/details/125802657