Questions tagged [nao-robot]

A Nao Robot is a programmable humanoid robot. Languages you can use to program Nao are Python, C++, Java, Matlab, Urbi, C, and any .NET languages.

NAO is a programmable humanoid robot. Languages you can use to program Nao are Python, C++, Java, Matlab, Urbi, C, and any .NET languages.

NAO also features an onboard multimedia system, including four microphones (for voice recognition and sound localization), two speakers (for text-to-speech synthesis) and two HD cameras (for computer vision, including facial and shape recognition).

347 questions
1
vote
1 answer

How to get MatLab object to go through sys.argv[1] in python?

I am trying to get the NAO Humanoid Robot to recognize objects. I am using a convolutional neural net (CNN) in MatLab to classify objects that are captured through the Robot. I have written two separate python scripts: One to take a picture through…
Abhir K
  • 81
  • 5
1
vote
0 answers

Un-matched SampleRate for NAO Record Buffer

I am working on the process in denoise in a NAO robot for a sound localization. I call the "setClientPreferences" module with 48000kHz sample rate in all channels (interleave) for recording: channelFlag = 0 deinterleave = 0 # deinterleave =…
1
vote
1 answer

Pepper crashes during program run

I am creating this application, where Pepper shows some clickable pictures on its tablet. By clicking on a picture the user would make Pepper do some gestures. This is my Choregraphe file created: And here are the corresponding JS and HTML file I am…
1
vote
1 answer

Python for Robotics: How to generate an app for localization of a Pepper robot

These days I have tried to generate an application using the pythonapp template from the Github project Jumpstarter(https://github.com/aldebaran/robot-jumpstarter) to do the localization of Pepper. My basic idea is to combine the LandmarkDetector…
1
vote
1 answer

Subscribing and unsubscribing to ALVideoDevice in Python Script Box in Choregraphe not working

We are some students in IT and we are working on NAO (so we are very beginner). We want to implement a pathfinding by line detection on the ground with NAO cameras. We worked on a Python Script Box in Choregraphe for that purpose but we are not…
Axiome
  • 695
  • 5
  • 18
1
vote
1 answer

Understanding Pepper Programming in Javascript

I've recently started building a Javascript program for Pepper. My goal is to make pepper listen to what people say and either say Hello or make Pepper do an animation based on keyword 'Hello/Animation' in WordRecognized event in Javascript. As of…
srinu634
  • 43
  • 9
1
vote
1 answer

Moving Pepper from a point to another

I am trying to move Pepper from one point to another which involves a turn of 90 degrees and it is around 40 metres distance. I can make it work when there are no obstacles but when there are obstacles the Pepper stops and then we don't know his…
Kamal Singh
  • 531
  • 7
  • 17
1
vote
1 answer

Pepper robot behavior stops while moving

We are trying to move Pepper around on a floor using ALNavigation SLAM APIs. We have created a map using ALNavigation:explore() method. The application works most of the time but sometimes Pepper stops and the application crashes in between due to…
Kamal
  • 11
  • 1
1
vote
2 answers

Unable to import requests module in python due to "ImportError: cannot import name utils"

I'm trying to import python module requests in a program that uses python (Choregraphe for NAO the robot). I can't use shell commands like sudo install etc... I can only import module by moving the module into lib folder of the project. So I've…
1
vote
1 answer

Send voice input to virtual NAOqi

I have a virtual robot running and I want to send a voice input to them with text, like the way that the dialog window in Choregraphe works. How can I do this using a Python script? I am running the virtual robot from the terminal using the…
1
vote
1 answer

How to import a library with full dependencies in Choregraphe

I am working with choregraph to develop an application for Nao robot. I am trying to install a library that implements a speech to text functionality: it uses a simple HTTPS request. I am not able to make it work because it has a lot of…
ela
  • 104
  • 1
  • 10
1
vote
2 answers

Pepper: Switch language only for one single word in a Dialog script

I write a Dialog script for the roboter Pepper with the Choreography IDE. The default language is German. But some words are English and I need Pepper to pronounce them correctly. How can I switch the language for a specific word? In the example…
buhtz
  • 10,774
  • 18
  • 76
  • 149
1
vote
2 answers

Error processRemote Type mismatch with ALAudioDevice on Pepper

I want to record the sound of the Pepper microphone and stream it to a server. I followed the code on the naoqi documentation and adapted it for a Choregraphe python box. When I launch the program, I've got the following error : [ERROR]…
benjibigg
  • 11
  • 3
1
vote
1 answer

Segmentation fault when running darknet classifier on Nao

I'm trying to run darknet imagenet classifier on Nao, but it crashes with a segfault. With the YOLO config (./darknet detect cfg/yolo.cfg yolo.weights data/dog.jpg), darknet runs, but trying to run classifier (./darknet classifier predict…
Eino Gourdin
  • 4,169
  • 3
  • 39
  • 67
1
vote
1 answer

Deserialization and serialization of navigation maps

I made an exploration with my Pepper and then I got the metrical representation of the map with ALNavigationProxy::getMetricalMap(). Now I want to make some changes to this metrical representation of the map - for example to change the coordinates…
stefan.stt
  • 2,357
  • 5
  • 24
  • 47