- Set
backend
tosystem
in the[DEFAULT]
section ofconfig/pepper.config
- Set
backend
tonaoqi
in the[DEFAULT]
section ofconfig/pepper.py
- Set
ip
andport
in accordance with robot's address in the[pepper.framework.backend.naoqi]
ofconfig/pepper.config
-
Build the Docker image for pepper_tensorflow by running
> docker build -t cltl/pepper_tensorflow .
in that repository. -
Download GraphDB binary (
graphdb-free-<version>-dist.zip
) intosetup/graphdb-docker/lib
and update the graphdb version in thesetup/docker-compose.yml
file to the downloaded version. -
Run
> docker-compose up
from thesetup/
folder. This starts- bamos/openface
- GraphDB
- pepper_tensorflow
Data used by these containers is stored in
setup/data
and can be reset by removing all subfolders of that folder. Depending on your docker setup make sure the docker containers have enough memory and CPU available. -
Make sure there is a GraphDB repository named
leolani
. If not, run> ./setup/setup-graphdb-repo.sh
. If this script fails, you may create the repository manually by accessinghttp://localhost:7200/webapi
on your browser. UnderRepository Management
, use thePOST
endpoint to upload the/setup/repo-config.ttl
file. -
Make sure the
pepper/
directory is on the python path, e.g. by invoking python with> PYTHON_PATH='path/to/pepper' python path/to/app
or by adjusting the python path in your IDE. -
Start any Application in
pepper/apps/..
-
Done
-
Start/Stop Docker by running
docker-compose start/stop
when stopping/restarting the application.
No Pepper-laptop connection can be established
- Make sure Pepper and the laptop are on the same network
- Verify Pepper has access to network (by pressing belly-button)
- Make sure
ip
andport
are set correctly in the[pepper.framework.backend.naoqi]
section ofconfig/pepper.config
orconfig/default.config
Pepper cannot connect to network
- Connect Pepper to network using ethernet cable
- Press belly-button to obtain IP and update
ip
in the[pepper.framework.backend.naoqi]
section ofconfig/pepper.config
accordingly - Go to robot web page (by entering IP in browser)
- Go to network settings and connect to wifi
- If unlisted, reboot robot (and wifi). Make sure wifi is online before robot is.
- Shutdown robot, remove ethernet cable, and boot again. It now should work...
Problems with speech audio
- Start an application with StatisticsComponent and look at the STT (Speech to Text) activity
- If no signal (i.e
STT [..........]
):use_system_microphone
is set to false in the[pepper.framework.backend.naoqi]
section ofconfig/default.config
and not overriden fromconfig/pepper.config
2. Make sure external mic, if used, is switched on and sensitive enough (use OS settings) 3. Make sure Pepper mic, if used, is not broken? - If signal is low (i.e
STT [|||.......]
is below[pepper.framework.sensors.vad.webrtc] -> threshold
):- Make sure you talk loud enough (noisy fans in Peppers head make it difficult)
- Make sure you talk in the right microphone (i.e.
[pepper.framework.backend.naoqi] -> use_system_microphone
) - Make sure the external mics volume is high enough!
- If signal is too high (i.e.
STT [||||||||||]
) all the time:- Peppers own mics cannot handle very loud/noisy environments, like fairs
- Use a microphone attached to the laptop, instead!
- don't forget to override
[pepper.framework.backend.naoqi] -> use_system_microphone
inconfig/pepper.config
and set it toTrue
- don't forget to override
- Microphone should process audio at 16 kHz (i.e. Statistics:
Mic 16.0 kHz
), if not:- Override
cam_resolution
and/orcam_frame_rate
in the[DEFAULT]
section ofconfig/pepper.config
with lower values in order to meet performance requirements
- Override