Highlights
- •Service robots should have the ability to make decisions and schedule tasks.
- •Introduced a bioinspired hybrid cognitive architecture based on PDDL symbolic planning and state machines.
- •The proposed architecture is divided into two systems: deliberative and behavioral.
- •Each system of the architecture is composed of two layers.
Abstract
Keywords
Current code version | v1.0 |
Permanent link to code/repository used for this code version | https://github.com/SoftwareImpacts/SIMPAC-2023-26 |
Permanent link to Reproducible Capsule | https://codeocean.com/capsule/9822103/tree/v1 |
Legal Code License | GPL-3.0 License |
Code versioning system used | Git |
Software code languages, tools, and services used | ROS 2, Python3 |
Compilation requirements, operating environments & dependencies | Docker OR ROS 2, Python3 |
If available Link to developer documentation/manual | https://merlin2.readthedocs.io/en/latest/ |
Support email for questions | [email protected] |
1. Introduction

2. Architecture

2.1 Mission layer
2.2 Planning layer
- •Knowledge Base: this component is the knowledge base of KANT, which corresponds with long-term memory. It stores the knowledge of the environment. There are two types of knowledge base depending on the storage type: a ROS 2 node that stores in process memory the knowledge and a MongoDB [[18]] database, which is more persistent.
- •PDDL Generator: this component is in charge of generating the PDDL text from the knowledge base.
- •Planner: this component uses the PDDL text to create plans. Several PDDL planners can be used. The available planners are POPF [[19]], SMTP [[20]], unified-planning [[21]] and VHPOP [[22]].
- •Plan Dispatcher: this component is in charge of executing the actions of the generated plan. It also has to cancel the current action if needed.
- •Executor: this component is a facade between this layer and the Mission Layer. It executed its component of this layer and cancel the Plan Dispatcher.
2.3 Executive layer
2.4 Reactive layer
- •Navigation: this component corresponds with Nav2 [[23]], which is the navigation system of ROS 2.
- •Speech-to-text: this component is in charge of listening for speech and converting it to text.
- •Text-to-speech: this component is in charge of producing speech from a sentence.
3. Software impact
- 1.MERLIN2 aims to speed up the process of producing robot behaviors to face the daily short and long-term tasks of a service robot using ROS 2.
- 2.MERLIN2 combines four high-value tools for robotics developers: YASMIN, KANT, a Generic Planner System and a visual monitoring engine for mission and action tracking.
- 3.The four layers of MERLIN2 allow the generation of behaviors for performing complex robot tasks. The Mission Layer is supported by a mission engine which allows to the creation of an initial problem and the capability to create and execute goals as a consequence of developed actions. The Planning Layer manages symbolic task-solving. The Executive Layer has the actions, which are the result of associating and grouping skills based on two concepts: YASMIN Finite State Machine and (2) skill reuse. The Reactive Layer deploys the robot’s skills, adding a new one is a straightforward process. The current repository has examples with three basic robot skills: Navigation, STT and TTS.
- 4.MERLIN2 adds the feature for symbolic knowledge manipulation through KANT supported on DTO and DAO patterns. KANT provides two approaches: one for bringing knowledge persistence, using MongoDB; while the other uses in-memory storage. KANT engine makes it accessible to the developer to update/change the technology used.
- 5.MERLIN2 includes a generic planning system based on PDDL (Planning Layer). This planning system automatically extracts PDDL from the knowledge base, generates plans and executes the actions in a transparent manner for the developer. The solver motor includes simplified access to a set of PDDL solvers attending the version required.
- •Miguel Á. González-Santamarta, Francisco J. Rodríguez-Lera, Francisco Martín, Camino Fernández, and Vicente Matellán. Kant: A tool for grounding and knowledge management. In Josá Manuel Ferrán- dez Vicente, José Ramón Álvarez-Sánchez, Félix de la Paz López, and Hojjat Adeli, editors, Bio-inspired Systems and Applications: from Robotics to Ambient Intelligence, pages 452–461, Cham, 2022. Springer International Publishing. [[24]]
- González-Santamarta Miguel Á.
- Rodríguez-Lera Francisco J.
- Martín Francisco
- Fernández Camino
- Matellán Vicente
KANT: A tool for grounding and knowledge management.in: Ferrández Vicente José Manuel Álvarez-Sánchez José Ramón de la Paz López Félix Adeli Hojjat Bio-Inspired Systems and Applications: From Robotics to Ambient Intelligence. Springer International Publishing, Cham2022: 452-461 - •Miguel Á. González-Santamarta, Francisco J. Rodríguez-Lera, Vicente Matellán-Olivera, and Camino Fernández-Llamas. Yasmin: Yet another state machine. In Danilo Tardioli, Vicente Matellán, Guillermo Heredia, Manuel F. Silva, and Lino Marques, editors, ROBOT2022: Fifth Iberian Robotics Conference, pages 528–539, Cham, 2023. Springer International Publishing. [[25]]
- González-Santamarta Miguel Á.
- Rodríguez-Lera Francisco J.
- Matellán-Olivera Vicente
- Fernández-Llamas Camino
YASMIN: Yet another state machine.in: Tardioli Danilo Matellán Vicente Heredia Guillermo Silva Manuel F. Marques Lino ROBOT2022: Fifth Iberian Robotics Conference. Springer International Publishing, Cham2023: 528-539 - •Miguel Á. González-Santamarta, Francisco J. Rodríguez-Lera, Claudia Álvarez-Aparicio, Ángel M. Guerrero-Higueras, and Camino Fernández-Llamas. MERLIN a cognitive architecture for service robots. Applied Sciences, 10(17):5989, aug 2020. [[14]]
4. Limitations and further improvements
Declaration of Competing Interest
Acknowledgement
References
- A review of control architectures for autonomous navigation of mobile robots.Int. J. Phys. Sci. 2011; 6: 169-174
- Deliberation for autonomous robots: A survey.Artificial Intelligence. 2017; 247: 10-44
- New approaches to robotics.Science. 1991; 253: 1227-1232
- Experiences with an architecture for intelligent, reactive agents.J. Exp. Theoret. Artif. Intell. 1997; 9: 237-256
- On three-layer architectures.Artif. Intell. Mob. Robots. 1998; 195: 210
- AuRA: Principles and practice in review.J. Exp. Theoret. Artif. Intell. 1970; 9
- A survey of cognitive architectures in the past 20 years.IEEE Trans. Cybern. 2018; 48: 3280-3290
- ROS: an open-source robot operating system.in: ICRA Workshop on Open Source Software, vol. 3, no. 3.2. Kobe, Japan2009: 5
Michael Cashmore, Maria Fox, Derek Long, Daniele Magazzeni, Bram Ridder, Arnau Carrera, N. Palomeras, N. Hurtós, Marc Carreras, ROSplan: Planning in the robot operating system, in: Proceedings International Conference on Automated Planning and Scheduling, ICAPS, vol. 2015, 2015, pp. 333–341.
- PlanSys2: A planning system framework for ROS2.in: IEEE/RSJ International Conference on Intelligent Robots and Systems, IROS 2021, Prague, Czech Republic, September 27 - October 1, 2021. IEEE, 2021
- PDDL2.1: An extension to PDDL for expressing temporal planning domains.J. Artif. Intell. Res. (JAIR). 2003; 20: 61-124
- The SMACH high-level executive.IEEE Robot. Autom. Mag. 2011; 17: 18-20
- On the implementation of behavior trees in robotics.IEEE Robot. Autom. Lett. 2021; 6: 5929-5936
- MERLIN a cognitive architecture for service robots.Appl. Sci. 2020; 10: 5989
- Human Brain Function.Elsevier, 2004
- An Introduction to Brain and Behavior.Worth New York, 2001
- Human Behavior and the Developing Brain.The Guilford Press, 1994
- The Expert’s Voice in Open Source. O’Reilly Media, Incorporated, 2019 MongoDB: The Definitive Guide: Powerful and Scalable Data Storage.
Amanda Coles, Andrew Coles, Maria Fox, Derek Long, Forward-Chaining Partial-Order Planning, in: ICAPS 2010 - Proceedings of the 20th International Conference on Automated Planning and Scheduling, 2010, pp. 42–49.
Michael Cashmore, Maria Fox, Derek Long, Daniele Magazzeni, A compilation of the full PDDL+ language into SMT, in: Workshops at the Thirtieth AAAI Conference on Artificial Intelligence, 2016.
aiplan4eu, AIPLAN4EU/unified-planning: The AIPLAN4EU Unified Planning Library, GitHub.
- VHPOP: Versatile heuristic partial order planner.J. Artificial Intelligence Res. 2003; 20: 405-430
Steve Macenski, Francisco Martín, Ruffin White, Jonatan Ginés Clavero, The Marathon 2: A Navigation System, in: 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems, IROS, 2020.
- KANT: A tool for grounding and knowledge management.in: Ferrández Vicente José Manuel Álvarez-Sánchez José Ramón de la Paz López Félix Adeli Hojjat Bio-Inspired Systems and Applications: From Robotics to Ambient Intelligence. Springer International Publishing, Cham2022: 452-461
- YASMIN: Yet another state machine.in: Tardioli Danilo Matellán Vicente Heredia Guillermo Silva Manuel F. Marques Lino ROBOT2022: Fifth Iberian Robotics Conference. Springer International Publishing, Cham2023: 528-539
- A short review of symbol grounding in robotic and intelligent systems.KI-Künstliche Intelligenz. 2013; 27: 129-136
Article info
Publication history
Footnotes
The code (and data) in this article has been certified as Reproducible by Code Ocean: (https://codeocean.com/). More information on the Reproducibility Badge Initiative is available at https://www.elsevier.com/physical-sciences-and-engineering/computer-science/journals.
Identification
Copyright
User license
Creative Commons Attribution (CC BY 4.0) |
Permitted
- Read, print & download
- Redistribute or republish the final article
- Text & data mine
- Translate the article
- Reuse portions or extracts from the article in other works
- Sell or re-use for commercial purposes
Elsevier's open access license policy