Skip to content

Commit 4de7f7d

Browse files
natashadsouzaxiaoxq
authored andcommitted
Docs: planning update
1 parent c1255be commit 4de7f7d

File tree

5 files changed

+25
-15
lines changed

5 files changed

+25
-15
lines changed

RELEASE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ The car has complete 360-degree visibility, along with upgraded perception deep
66
## Major Features And Improvements
77
* Brand new Data Pipeline Service
88
* Sensor Calibration service
9-
* Brand new module - Story Telling
9+
* Brand new module - Storytelling
1010
* Scenario - Based Planning with a new planning scenarios to support curb-to-curb driving
11-
* Park and go
12-
* Emergency pull over
11+
* Park-and-go
12+
* Emergency
1313
* Prediction Model - Caution Obstacle
1414
* Semantic LSTM evaluator
1515
* Extrapolation predictor

modules/planning/README.md

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
## Introduction
44

55
The previous versions of Apollo, including Apollo 3.0 currently use the same configuration and parameters to plan different driving scenarios. This approach although linear and easy to implement, was not flexible or scenario specific. As Apollo matures and takes on different road conditions and driving use cases, we felt the need to move to a more modular, scenario specific and wholistic approach for planning its trajectory. In this approach, each driving use case is treated as a different driving scenario. This is useful because an issue now reported in a particular scenario can be fixed without affecting the working of other scenarios as opposed to the previous versions, wherein an issue fix affected other driving use cases as they were all treated as a single driving scenario.
6+
Apollo 5.5 focuses on curb-to-curb autonomous driving on urban roads and introduces 2 new planning scenarios.
67

78
## Driving Scenarios
89

9-
There are 3 main driving scenarios that we will focus on, namely:
10+
There are 5 main driving scenarios that we will focus on Lane Follow, Intersection, Pull-Over, and the newly introduced Park-and-go and Emergency. Let's dive into them individually:
1011

1112
### Lane Follow - Default
1213

@@ -99,23 +100,32 @@ The Apollo team is proud to introduce Open Space Planner, a new planning algorit
99100

100101
![](images/pull_over3.png)
101102

102-
## Planning Module Architecture
103103

104-
The architecture of the planning module had changed in Apollo 3.5, to reflect our modular approach towards different driving scenarios.
105-
As seen in the figure below, in the planner, are individual driving scenarios discussed above along with their handlers. With only a few changes in how the scenarios are divided, the overall architecture of the Planning module remains the same in Apollo 5.0.
106-
Each driving scenario has its set of driving parameters that are unique to that scenario making it safer, efficient, easier to customize and debug and more flexible. Each stage is also configurable as it is divided into tasks and each task can be moved or created by editing the `config` file of that scenario.
104+
### Park-and-go
105+
106+
Apollo 5.5 which focuses on curb-to-curb driving introduces the Park-and-go scenario which was designed to handle curb side parking, planning a new trajectory to the next destination and then driving along that trajectory. This scenario is extremely useful in situations like curb-side delivery or passenger pickup or drop-off. This scenario combines Open Space Planner along with other traditional trajectory planners to ensure that the car not only parks safely but is also able to exit per the new trajectory.
107+
108+
![](images/park_and_go.png)
109+
110+
111+
112+
## Emergency
113+
114+
The Emergency scenario is another newly introduced scenario in Apollo 5.5, developed to ensure that the vehicle can be brought to a stop safely in the situation of a given trigger event (either via human input or due to a failure in one or more of the vehicle's hardware or software modules). This scenario is extremely crucial to urban driving as one often encounters several unforeseen situations on the road that requires the vehicle to come to a complete stop. There are two types of emergency stops that are performed using this scenario:
115+
1. **Pull Over and Stop**: In this scenario, the autonomous car uses Open Space Planner to pull-over and then come to a full stop on the curb-side
116+
2. **In Lane Stop**: In this scenario, the autonomous car comes to a complete stop in its lane. In this situation the car is well aware of its surrounding obstacles to prevent any rear-end collisions and ensure not just the safety of itself but also the vehicles around it.
117+
118+
![](images/emergency.png)
119+
120+
## Planning Module Architecture
107121

108-
Some of the key features include:
122+
In Apollo 5.5, the Planning module architecture has been modified to incorporate new curb-to-curb driving scenarios on urban roads. As seen in the figure below, we have 2 new complex scenarios Emergency and Park-and-go. In order to plan these scenarios effectively, we have 2 new Deciders - Path Reuse Decider and Speed Bound Decider and have updated existing deciders making the planning architecture robust and flexible enough to handle many different types of urban road driving scenarios.
109123

110-
- **Apollo FSM**: A finite state machine that determines the vehicle state given its location and routing together with HD Map.
111-
- **Planning Dispatcher**: Call an appropriate planner given the vehicle's state and some other relevant information
112-
- **Planner**: Obtain the required context data and other information, decide a corresponding vehicle intention, execute the required planning tasks for this intention and generate the planning trajectory. It will also update the context for future jobs.
113-
- **Deciders & Optimizers**: A set of stateless libraries that implement decision tasks and various optimizations. Optimizers specifically optimize the vehicle's trajectory and speed. Deciders are rule-based decision makers that advise on when to change lane, when to stop, creep or when the creep is complete.
114-
- **Yellow box**: These boxes are included for future scenarios and/or developers to contribute their own scenarios based on real-world driving use cases
124+
Each driving scenario has its set of driving parameters that are unique to that scenario making it safer, efficient, easier to customize and debug and more flexible.
115125

116126
```
117127
Note:
118128
If you wish to include your own driving scenarios, please refer to existing scenarios as a reference. We currently do not have a template for writing your own planning scenario.
119129
```
120130

121-
![](images/architecture.png)
131+
![](images/architecture_5.5.png)
304 KB
Loading
434 KB
Loading
191 KB
Loading

0 commit comments

Comments
 (0)