pepper.framework package¶
The Pepper Framework Package consists out of the basic building blocks to make robot applications.
Abstract¶
The framework.abstract package contains specifications for:
- Sensors:
AbstractCameraAbstractMicrophone - Actuators:
AbstractTextToSpeechAbstractMotionAbstractLed - Backends & Applications:
AbstractBackendAbstractApplication - Components & Intentions:
AbstractComponentAbstractIntention
Backend¶
The framework.backend package contains the backends implementing Sensors, Actuators & Backend:
NAOqiBackendimplements the backend for Pepper & Nao RobotsSystemBackendimplements the backend for Windows/Mac/Linux systems.
Sensor¶
The framework.sensor package implements Face, Object and Speech Recognition:
VADimplements Voice Activity Detection on Microphone inputStreamedGoogleASRimplements Automated Speech Recognition through Google Speech APIObjectDetectionClientconnects to pepper_tensorflow for Object DetectionOpenFaceconnects to the bamos/openface Docker container for Face RecognitionLocationgets the current geographical location (WIP)
Component¶
Applications are made out of several instances of AbstractComponent,
which expose various methods and events to applications. They’re summarized below:
CameraComponentexposes theon_image()event.MicrophoneComponentexposes theon_audio()event.SpeechRecognitionComponentexposes theon_transcript()event.ObjectDetectionComponentexposes theon_object()event.FaceRecognitionComponentexposes theon_face(),on_face_known()&on_face_new()events.TextToSpeechComponentexposes thesay()method.BrainComponentexposespepper.brain.long_term_memory.LongTermMemoryto the application.
Some Components are more complex and require other components to work. They will raise a pepper.framework.abstract.component.ComponentDependencyError if dependencies are not met.
ContextComponentexposespepper.framework.context.Contextto the application and overrides thesay()method to work with theChatclass. It also exposes theon_chat_turn(),on_chat_enter()&on_chat_exit()events.StatisticsComponentdisplays realtime system statistics in the command line.SceneComponentcreates a 3D scatterplot of the visible space.DisplayComponentshows the live camera feedback and the 3D view of the current space, including the objects that are observed.
- pepper.framework.abstract package
- Abstract
- pepper.framework.abstract.application module
- pepper.framework.abstract.backend module
- pepper.framework.abstract.camera module
- pepper.framework.abstract.component module
- pepper.framework.abstract.intention module
- pepper.framework.abstract.led module
- pepper.framework.abstract.microphone module
- pepper.framework.abstract.motion module
- pepper.framework.abstract.tablet module
- pepper.framework.abstract.text_to_speech module
- pepper.framework.backend package
- Backend
- pepper.framework.backend.naoqi package
- pepper.framework.backend.naoqi.backend module
- pepper.framework.backend.naoqi.camera module
- pepper.framework.backend.naoqi.led module
- pepper.framework.backend.naoqi.microphone module
- pepper.framework.backend.naoqi.motion module
- pepper.framework.backend.naoqi.tablet module
- pepper.framework.backend.naoqi.text_to_speech module
- pepper.framework.backend.system package
- pepper.framework.backend.system.backend module
- pepper.framework.backend.system.camera module
- pepper.framework.backend.system.led module
- pepper.framework.backend.system.microphone module
- pepper.framework.backend.system.motion module
- pepper.framework.backend.system.tablet module
- pepper.framework.backend.system.text_to_speech module
- pepper.framework.component package
- Component
- pepper.framework.component.display package
- pepper.framework.component.brain module
- pepper.framework.component.camera module
- pepper.framework.component.context module
- pepper.framework.component.explore module
- pepper.framework.component.face_detection module
- pepper.framework.component.microphone module
- pepper.framework.component.object_detection module
- pepper.framework.component.scene module
- pepper.framework.component.speech_recognition module
- pepper.framework.component.statistics module
- pepper.framework.component.text_to_speech module
- pepper.framework.sensor package