|
Algorithm 1. Improved CILQR Algorithm |
-
1:
Output: Trajectory vector and control sequence
-
2:
//enable hybrid A* method; using the PI controller, get the speed profile
-
3:
InitRefPath: , tolerance
-
4:
// calculate the matrix in advance based on the initial trajectory to prevent oscillations
-
5:
Warmstart: ←
-
6:
While | | < tolerance || stepcounter > threshold || feedforward gain ≈ 0
-
7:
do
-
8:
← // convert inequality constraints into cost functions
-
9:
←
-
10:
← BACKWARDPASS()
-
11:
AdaptiveWeight: // adaptive weight tuning function
-
12:
← FORWARDPASS()
-
13:
-
14:
return
|