nao-robot

UnsatisfiedLinkError for com.aldebaran.qi

China☆狼群 提交于 2021-01-29 20:20:33
问题 I am building an Android app to communicate with a NAO robot so I downloaded the naoqi jar library and added it to my project. I downloaded the JAR library from the following link: https://developer.softbankrobotics.com/pepper-naoqi-25-downloads-linux After that I tried running the code from the link https://github.com/aldebaran/libqi-java/blob/master/examples/android/RobotTalk/src/com/aldebaran/HelloAndroidActivity.java The JAR library is included within build.gradle like follows Hello An

UnsatisfiedLinkError for com.aldebaran.qi

邮差的信 提交于 2021-01-29 17:07:45
问题 I am building an Android app to communicate with a NAO robot so I downloaded the naoqi jar library and added it to my project. I downloaded the JAR library from the following link: https://developer.softbankrobotics.com/pepper-naoqi-25-downloads-linux After that I tried running the code from the link https://github.com/aldebaran/libqi-java/blob/master/examples/android/RobotTalk/src/com/aldebaran/HelloAndroidActivity.java The JAR library is included within build.gradle like follows Hello An

Why my Pepper robot is not able to be activated by trigger sentences?

做~自己de王妃 提交于 2021-01-29 07:27:57
问题 I'm trying to start behaviours that actually works on Pepper by using trigger sentences . I'm able to start them by using Launch Trigger Conditions and Run buttons (of course). The Autonomous Life is on but Pepper seems not to listen to me, even though it hears and localizes sounds (its eyes are not blue). I applied the procedure found at this link: https://www.brainaryinteractive.com/news/2017/8/14/nao-tipsvol-3-how-to-packageand-installapplications-with-trigger-sentences 回答1: With NAOqi 2.5

Installing Python SDK for NAO robots

故事扮演 提交于 2020-01-16 06:27:40
问题 I'm trying to follow the documentation provided by Aldebaran here in order to get my NAO ready for Python programming. I correctly dowloaded the NAOqi framework adapted to my OS (linux 64 bits) then I typed the command line $ export PYTHONPATH=${PYTHONPATH}:/path/to/python-sdk which, if I understand things right, should be typed in a terminal and not in a Python shell. Then I typed import naoqi in a Python shell and got the ImportError: No module named naoqi error, so I tried troubleshooting

How can I handle Pepper robot shutdown event?

≯℡__Kan透↙ 提交于 2020-01-06 14:13:29
问题 I need to handle the event when the shutdown process is started(for example with long press the robot's chest button or when the battery is critically low). The problem is that I didn't find a way to handle the shutdown/poweroff event. Do you have any idea how this can be done in some convenient way? 回答1: Unfortunately this won't be possible as when you trigger a shutdown naoqi will exit as well and destroy your service. If you are coding in c++ you could use a destructor, but there is no

How can I handle Pepper robot shutdown event?

℡╲_俬逩灬. 提交于 2020-01-06 14:13:19
问题 I need to handle the event when the shutdown process is started(for example with long press the robot's chest button or when the battery is critically low). The problem is that I didn't find a way to handle the shutdown/poweroff event. Do you have any idea how this can be done in some convenient way? 回答1: Unfortunately this won't be possible as when you trigger a shutdown naoqi will exit as well and destroy your service. If you are coding in c++ you could use a destructor, but there is no

How to subcribe an event of ALSpeechRecognition Naoqi in Python

偶尔善良 提交于 2019-12-24 07:05:06
问题 Hi I want subcribe Event: "SpeechDetected" of ALSpeechRecognition API naoqi for Nao in python. Anyone know how to use this ?? http://doc.aldebaran.com/2-1/naoqi/audio/alspeechrecognition-api.html#SpeechDetected 回答1: To do that, you need to create a python NAOqi module, then register to the variable using subscribeToEvent (or subscribeToMicroEvent). you can have a look there: http://doc.aldebaran.com/2-1/naoqi/core/almemory-tuto.html#almemory-tuto Beware: due to scoping the python variable

Install android apps on pepper´s tablet in Naoqi 2.5

≡放荡痞女 提交于 2019-12-22 17:59:45
问题 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

Connect to virtual Robot via QiMessaging JavaScript

倖福魔咒の 提交于 2019-12-13 03:43:06
问题 I would like to test my Javascript application locally. Therefore i would like to establish a connection between my JavaScript Application with QiMessaging to a virtual robot. Has anybody done this before? Is this even possible? As virtual robot I tried naoqi-bin.exe and opennao vm on my windows 10 system. It works fine with a real Robot (Pepper) by connecting to a virtual robot didnt work. Here are my attempts: qimessaging 1.0: code: <!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <