Skip to content

Commit 9ea44d5

Browse files
authored
chore(mpc_lateral_controller): fix typo (autowarefoundation#4481)
* chore(mpc_lateral_controller): fix typo Signed-off-by: kminoda <koji.minoda@tier4.jp> * avoid using discretizing Signed-off-by: kminoda <koji.minoda@tier4.jp> --------- Signed-off-by: kminoda <koji.minoda@tier4.jp>
1 parent 90ddc1d commit 9ea44d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

control/mpc_lateral_controller/model_predictive_control_algorithm.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Substituting equation (8) into equation (9) and tidying up the equation for $U$.
125125
$$
126126
\begin{align}
127127
J(U) &= (H(Fx_{0}+GU+SW)-Y_{ref})^{T}Q(H(Fx_{0}+GU+SW)-Y_{ref})+(U-U_{ref})^{T}R(U-U_{ref}) \\
128-
& =U^{T}(G^{T}H^{T}QHG+R)U+2\left\{(H(Fx_{0}+SW)-Yref)^{T}QHG-U_{ref}^{T}R\right\}U +(\rm{constant}) \tag{10}
128+
& =U^{T}(G^{T}H^{T}QHG+R)U+2\left\{(H(Fx_{0}+SW)-Y_{ref})^{T}QHG-U_{ref}^{T}R\right\}U +(\rm{constant}) \tag{10}
129129
\end{align}
130130
$$
131131

@@ -182,7 +182,7 @@ Where $\kappa_{r}\left(s\right)$ is the curvature along the trajectory parametri
182182

183183
There are three expressions in the update equations that are subject to linear approximation: the lateral deviation (or lateral coordinate) $y$, the heading angle (or the heading angle error) $\theta$, and the steering $\delta$. We can make a small angle assumption on the heading angle $\theta$.
184184

185-
In the path tracking problem, the curvature of the trajectory $\kappa_{r}$ is known in advance. At the lower speeds, the Ackermann formula approximates the reference steering angle $\theta_{r}$(this value corresponds to the $U_{ref}$ mentioned above). The Ackerman steering expression can be written as;
185+
In the path tracking problem, the curvature of the trajectory $\kappa_{r}$ is known in advance. At the lower speeds, the Ackermann formula approximates the reference steering angle $\theta_{r}$(this value corresponds to the $U_{ref}$ mentioned above). The Ackermann steering expression can be written as;
186186

187187
$$
188188
\begin{align}
@@ -344,7 +344,7 @@ $$
344344
\end{align}
345345
$$
346346

347-
Discretizing $\dot{u}$ as $\left(u_{k} - u_{k-1}\right)/\text{d}t$ and multiply both sides by dt the resulting constraint become linear and convex
347+
We discretize $\dot{u}$ as $\left(u_{k} - u_{k-1}\right)/\text{d}t$ and multiply both sides by dt, and the resulting constraint become linear and convex
348348

349349
$$
350350
\begin{align}

0 commit comments

Comments
 (0)