Skip to content

Commit 171053a

Browse files
natashadsouzaCapri2014
authored andcommitted
Docs: Dynamic model + data pipeline
1 parent 4f9fa21 commit 171053a

File tree

5 files changed

+37
-0
lines changed

5 files changed

+37
-0
lines changed

docs/specs/dynamic_model.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Dynamic Model - Control-in-loop Simulation
2+
3+
## Introduction
4+
5+
Simulation is a vital part of autonomous driving especially in Apollo where most of the testing happens via our simulation platform. In order to have a more accurate approach to our testing environment, Apollo 5.0 introduces Dynamic model which is Control-in-loop Simulation. It is possible to guage the how the ego car would perform while driving in autonomous mode using the Control-in-loop.
6+
7+
The architecture diagram for how Dynamic model works is included below:
8+
9+
![](Images/architecture.png)
10+
11+
The Control module recieves input via planning and the vehicle and uses it effectively to generate the output path which is then fed into the Dynamic model.
12+
13+
## Examples
14+
15+
The simulation platform (Dreamview) can be used to test various control parameters, three parameters are shown below:
16+
17+
```
18+
Note:
19+
The green lines in the graph below are the actual planning trajectories for those scenarios, and they blue lines are the computed results from Dynamic Model combined with output from the control module.
20+
```
21+
22+
1. **Longitudinal Control**
23+
A pedestrian walk across the road and the ego car needs to stop by applying the brake
24+
25+
![](images/Longitudinal.png)
26+
27+
2. **Lateral Control**
28+
The ego car has to make a wide-angle U-turn in this scenario. As seen in the image below, the steering turn is at 64%. You can also monitor the performance of the dynamic model on the right against the actual planned trajectory.
29+
30+
3. **Backward Behavior**
31+
The ego car has to park itself in a designated spot. This scenario is complex as it requires a mixture of forward and backward (reverse) driving and requires a high level of accuracy from the control module. As you can see in the image below, the steering turn required is at `-92%`. Additional details on this example can be seen in the planning module's Park scenario.
32+
33+
![](images/Backward.png)
34+
35+
## References
36+
37+
A paper has been written by our engineers on the Dynamic Model which will provide an in-depth explanation of the concepts mentioned above. This paper has already been approved and will be published in ArXiv soon. Please stay tuned!

docs/specs/images/Backward.png

856 KB
Loading

docs/specs/images/Lateral.png

2.5 MB
Loading

docs/specs/images/Longitudinal.png

1.72 MB
Loading

docs/specs/images/architecture.png

675 KB
Loading

0 commit comments

Comments
 (0)