Skip to content

Commit dc4d71b

Browse files
committed
update notebook
1 parent ca7b888 commit dc4d71b

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

PathTracking/model_predictive_speed_and_steer_control/notebook.ipynb

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,51 @@
4343
"ODE is\n",
4444
"\n",
4545
"$$ \\dot{z} =\\frac{\\partial }{\\partial z} z = A'z+B'u$$\n",
46-
"\n",
46+
"\n"
47+
]
48+
},
49+
{
50+
"cell_type": "markdown",
51+
"metadata": {},
52+
"source": [
4753
"where\n",
4854
"\n",
4955
"\\begin{equation*}\n",
50-
"A' = \n",
56+
"A' =\n",
57+
"\\begin{bmatrix}\n",
58+
"\\frac{\\partial }{\\partial x}vcos(\\phi) & \n",
59+
"\\frac{\\partial }{\\partial y}vcos(\\phi) & \n",
60+
"\\frac{\\partial }{\\partial v}vcos(\\phi) &\n",
61+
"\\frac{\\partial }{\\partial \\phi}vcos(\\phi)\\\\\n",
62+
"\\frac{\\partial }{\\partial x}vsin(\\phi) & \n",
63+
"\\frac{\\partial }{\\partial y}vsin(\\phi) & \n",
64+
"\\frac{\\partial }{\\partial v}vsin(\\phi) &\n",
65+
"\\frac{\\partial }{\\partial \\phi}vsin(\\phi)\\\\\n",
66+
"\\frac{\\partial }{\\partial x}a& \n",
67+
"\\frac{\\partial }{\\partial y}a& \n",
68+
"\\frac{\\partial }{\\partial v}a&\n",
69+
"\\frac{\\partial }{\\partial \\phi}a\\\\\n",
70+
"\\frac{\\partial }{\\partial x}\\frac{vtan(\\delta)}{L}& \n",
71+
"\\frac{\\partial }{\\partial y}\\frac{vtan(\\delta)}{L}& \n",
72+
"\\frac{\\partial }{\\partial v}\\frac{vtan(\\delta)}{L}&\n",
73+
"\\frac{\\partial }{\\partial \\phi}\\frac{vtan(\\delta)}{L}\\\\\n",
74+
"\\end{bmatrix}\n",
75+
"\\\\\n",
76+
" =\n",
5177
"\\begin{bmatrix}\n",
5278
"0 & 0 & cos(\\bar{\\phi}) & -\\bar{v}sin(\\bar{\\phi})\\\\\n",
5379
"0 & 1 & sin(\\bar{\\phi}) & \\bar{v}cos(\\bar{\\phi}) \\\\\n",
5480
"0 & 0 & 0 & 0 \\\\\n",
5581
"0 & 0 &\\frac{tan(\\bar{\\delta})}{L} & 0 \\\\\n",
5682
"\\end{bmatrix}\n",
5783
"\\end{equation*}\n",
58-
"\n",
84+
"\n"
85+
]
86+
},
87+
{
88+
"cell_type": "markdown",
89+
"metadata": {},
90+
"source": [
5991
"\\begin{equation*}\n",
6092
"B' =\n",
6193
"\\begin{bmatrix}\n",

0 commit comments

Comments
 (0)