plan-based control in an affordance-based robot … · affordance-based robot control architecture...
TRANSCRIPT
1www.www.infinf.uos..uos.de/kbs/de/kbs/
Plan-based Control in anPlan-based Control in anAffordance-based Robot ControlAffordance-based Robot Control
ArchitectureArchitecture
Joachim Hertzberg,
Christopher Lörken
Institute for Informatics
www.www.infinf.uos..uos.de/kbs/de/kbs/Thanks toAndreas Bartel, Kai Lingemann, Frank Meyer,Andreas Nüchter, Stefan Stiene
2www.www.infinf.uos..uos.de/kbs/de/kbs/
Planning & Execution in MACSPlanning & Execution in MACS
Retry
3www.www.infinf.uos..uos.de/kbs/de/kbs/
From the WP4 ObjectivesFrom the WP4 Objectives
• Understand interplay sensor data – action usage – affordancesin robotics
• Understand inter-relation affordances – symbol grounding in robotics
• Specify generic representations & data structures supporting affordanceusage
• Understand how affordances reified as data structures interact with signal-to-symbol conversions, action structures, and qualitative representations ofobjects
• Propose software module supporting a sensor data – dynamic object –action execution – sensor usage loop on a robot
• Study the relation affordances – planning for sensor use,where affordances may be viewed as constraints on sensor use
• Propose sensor planner operating dependently with the above
4www.www.infinf.uos..uos.de/kbs/de/kbs/
• Tailor (some)operators afterafforded actions
• Use affordancesas preconditionsfor “opportunistic”execution
• Map perceivedaffordances
• Don’t distinguishamong function-ally equal objects
• Reduce search
Ground (some) domainconcepts in 〈c,b,o〉s
• Focus attentionon affordancesserving currentoperator;disregard others
• Search activelyfor cues signalingfocusedaffordances
Top-down influence onaffordance usage
UOSUOS’’s s Contribution to WP4 ObjectivesContribution to WP4 Objectives
Affordance-BasedRobot Control
Plan-BasedRobot Control
Use s-o-a AI planning technology(PDDL language, FF planner)
Use the MACS modulesexec. control, behaviors,
affordance repository
5www.www.infinf.uos..uos.de/kbs/de/kbs/
Background: (Propositional) AI PlanningBackground: (Propositional) AI Planning
• Dates back to STRIPS/SHAKEY tradition in AI
• Modern algorithms (“neo-classical planning”) by orders ofmagnitude faster, termination guaranteed
• We re-used FF (Hoffmann/Nebel, 2000’s)
• Well-understood on formal grounds• Situation is a set of ground facts
• Operator pre/postconditions sets of ground literals
• Plan is a partially ordered operator set
• Decidable, NP-hard wrt. domain size
• De-facto standard domain descr. language PDDL (+ variants)…
6www.www.infinf.uos..uos.de/kbs/de/kbs/
PDDL: PDDL: s-o-a s-o-a Domain DescriptionsDomain Descriptions
• Originally developed to facilitate the International PlanningCompetition (IPC)
• Codifies input syntax for specifying planning domains &problems in terms of
• predicates (proposition schemata)
• actions
• objects
• start situation, goal propositions
• optional requirements (typing, equality handling, …)
• Various upgrades exist for enhancing expressivity (time, …)
7www.www.infinf.uos..uos.de/kbs/de/kbs/
Background: Robot PlanningBackground: Robot Planning
The plan is that part of the robot’s program,whose future execution the robot reasons about explicitly.
[D. McDermott, 1992]
• Dates back to STRIPS/SHAKEY tradition in AI
• Various benefits for robot ctrl: Performance optimization (time,robustness), communication, software engineering
• Plan is just one source of information for robot control(hybrid control architectures)
• “Sense-Model-Plan-Act” (SMPA) loop is a straw man!
• Plan format may vary; notion of planning may differ fromclassical view (“adapting library plan stubs”)
☛ Autonomous execution matters
☛ Needs symbol grounding/object anchoring & action grounding
8www.www.infinf.uos..uos.de/kbs/de/kbs/
Example: MACS Arena Affordance MapExample: MACS Arena Affordance Map
TopologicalRegion
(fuzzy boundaries)
PerceivedAffordance
(arbitrarily often;possibly different cues)
While being in some environment,log perceived affordance typesper region! (1 entry / type / region)
9www.www.infinf.uos..uos.de/kbs/de/kbs/
MACS DD Example: PredicatesMACS DD Example: Predicates
(:types region switchRegion doorRegion room)
(:predicates(robotAt ?region - region)(inRoom ?region - region ?room - room))(hasLiftedSomething)(liftable ?region - region )(switch-triggerable ?region - switchRegion)(passable ?startRegion ?targetRegion - region))
Model affordances by properties of theregions where they have been perceived(no objects sneaking in through the backdoor)
10www.www.infinf.uos..uos.de/kbs/de/kbs/
MACS DD Example: An OperatorMACS DD Example: An Operator
(:action lift :parameters (?region - region) :precondition
(and(robotAt ?region)(liftable ?region)(not (hasLiftedSomething)))
:effect(and
(hasLiftedSomething)(not (liftable ?region))))
Grounded bylocalization
Grounded byaffordance (map)
Grounded by“introspection”
Side effect:delete liftability tag for
?region in aff. map
11www.www.infinf.uos..uos.de/kbs/de/kbs/
Execution: Grounding OperatorsExecution: Grounding Operators
• Ground operators in behaviors ( hybrid architecture)• e.g., lift operator is implemented using:
DirectGoToPoseBehavior, 3DScanBehavior, ReachBehavior,PullBehavior, RaiseBehavior
• Specialty induced by affordances:If an operator corresponds to an afforded action,then grounding is provided by the b,o in 〈c,b,o〉!
• Execution monitoring of afforded action means to“go with the flow of affordance”(But only the selected one!)
12www.www.infinf.uos..uos.de/kbs/de/kbs/
Example: Grounding the Lift OperatorExample: Grounding the Lift Operator
13www.www.infinf.uos..uos.de/kbs/de/kbs/
Opportunistic ExecutionOpportunistic Execution
[planning/execution] in tasks fraught with complexity and uncertaintymight benefit from less of the discipline imposed by a top-down process.
[B. & F. Hayes-Roth, 1979]
• At operator execution, perception is primed to attend to cuesrelevant for current operator execution
• Any(!) entity affording what is needed may be used(“lift something” vs “lift object O_17”)
• Purely object-based representations handle poppycock(“get me Glass_42 with water” instead of “get me a glass of water”)
☛ Using entities&affordances in additionto(!) objects&properties appearsto make a lot of sense!
14www.www.infinf.uos..uos.de/kbs/de/kbs/
MACS Problem Description & ObjectsMACS Problem Description & Objects(define (problem macs-prob) (:domain macs-example) (:objects rightRoom - room
leftRoom - switchRoomregion1_left region2_left region1_right - regionswitchRegion - switchRegiondoorRegionLeft doorRegionRight - doorRegion )
(:init (inRoom region1_left leftRoom)(inRoom region2_left leftRoom)(inRoom switchRegion leftRoom)(inRoom doorRegionLeft leftRoom)(inRoom region1_right rightRoom)(inRoom doorRegionRight rightRoom)(robotAt region1_left)(liftable region1_left)(switch-triggerable switchRegion))
(:goal (robotAt doorregionright)))
Types, predicates, actions
Static DomainFeatures
Dynamic“Fluents”
15www.www.infinf.uos..uos.de/kbs/de/kbs/
Complete Example (Simulator)Complete Example (Simulator)
The Plan (FF generated)0: LIFT region1_left 1: CARRY region1_left switchregion 2: TRIGGER-SWITCH switchregion 3: APPROACH-REGION switchregion doorregionleft 4: CHANGE-ROOM doorregionleft doorregionright
The Goal(:goal (robotAt doorregionright)))
16www.www.infinf.uos..uos.de/kbs/de/kbs/
Complete Example (Simulator)Complete Example (Simulator)
17www.www.infinf.uos..uos.de/kbs/de/kbs/
Execution FailureExecution Failure
• Planned operator execution by afforded actions mayfail due to
• Model error (affordance not present where in map)
• Perception error (cue is there but gets overlooked;affordance is perceived false-positively)
• Handling error (afforded behavior fails)
• Reaction inventory in plan-based control:retry, replan, give up
• Afforded actions may be retried by using differentaffordance instance of the same type(perceived or looked up in map)
18www.www.infinf.uos..uos.de/kbs/de/kbs/
Execution Failure etc., Simulator Execution Failure etc., Simulator ExplExpl..
19www.www.infinf.uos..uos.de/kbs/de/kbs/
Future WorkFuture Work
Examine interplay plan-based & affordance-based control
• Continue/extend experiments(real robot, opportunism, execution failure)
• Examine more expressive plan language (time)
• Interface with learning
• Integrate individual objects
20www.www.infinf.uos..uos.de/kbs/de/kbs/
Summary of ContributionsSummary of Contributions
p-b ctrl helps a-b ctrl focus top-down on relevant affordances
a-b ctrl helps p-b ctrl ground actions and predicates
employed s-o-a propositional planner in robot ctrl
found operational model for opportunistic plan execution
found simple mechanism for handling anonymousentities/objects in propositional robot planning
… and integrated it all in the MACS architecture
The interplay between affordance-basedand plan-based robot control
has been explored for the first time
21www.www.infinf.uos..uos.de/kbs/de/kbs/
PublicationsPublications
1. A. Bartel, F. Meyer, C. Sinke, T. Wiemann, A. Nüchter, K. Lingemann, and J. Hertzberg:Real-Time Outdoor Trail Detection on a Mobile Robot. In: Proc. 13th IASTED Intl. Conf.Robotics and Applications, pp. 477–482, Würzburg, Germany, August 2007
2. J. Hertzberg, K. Lingemann, C. Lörken, A. Nüchter, and S. Stiene (2007): Does it Help aRobot Navigate to Call Navigability an Affordance? In: [5] pp.16–26, February 2008
3. C. Lörken. Introducing affordances into robot task execution. In K.-U. Kühnberger, P.König, and P. Ludewig (eds:), Publications of the Institute of Cognitive Science (PICS), vol.2, 2007. University of Osnabrück, May 2007
4. C. Lörken and J. Hertzberg: Grounding Planning Operators by Affordances. submitted forpublication, Nov. 2007
5. E. Rome, J. Hertzberg, and G. Dorffner (eds): Towards Affordance-based RobotControl. Proceedings of Dagstuhl Seminar 06231. Springer LNAI 4760, Berlin, February2008
… during MACS funding 2007 and after; beyond deliverables
22www.www.infinf.uos..uos.de/kbs/de/kbs/