Skip to content

Commit 46cd733

Browse files
committed
Updated link to personal website. Added cell hiding for implementation of vanilla iLQR
1 parent 879b34c commit 46cd733

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

python/gtsam/examples/iLQRExample.ipynb

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"This notebook solves a nonlinear optimal control problem using a factor-graph formulation in GTSAM. The objective is to minimize a quadratic cost over a nonlinear dynamical system using a structure similar to iterative Linear Quadratic Regulation (iLQR). The results are compared against results from classical implementation of iLQR recursions.\n",
2323
"\n",
2424
"\n",
25-
"Author(s): Zhouyu Zhang\n",
25+
"Author(s): [Zhouyu Zhang](https://zhangzdd.github.io/zzy_webpage/)\n",
2626
"\n",
2727
"<a href=\"https://colab.research.google.com/github/borglab/gtsam/blob/develop/python/gtsam/examples/iLQRExample.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>\n"
2828
],
@@ -59,15 +59,15 @@
5959
"base_uri": "https://localhost:8080/"
6060
},
6161
"id": "Oh-8N25oy4Ac",
62-
"outputId": "7dde45fb-f84f-4755-f1f9-46f4f2efefe9"
62+
"outputId": "26cb87ae-a1d2-4bb2-e4bb-8e4e0f455290"
6363
},
6464
"execution_count": 1,
6565
"outputs": [
6666
{
6767
"output_type": "stream",
6868
"name": "stdout",
6969
"text": [
70-
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m27.2/27.2 MB\u001b[0m \u001b[31m41.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
70+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m27.2/27.2 MB\u001b[0m \u001b[31m18.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
7171
"\u001b[?25h"
7272
]
7373
}
@@ -202,6 +202,7 @@
202202
{
203203
"cell_type": "code",
204204
"source": [
205+
"#@title Classical iLQR Implmenetation (you can skip this if you want)\n",
205206
"import numpy as np\n",
206207
"\n",
207208
"def f(x, u, dt=0.1):\n",
@@ -294,7 +295,8 @@
294295
" return x_new, u_traj"
295296
],
296297
"metadata": {
297-
"id": "qcjW2zkORq2u"
298+
"id": "qcjW2zkORq2u",
299+
"cellView": "form"
298300
},
299301
"execution_count": 2,
300302
"outputs": []
@@ -685,7 +687,7 @@
685687
"height": 1000
686688
},
687689
"id": "jBhrjey3_J8u",
688-
"outputId": "cd3a137e-960e-417e-d280-4864d4712b75"
690+
"outputId": "944bde7e-9f68-4f6f-f030-4912faa6b9aa"
689691
},
690692
"execution_count": 3,
691693
"outputs": [
@@ -752,7 +754,7 @@
752754
"base_uri": "https://localhost:8080/"
753755
},
754756
"id": "udBTRzV_StUf",
755-
"outputId": "4d29bad2-7d22-4c98-cd4d-5c0bf2c961ba"
757+
"outputId": "277a2806-4e35-4fa1-d7bf-7a4af1bd5a9a"
756758
},
757759
"execution_count": 4,
758760
"outputs": [

0 commit comments

Comments
 (0)