Skip to content

Commit 3370e0d

Browse files
authored
Merge pull request #3 from Meng-xuanny/master
Update 02-direct-kinematics.ipynb
2 parents f2eadee + c78c8ca commit 3370e0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

3-robot-manipulation/1-kinematics/02-direct-kinematics.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
"outputs": [],
222222
"source": [
223223
"# Test of the function dk(t1, t2)\n",
224-
"pose = dk(0, 0)\n",
224+
"pose = dk(40, 10)\n",
225225
"\n",
226226
"# print the end effector pose\n",
227227
"print(pose)\n",
@@ -290,7 +290,7 @@
290290
"print(robot_2dof)\n",
291291
"\n",
292292
"# this will plot the robot model graphically\n",
293-
"q = [40.0, 10.0]\n",
293+
"q = [math.radians(40), math.radians(10)]\n",
294294
"robot_2dof.plot(q, limits=[-2.0, 2.0, -2.0, 2.0, 0.0, 0.5])"
295295
]
296296
},

0 commit comments

Comments
 (0)