pepper.framework.abstract.intention module¶
-
class
pepper.framework.abstract.intention.
AbstractIntention
(application)[source]¶ Bases:
object
The Intention class is at the base of more involved robot applications. They build on top of
AbstractApplication
instances and allow for switching between robot behaviours.Parameters: application (AbstractApplication) – AbstractApplication
to base Intention on-
application
¶ The
AbstractApplication
Intention is based onReturns: application Return type: AbstractApplication
-
dependencies
¶ Intention Dependencies
Yields: components (iterable of AbstractComponent)
-
log
¶ //docs.python.org/2/library/logging.html>`_
Returns: log Return type: logging.Logger Type: Intention `Logger <https
-
require_dependency
(dependency)[source]¶ Enforce Component Dependency
Checks whether Component is included in
AbstractApplication
Parameters: dependency (type) – Required Component Type Returns: dependency – Requested Dependency (which is ensured to be included in this application, when no exception is thrown) Return type: AbstractComponent
-