Skip to content

Commit 621f437

Browse files
committed
2dof ex null theta offsets
1 parent 72b0493 commit 621f437

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

3-kinematics/02-direct-kinematics.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,23 +173,23 @@
173173
" d = 0,\n",
174174
" alpha = 0,\n",
175175
" a = 1, # note that the dimensions are in m instead of mm\n",
176-
" offset = math.radians(40)\n",
176+
" # offset = math.radians(0)\n",
177177
" ),\n",
178178
" rtb.RevoluteDH(\n",
179179
" d = 0,\n",
180180
" alpha = 0,\n",
181181
" a = 1,\n",
182-
" offset = math.radians(10)\n",
182+
" # offset = math.radians(0)\n",
183183
" )\n",
184184
" ],\n",
185-
" name = \"2dof_example\"\n",
185+
" name = \"Two-Link Manipulator\"\n",
186186
")\n",
187187
"\n",
188188
"# this will print the robot model details\n",
189189
"print(robot_2dof)\n",
190190
"\n",
191191
"# this will plot the robot model graphically\n",
192-
"q = [0.0, 0.0]\n",
192+
"q = [40.0, 10.0]\n",
193193
"robot_2dof.plot(q, limits=[-2.0, 2.0, -2.0, 2.0, 0.0, 0.5])"
194194
]
195195
},

0 commit comments

Comments
 (0)