nao-robot

Stop Python script running on a nao robot touching his head

喜夏-厌秋 提交于 2019-12-11 05:01:20
问题 My problem is the following. I have a script in Python that is executed so that the robot does perform various actions without stopping until the execution stops, however for security reasons (in case the robot goes crazy and wants to kill us all) I need to add this instruction to stop it using the touch sensor of his head in case this is pressed. I read a little about the ALTouch module with which the TouchChanged() module can be generated, but it acts on all the sensors (including movements

Install android apps on pepper´s tablet in Naoqi 2.5

旧时模样 提交于 2019-12-06 06:03:46
I want to install an android app on Pepper with NaoQi 2.5. To achivie this is tried to use AlTabletService´s hidden method "_installApk". I built an APK in android studios and deployed it in pepper´s head, the APK file does exist in peppers head because when i ssh into pepper and use the "ls" command the file is listed. I then tried to install the apk: qicli call ALTabletService._installApk /home/nao/.local/share/PackageManager/apps/helloWorld/src/android/app-debug.apk When i open the ADB debugger in pepper I can see the error message that the command gives: I/ALTabletService/TabletService(

How to make an HTML page to be shown when Pepper boots

試著忘記壹切 提交于 2019-12-04 16:03:40
问题 I have a behavior which purpose is to show an HTML page (hosted on the robot). I want that behavior to be loaded on boot and that HTML page to be shown on the Pepper's tablet when Pepper is booted. I have added it to the robot default behaviors but that doesn't do the trick. It shows me that this behavior is running, that it is in the default behaviors but the HTML page is not shown. Just to make it clear when this behavior is not running and I trigger it, it works as it is intended - I mean

How to make an HTML page to be shown when Pepper boots

有些话、适合烂在心里 提交于 2019-12-03 09:15:36
I have a behavior which purpose is to show an HTML page (hosted on the robot). I want that behavior to be loaded on boot and that HTML page to be shown on the Pepper's tablet when Pepper is booted. I have added it to the robot default behaviors but that doesn't do the trick. It shows me that this behavior is running, that it is in the default behaviors but the HTML page is not shown. Just to make it clear when this behavior is not running and I trigger it, it works as it is intended - I mean the problem is not in the HTML code. It might be that your behavior is started before the

Python for Naoqi (dynamic module not initialized properly)

空扰寡人 提交于 2019-12-02 05:31:49
问题 Hi guys I am having a problem with Python and Naoqi for Pepper robot. I've set the right path to NaoqiSDK and when I run "import naoqi" I get this error: >>> import naoqi Traceback (most recent call last): File"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 548, in <module> main() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 530, in main known_paths = addusersitepackages(known_paths) File "/Library/Frameworks/Python

Python for Naoqi (dynamic module not initialized properly)

只愿长相守 提交于 2019-12-02 02:25:31
Hi guys I am having a problem with Python and Naoqi for Pepper robot. I've set the right path to NaoqiSDK and when I run "import naoqi" I get this error: >>> import naoqi Traceback (most recent call last): File"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 548, in <module> main() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 530, in main known_paths = addusersitepackages(known_paths) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 266, in addusersitepackages user_site =

NAO robot remote audio problems

﹥>﹥吖頭↗ 提交于 2019-11-27 07:55:34
I would like to know if anyone here knows how to stream NAO robot audio to a remote module in python, and if you maybe have an example. I want to get the NAO audio buffers on my laptop directly for processing, so no recording and scp or whatever. Now my problem is this: the aldebaran site says that in order to receive audio remotely (on my laptop), I have to write a module that inherits from ALSoundExtractor. The thing is, this class was not included in the python SDK, so if you're building a remote python program, you CAN'T inherit from alsoundextractor... I've been stuck on this problem for

NAO robot remote audio problems

♀尐吖头ヾ 提交于 2019-11-26 13:54:44
问题 I would like to know if anyone here knows how to stream NAO robot audio to a remote module in python, and if you maybe have an example. I want to get the NAO audio buffers on my laptop directly for processing, so no recording and scp or whatever. Now my problem is this: the aldebaran site says that in order to receive audio remotely (on my laptop), I have to write a module that inherits from ALSoundExtractor. The thing is, this class was not included in the python SDK, so if you're building a