Skip to content

Commit b57d6c9

Browse files
authored
Merge pull request #19 from jupyter-robotics/dev
Dev (there was a failure on jupyterlite as it has this version as a dependency, I'm not sure how that's supposed to work)
2 parents 6d9503c + 0b7a43a commit b57d6c9

File tree

7 files changed

+31
-32
lines changed

7 files changed

+31
-32
lines changed

content/introduction.ipynb

+23-24
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"metadata": {},
1515
"outputs": [],
1616
"source": [
17-
"%pip install ipynao==0.5.0"
17+
"%pip install ipynao==0.6.1"
1818
]
1919
},
2020
{
@@ -40,8 +40,8 @@
4040
},
4141
"outputs": [],
4242
"source": [
43-
"w = ipynao.NaoRobotWidget()\n",
44-
"w"
43+
"nao = ipynao.NaoRobotWidget()\n",
44+
"nao"
4545
]
4646
},
4747
{
@@ -60,7 +60,7 @@
6060
},
6161
"outputs": [],
6262
"source": [
63-
"w.connect(\"192.168.1.115\", port=\"80\")"
63+
"nao.connect(\"192.168.1.115\", port=\"80\")"
6464
]
6565
},
6666
{
@@ -79,7 +79,7 @@
7979
},
8080
"outputs": [],
8181
"source": [
82-
"w"
82+
"nao"
8383
]
8484
},
8585
{
@@ -90,7 +90,7 @@
9090
},
9191
"outputs": [],
9292
"source": [
93-
"tts = w.service(\"ALTextToSpeech\")"
93+
"tts = nao.ALTextToSpeech"
9494
]
9595
},
9696
{
@@ -112,7 +112,7 @@
112112
},
113113
"outputs": [],
114114
"source": [
115-
"eyes = w.service(\"ALLeds\")"
115+
"leds = nao.service(\"ALLeds\")"
116116
]
117117
},
118118
{
@@ -123,16 +123,15 @@
123123
},
124124
"outputs": [],
125125
"source": [
126-
"eyes.rasta(3)"
126+
"leds.rasta(3)"
127127
]
128128
},
129129
{
130130
"attachments": {},
131131
"cell_type": "markdown",
132132
"metadata": {},
133133
"source": [
134-
"### Retrieve data from the robot\n",
135-
"Prefix method names with `async_` to be able to wait for returns"
134+
"### Retrieve data from the robot\n"
136135
]
137136
},
138137
{
@@ -143,7 +142,7 @@
143142
},
144143
"outputs": [],
145144
"source": [
146-
"w"
145+
"nao"
147146
]
148147
},
149148
{
@@ -154,7 +153,7 @@
154153
},
155154
"outputs": [],
156155
"source": [
157-
"motion = w.service(\"ALMotion\")"
156+
"motion = nao.ALMotion"
158157
]
159158
},
160159
{
@@ -209,7 +208,7 @@
209208
},
210209
"outputs": [],
211210
"source": [
212-
"w"
211+
"nao"
213212
]
214213
},
215214
{
@@ -220,7 +219,7 @@
220219
},
221220
"outputs": [],
222221
"source": [
223-
"posture = w.service(\"ALRobotPosture\")"
222+
"posture = nao.service(\"ALRobotPosture\")"
224223
]
225224
},
226225
{
@@ -263,9 +262,9 @@
263262
},
264263
"outputs": [],
265264
"source": [
266-
"eyes.fade(\"AllLedsBlue\", 1.0, 2)\n",
267-
"eyes.fade(\"AllLedsRed\", 1.0, 2)\n",
268-
"eyes.fade(\"AllLedsGreen\", 0, 2)"
265+
"leds.fade(\"AllLedsBlue\", 1.0, 2)\n",
266+
"leds.fade(\"AllLedsRed\", 1.0, 2)\n",
267+
"leds.fade(\"AllLedsGreen\", 0, 2)"
269268
]
270269
},
271270
{
@@ -284,7 +283,7 @@
284283
},
285284
"outputs": [],
286285
"source": [
287-
"w"
286+
"nao"
288287
]
289288
},
290289
{
@@ -295,7 +294,7 @@
295294
},
296295
"outputs": [],
297296
"source": [
298-
"vid = w.service(\"ALVideoDevice\")"
297+
"vid = nao.ALVideoDevice"
299298
]
300299
},
301300
{
@@ -402,7 +401,7 @@
402401
},
403402
"outputs": [],
404403
"source": [
405-
"w"
404+
"nao"
406405
]
407406
},
408407
{
@@ -413,7 +412,7 @@
413412
},
414413
"outputs": [],
415414
"source": [
416-
"animate = w.service(\"ALAnimationPlayer\")"
415+
"animate = nao.service(\"ALAnimationPlayer\")"
417416
]
418417
},
419418
{
@@ -457,8 +456,8 @@
457456
},
458457
"outputs": [],
459458
"source": [
460-
"w.disconnect()\n",
461-
"w"
459+
"nao.disconnect()\n",
460+
"nao"
462461
]
463462
},
464463
{
@@ -470,7 +469,7 @@
470469
"outputs": [],
471470
"source": [
472471
"out = Output()\n",
473-
"res = w.service(\"ALLeds\", out).rasta(\"gibberish\")\n",
472+
"res = nao.service(\"ALLeds\", out).rasta(\"gibberish\")\n",
474473
"out"
475474
]
476475
},

ipynao/_frontend.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
"""
1010

1111
module_name = "ipynao"
12-
module_version = "^0.5.0"
12+
module_version = "^0.6.1"

ipynao/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# Copyright (c) Isabel Paredes.
55
# Distributed under the terms of the Modified BSD License.
66

7-
version_info = (0, 1, 0, 'dev')
7+
version_info = (0, 6, 1, 'dev')
88
__version__ = ".".join(map(str, version_info))

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ipynao",
3-
"version": "0.5.0",
3+
"version": "0.6.1",
44
"description": "A widget library for controlling Nao",
55
"keywords": [
66
"jupyter",

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ classifiers = [
3434
dependencies = [
3535
"ipywidgets>=7.0.0",
3636
]
37-
version = "0.5.0"
37+
version = "0.6.1"
3838

3939
[project.optional-dependencies]
4040
docs = [
@@ -104,7 +104,7 @@ file = [
104104
]
105105

106106
[tool.tbump.version]
107-
current = "0.5.0"
107+
current = "0.6.1"
108108
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
109109

110110
[tool.tbump.git]

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ipympl>=0.8.2
2727
ipycanvas>=0.9.1
2828

2929
# Python: ipynao library for Nao robot
30-
ipynao>=0.5.0
30+
ipynao>=0.6.1
3131

3232
# For examples with images
3333
Pillow

0 commit comments

Comments
 (0)