pepper.framework.abstract.intention module¶
-
class
pepper.framework.abstract.intention.AbstractIntention(application)[source]¶ Bases:
objectThe Intention class is at the base of more involved robot applications. They build on top of
AbstractApplicationinstances and allow for switching between robot behaviours.Parameters: application (AbstractApplication) – AbstractApplicationto base Intention on-
application¶ The
AbstractApplicationIntention 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
AbstractApplicationParameters: 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
-