choregraphe

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

How can I make a pepper robot choregraphe app appear on the tablet to launch it?

流过昼夜 提交于 2020-01-26 04:07:07
问题 I've read in the pepper/aldebaran documentation as well as in posts here that it is possible to launch pepper behaviours directly from the tablet. My problem is that the projects and behaviours that I create with choregraphe do not appear on the tablet. I can launch the installed package/project without any problem using the trigger conditions, but have no idea how to launch them on the tablet. Thus my questions is where can I find them on the tablet. I ticked the box "may start on user

Installing a module on Choregraphe

喜你入骨 提交于 2020-01-24 23:58:25
问题 I am trying to install a python module to use in Choregraphe. For windows this does not appear to be an issue. All I have to do is make sure that the module is installed in Python on the operating system. For OSX, it does not appear to recognise the module. I have also tried importing it as a folder to a project, but it still can't see it. 回答1: Do you try playing with the python system path: the location when he looks for library. Like that (in your choregraphe box): import sys sys.path

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

Pepper: pass variable from Python to web JS

牧云@^-^@ 提交于 2019-12-24 06:05:39
问题 I'm programming an App for the Aldebaran's Pepper robot. I'm using Choregraphe and I made an html for displaying in robots tablet. I have made the boxes for displaying the web and I need to pass a variable from Python to the web Javascript. Is there any way to do it? The Python code is the same as the default of a Raise Event box, it receives a string "IMAGE" on his onStart input: class MyClass(GeneratedClass): def __init__(self): GeneratedClass.__init__(self) pass def onLoad(self): self

Pepper Robot: How to port Python landmark detection to Choregraphe?

僤鯓⒐⒋嵵緔 提交于 2019-12-06 12:14:50
问题 I'm trying to write a small programm to have Pepper check for landmarks inside a room through Choregraphe. The regular Python code for landmark detection works just fine, but i can't port it to Choregraphe.http://doc.aldebaran.com/2-5/dev/python/examples/vision/landmark.html I could already import the simple Python File in Choregraphe according to this video, but there's always an error when doing it with the landmark detection. https://www.youtube.com/watch?v=orDWxHQxw5s This code gives this

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