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 ofAbstractIntention
and exposesAbstractBackend
devices to the Application Layer.Parameters: backend (AbstractBackend) – Application AbstractBackend
-
camera
¶ Returns
AbstractCamera
associated with current BackendReturns: camera Return type: AbstractCamera
-
led
¶ Returns
AbstractLed
associated with current BackendReturns: 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 BackendReturns: microphone Return type: AbstractMicrophone
-
motion
¶ Returns
AbstractMotion
associated with current BackendReturns: motion Return type: AbstractMotion
-
run
()[source]¶ Run Application
Starts Camera & Microphone and Blocks Current Thread until KeyboardInterrupt
-
tablet
¶ Returns
AbstractTablet
associated with current BackendReturns: tablet Return type: AbstractTablet
-
text_to_speech
¶ Returns
AbstractTextToSpeech
associated with current BackendReturns: text_to_speech Return type: AbstractTextToSpeech
-