Skip to content

Commit 709bb77

Browse files
author
Murilo Marinho
committed
[L4a] It was a two-DoF robot, not three-DoF.
1 parent 5421701 commit 709bb77

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

basic_lessons/lesson4_exercise_answers.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@
185185
"\n",
186186
"Then, take the derivative to find the Jacobian.\n",
187187
"\n",
188-
"$$\\mymatrix{J} = \\left[\\begin{array}{ccc}\n",
189-
" 1 & 0 & 0 \\\\\n",
190-
" 0 & 1 & 0\\\\\n",
191-
" 0 & 0 & 0\n",
188+
"$$\\mymatrix{J} = \\left[\\begin{array}{cc}\n",
189+
" 1 & 0\\\\\n",
190+
" 0 & 1\\\\\n",
191+
" 0 & 0\n",
192192
" \\end{array}\\right].$$"
193193
]
194194
},
@@ -204,9 +204,9 @@
204204
"# Jacobian is trivial so we don't need to compute each term separately.\n",
205205
"# As you can see, in this example, it the Jacobian always has the same value.\n",
206206
"J = np.array(\n",
207-
" [[1, 0, 0],\n",
208-
" [0, 1, 0],\n",
209-
" [0, 0, 0]]\n",
207+
" [[1, 0],\n",
208+
" [0, 1],\n",
209+
" [0, 0]]\n",
210210
")\n",
211211
"print(f\"The analytical Jacobian is always\\n J={J}\")\n"
212212
],

0 commit comments

Comments
 (0)