Skip to content

Commit 6c9ec08

Browse files
authored
Create readme
1 parent 9359673 commit 6c9ec08

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Vehicle_Controller_Design_Project
2+
In this project, I designed a LQR controller to control a car following a given trajectory.
3+
The goal of this project is to make the car finish the path as quickly as possible while still maintaining good accuracy.
4+
5+
The tasks for this project include:
6+
1. Model the car using a bicycle model
7+
2. linearize the model and decouple them into lateral and longitudinal models
8+
3. Design a controller for both lateral and longitudinal models and tune the parameters to get the optimal peformance
9+
10+
The detailed modeling of the car can be found in the reference. The liearization process can be found in the "Calculation and result" folder
11+
12+
For this project, I designed 2 controllers. One is slow but accurate, the other is fast but barely satisfy the accuracy requirement.
13+
These two controllers can be found in controller_slow.py and controller_fast.py
14+
15+
Here are some simulation results:
16+
17+
### Fast Controller ###
18+
* Total time: 74.55 s
19+
* Maximun distance from reference: 5.7268493347214475 m
20+
* Average distance from referencet: 1.3019881974778402 m
21+
![alt text](https://github.com/yymmaa0000/Vehicle_Controller_Design_Project/blob/master/Calculation%20and%20result/fast_controller_result_1.PNG)
22+
![alt text](https://github.com/yymmaa0000/Vehicle_Controller_Design_Project/blob/master/Calculation%20and%20result/fast_controller_result_2.PNG)
23+
24+
### Slow Controller ###
25+
* Total time: 157.45000000000002 s
26+
* Maximun distance from reference: 5.6915563863996335 m
27+
* Average distance from referencet: 0.7979645575292 m
28+
![alt text](https://github.com/yymmaa0000/Vehicle_Controller_Design_Project/blob/master/Calculation%20and%20result/slow_controller_result_1.PNG)
29+
![alt text](https://github.com/yymmaa0000/Vehicle_Controller_Design_Project/blob/master/Calculation%20and%20result/slow_controller_result_2.PNG)
30+
31+
32+
Reference
33+
1. Rajamani Rajesh. Vehicle dynamics and control. Springer Science & Business Media,2011.
34+
2. Kong Jason, et al. "Kinematic and dynamic vehicle models for autonomous driving
35+
control design." Intelligent Vehicles Symposium, 2015.

0 commit comments

Comments
 (0)