pepper.framework.abstract.application module

class pepper.framework.abstract.application.AbstractApplication(backend)[source]

Bases: pepper.framework.abstract.component.AbstractComponent

The Application class is at the base of every robot application. It keeps track of events from different instances of AbstractComponent, allows extension by instances of AbstractIntention and exposes AbstractBackend devices to the Application Layer.

Parameters:backend (AbstractBackend) – Application AbstractBackend
camera

Returns AbstractCamera associated with current Backend

Returns:camera
Return type:AbstractCamera
led

Returns AbstractLed associated with current Backend

Returns:motion
Return type:AbstractMotion
log

//docs.python.org/2/library/logging.html>`_

Returns:log
Return type:logging.Logger
Type:Returns Application `Logger <https
microphone

Returns AbstractMicrophone associated with current Backend

Returns:microphone
Return type:AbstractMicrophone
motion

Returns AbstractMotion associated with current Backend

Returns:motion
Return type:AbstractMotion
run()[source]

Run Application

Starts Camera & Microphone and Blocks Current Thread until KeyboardInterrupt

tablet

Returns AbstractTablet associated with current Backend

Returns:tablet
Return type:AbstractTablet
text_to_speech

Returns AbstractTextToSpeech associated with current Backend

Returns:text_to_speech
Return type:AbstractTextToSpeech