Skip to content

Commit df1af9e

Browse files
author
Emile Kroeger
committed
Fix example notebooks with Robot/NAORobotWidget disctinction.
1 parent f22acde commit df1af9e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

content/introduction.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
},
4040
"outputs": [],
4141
"source": [
42-
"nao = ipynao.NaoRobotWidget()\n",
43-
"nao"
42+
"nao = ipynao.Robot()\n",
43+
"nao.widget"
4444
]
4545
},
4646
{

examples/introduction.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
},
3131
"outputs": [],
3232
"source": [
33-
"w = ipynao.NaoRobotWidget()\n",
34-
"w"
33+
"nao = ipynao.Robot()\n",
34+
"nao.widget"
3535
]
3636
},
3737
{
@@ -49,7 +49,7 @@
4949
},
5050
"outputs": [],
5151
"source": [
52-
"w.connect(\"192.168.1.115\", port=\"80\")"
52+
"nao.connect(\"192.168.1.115\", port=\"80\")"
5353
]
5454
},
5555
{

0 commit comments

Comments
 (0)