robotology / poeticon

This is the repository of the POETICON++ EU project http://www.poeticon.eu
GNU General Public License v2.0
4 stars 6 forks source link

planner: add requisite to putting action, nothing over obj #202

Closed gsaponaro closed 6 years ago

gsaponaro commented 6 years ago

This change restricts the action "put obj1 on obj2" so that obj2 must have nothing over it as a pre-requisite.

Because the goal is defined as a stack (e.g., 2 on 1, 3 on 2, etc.), this change does not affect the goal itself. However, this change affects the Goal Compiler, which will now represent the new pre-requisites in the sub-goals explicitly.

See also https://github.com/robotology/poeticon/pull/201/commits/642bac6ec9a9170adf2ffb9d2de9fe3d8f0774ec

Thanks @AlexAntn