Simple Concurrency for Robotics with the Roboscoop Framework

Total Page:16

File Type:pdf, Size:1020Kb

Simple Concurrency for Robotics with the Roboscoop Framework Simple Concurrency for Robotics with the Roboscoop Framework Andrey Rusakov Jiwon Shin Bertrand Meyer Chair of Software Engineering Department of Computer Science ETH Zurich,¨ Switzerland fandrey.rusakov, jiwon.shin, [email protected] Abstract— Concurrency is inherent to robots, and using enables even novice programmers to program concurrent concurrency in robotics can greatly enhance performance of the robotic software. Current Roboscoop contains behaviors and robotics applications. So far, however, the use of concurrency in tools necessary for the operation of differential drive robots robotics has been limited and cumbersome. This paper presents Roboscoop, a new robotics framework based on Simple Concur- and has been tested on two different robots. rent Object Oriented Programming (SCOOP). SCOOP excludes This paper is organized as follows: After presenting related data races by construction, thereby eliminating a major class of work in Section II, the paper presents the core of Roboscoop concurrent programming errors. Roboscoop utilizes SCOOP’s framework in Section III. Section IV presents an example of concurrency and synchronization mechanisms for coordination using Roboscoop for the task of exploring an unknown area. in robotics applications. We demonstrate Roboscoop’s simplicity by comparing Roboscoop to existing middlewares and evaluate Section V compares Roboscoop against other middlewares Roboscoop’s usability by employing it in education. and also presents an evaluation of Roboscoop in education. The paper concludes with final remarks in Section VI. I. INTRODUCTION Advanced robotic systems are composed of many com- II. RELATED WORK ponents that can operate concurrently. Running these com- In the last decade, many middlewares have been pro- ponents concurrently would enable robots to meet their full posed to ease the development of robotic coordination and potential. Researchers have noticed the value of concurrency control. Some of the more popular middlewares include in robotics three decades ago. Kanayama [1] proposed a Urbi [3], MOOS [4], Microsoft Robotics Developer Stu- simple message passing mechanism to synchronize a robot’s dio [5], ROS [6], and LCM [7]. Two recent surveys [8], [9] multiprocessing units, and Ingemar and Gehani [2] showed provide a comprehensive overview and comparison of mid- how Concurrent C, a general purposed language, can be dlewares. In addition, the related work section of MIRA [10] applied in robotics. Despite the early effort, little progress provides a compact survey of middlewares with the largest has been made in using concurrency in robotics. impact. Here, we highlight how they compare to Roboscoop. Introducing concurrency to robotics poses a great chal- Section V-A presents a more-detailed comparison. lenge. Enabling concurrency in a robotic system requires its Mission Orientated Operating Suite (MOOS) uses software to support concurrent execution. Traditional concur- store/fetch mechanism for message-passing. Robot Operat- rent programming techniques such as standard ”threading li- ing System (ROS) uses a combination of publish/subscribe braries” do not, however, offer any safety guarantees. Hence, and service-based message-passing models. The Lightweight the programmer must write concurrent programs carefully to Communications and Marshalling (LCM) utilizes only a pub- avoid common pitfalls of concurrency such as data races and lish/subscribe message-passing model and additional mar- deadlocks. Consequently, most robotic software make only shalling tools to support low-latency applications. MIRA, elementary use of concurrency or avoid it all together. a recently introduced robotics middleware with a focus on This paper introduces Roboscoop, a new robotics frame- performance, also uses publish/subscribe message-passing work based on Simple Concurrent Object Oriented Program- model and supports multi-threaded accesses through slots. ming (SCOOP). Unlike standard approaches that are complex While all these middlewares concentrate on the inter-process and error-prone and require additional qualifications, SCOOP communication, Roboscoop does coordination and concur- makes concurrency simple and safe. SCOOP is free of data rency on the level of a single application. MOOS, ROS, races by construction. Built on top of SCOOP, Roboscoop en- and LCM applications can be written in general-purpose ables programmers to express robot’s behaviors in a natural languages such as C++ and Java, and their application way without worrying about the program’s safety. In addition support for concurrency is limited to the standard ”threading to SCOOP’s concurrency and synchronization mechanisms, library” approach. On the contrary, Roboscoop provides the Roboscoop provides a library support for robotics, Behavior- language support for concurrency. Signaler-Controller design for coordination of tasks, and ROS SMACH [11] is a ROS-independent Python library infrastructure for integration with external frameworks. We for building hierarchical state machines for specifying mod- demonstrate Roboscoop’s simplicity by comparing it to ex- els of complex robotic behavior. SMACH supports parallel isting middlewares and present Roboscoop in education that execution of state behaviors, but its applicability is limited to scenarios where all possible states and state transitions can • Library (set of primitives and tools be described explicitly. Concurrency in SMACH is bound Roboscoop for their coordination) to the language support, more precisely, to Python threads. • Integration with other robotics frameworks Roboscoop’s concurrency is based on SCOOP that offers • Object-Oriented Structure simpler and safer concurrency than Python threads. SCOOP • Synchronization • Concurrency Microsoft Robotics Developer Studio (MRDS) is a .NET- C/C++ • Calls to external libraries providing based robotics programming environment that uses the Con- communication, navigation, image processing, currency and Coordination Runtime library for parallelism. Externals coordinate transforms, visualization, … Based on .NET, the library manages asynchronous parallel tasks through message-passing. Unlike MRDS that intro- Fig. 1: The Roboscoop framework structure duces work items, Roboscoop does not have to introduce any additional intermediate abstractions for concurrency. In A. SCOOP – Simple Concurrent Object Oriented Program- Roboscoop, concurrency can be reached on the object level. ming Urbi is a software platform for robotics, which along with SCOOP model [15], [16] is an extension of a standard the C++ support brings urbiscript [12] - a parallel event- sequential object-oriented model, Eiffel, and the Design based object-oriented script language. Urbiscript and SCOOP by Contract paradigm [17] to support concurrency. The go in the same direction by providing tools for coordination model provides a higher level of abstraction through object- and concurrency on the language level. Their difference lies orientation and minimizes common concurrency-specific in their complexity. For concurrency, urbiscript introduces mistakes. Programmers using SCOOP can represent, for a set of unmatched additional mechanisms and syntactic instance, various parts of a robot as objects and manipulate extensions to the language while SCOOP introduces only them concurrently without the burden of threads. SCOOP one additional keyword. eliminates data races by construction. In addition to middlewares, some languages have also been Every object in SCOOP is associated with a certain proposed for robotics. Concurrent C [2] provides concur- processor called its handler, for the object’s entire lifetime. rency on top of a general-purpose language and has been Contrary to CPU, SCOOP processor is just an abstract proposed for usage in robotics. SCOOP’s advantage over independent unit of control and is typically implemented as non-object-oriented concurrency languages such as Con- a thread. Only the object’s handler is allowed to execute current C is its ability of reasoning about different robot features, i.e, a set of possible actions, on the object. Each components as programming objects. This results in more object has exactly one handler, but a single processor can modular design and reusable applications. As a general- handle multiple objects. When two objects are handled by purpose language, SCOOP provides more flexibility than different processors, they are called separate to each other. domain-specific languages. For instance, Task Description separate objects can operate concurrently. Language [13], based on the task tree data structure, has nodes that can contain only commands, goals, monitors, Because features of a separate object can only be executed handler or exceptions. SCOOP used in Roboscoop retains its full by its own handler, it may seem that the is not flexibility of a general-purpose language. allowed to execute features on other separate objects. But if client The Roboscoop framework builds on top of the work by in the scope of the current object ( ), there is a need to supplier client Ramanathan et al. [14]. The authors presented a controller call some feature on a separate object ( ), the supplier for hexapod using SCOOP. Roboscoop is an extension of can ask the to execute it on its behalf. Such a call is separate call SCOOP’s concurrent coordination into a full-fledged robotics named a and it can be executed asynchronously. framework. In addition to SCOOP, it provides a library An object can be separate or non-separate. To distinguish
Recommended publications
  • Survey of Robot Programming Languages
    Survey of Robot Programming Languages Seminar Report Submitted in partial fulfilment of the requirements for the degree of Master of Technology by Anirban Basumallik Roll No : 09305008 under the guidance of Prof. Kavi Arya Department of Computer Science and Engineering Indian Institute of Technology, Bombay April 2010 Abstract At the present moment the field of Robotics is extremely varied. The nature of tasks that robots can perform are very distributed and hence controlling or programming different robots need different methods. Many vendors have tried to provide a common platform by abstracting out the differences. In this report we carry out a survey of the different Robot Programming Languages available in the market and assess their pros and cons. Finally, we come up with the needs of a desirable robotics platform that can ease the task of programmers in programming a class of robots more succinctly and effectively. 1 CONTENTS CONTENTS Contents 1 Introduction 3 1.1 Robot Programming Platform . 3 1.2 Need for a Platform . 3 2 Microsoft Robotics Developer Studio 3 2.1 DSS . 4 2.2 CCR . 5 2.3 VPL . 6 2.4 VSE . 7 2.5 Others . 8 2.6 Pros, Cons and buzz . 8 3 Player/Stage 9 3.1 Player Goals and Design . 9 3.2 Stage simulation environment . 10 3.3 Working . 11 3.4 Pros, Cons and buzz . 12 4 URBI 12 4.1 Design philosophy . 12 4.2 URBI Technology . 13 4.3 Pros, Cons and buzz . 14 5 OROCOS 15 5.1 Design philosophy . 15 5.2 Pros, Cons and buzz .
    [Show full text]
  • GNU/Linux AI & Alife HOWTO
    GNU/Linux AI & Alife HOWTO GNU/Linux AI & Alife HOWTO Table of Contents GNU/Linux AI & Alife HOWTO......................................................................................................................1 by John Eikenberry..................................................................................................................................1 1. Introduction..........................................................................................................................................1 2. Symbolic Systems (GOFAI)................................................................................................................1 3. Connectionism.....................................................................................................................................1 4. Evolutionary Computing......................................................................................................................1 5. Alife & Complex Systems...................................................................................................................1 6. Agents & Robotics...............................................................................................................................1 7. Statistical & Machine Learning...........................................................................................................2 8. Missing & Dead...................................................................................................................................2 1. Introduction.........................................................................................................................................2
    [Show full text]
  • Concurrency Patterns for Easier Robotic Coordination
    Concurrency Patterns for Easier Robotic Coordination Andrey Rusakov∗ Jiwon Shin∗ Bertrand Meyer∗† ∗Chair of Software Engineering, Department of Computer Science, ETH Zurich,¨ Switzerland †Software Engineering Lab, Innopolis University, Kazan, Russia fandrey.rusakov, jiwon.shin, [email protected] Abstract— Software design patterns are reusable solutions to Guarded suspension – are chosen for their concurrent nature, commonly occurring problems in software development. Grow- applicability to robotic coordination, and evidence of use ing complexity of robotics software increases the importance of in existing robotics frameworks. The paper aims to help applying proper software engineering principles and methods such as design patterns to robotics. Concurrency design patterns programmers who are not yet experts in concurrency to are particularly interesting to robotics because robots often have identify and then to apply one of the common concurrency- many components that can operate in parallel. However, there based solutions for their applications on robotic coordination. has not yet been any established set of reusable concurrency The rest of the paper is organized as follows: After design patterns for robotics. For this purpose, we choose six presenting related work in Section II, it proceeds with a known concurrency patterns – Future, Periodic timer, Invoke later, Active object, Cooperative cancellation, and Guarded sus- general description of concurrency approach for robotics pension. We demonstrate how these patterns could be used for in Section III. Then the paper presents and describes in solving common robotic coordination tasks. We also discuss detail a number of concurrency patterns related to robotic advantages and disadvantages of the patterns and how existing coordination in Section IV.
    [Show full text]
  • Architecture of a Software System for Robotics Control
    Architecture of a software system for robotics control Aleksey V. Shevchenko Oksana S. Mezentseva Information Systems Technologies Dept. Information Systems Technologies Dept. Stavropol City, NCFU Stavropol City, NCFU [email protected] [email protected] Dmitriy V. Mezentsev Konstantin Y. Ganshin Information Systems Technologies Dept. Information Systems Technologies Dept. Stavropol City, NCFU Stavropol City, NCFU [email protected] [email protected] Abstract This paper describes the architecture and features of RoboStudio, a software system for robotics control that allows complete and simulta- neous monitoring of all electronic components of a robotic system. This increases the safety of operating expensive equipment and allows for flexible configuration of different robotics components without changes to the source code. 1 Introduction Today, there are no clear standards for robotics programming. Each manufacturer creates their own software and hardware architecture based on their own ideas for optimizing the development process. Large manufacturers often buy their software systems from third parties, while small ones create theirs independently. As a result, the software often targets a specific platform (more often, a specific modification of a given platform). Thus, even minor upgrades of an existing robotic system often require a complete software rewrite. The lack of universal software products imposes large time and resource costs on developers, and often leads to the curtailment of promising projects. Some developers of robotic systems software partially solve the problem of universal software using the free Robotics Operation System (ROS), which also has limitations and is not always able to satisfy all the requirements of the manufacturers. 2 Equipment The research was conducted using two robots produced by the SPA "Android Technics" the "Mechatronics" stand and the full-size anthropomorphic robot AR-601E (figure 1).
    [Show full text]
  • Improvements in the Native Development Environment for Sony AIBO
    Special Issue on Improvements in Information Systems and Technologies Improvements in the native development environment for Sony AIBO Csaba Kertész Tampere University of Applied Sciences (TAMK), Research Department, Tampere, Finland Vincit Oy, Tampere, Finland installing a new bootloader. With these changes, i-Cybie can Abstract — The entertainment robotics have been on a peak be programmed in C under Windows and the sensors are with AIBO, but this robot brand has been discontinued by the accessible, but the SDK was abandoned in pre-alpha state with Sony in 2006 to help its financial position. Among other reasons, frequent freezes and almost no documentation. the robot failed to enter into both the mainstream and the robotics research labs besides the RoboCup competitions, A South Korean company (Dongbu Robot) sells a robot dog however, there were some attempts to use the robot for [3], which has a similar hardware configuration to AIBO, but rehabilitation and emotional medical treatments. A native Genibo does not have an open, low level software software development environment (Open-R SDK) was provided development environment, making impractical for researches. to program AIBO, nevertheless, the operating system (Aperios) Currently, there is no such an advanced and highly induced difficulties for the students and the researchers in the sophisticated quadruped system on the market like AIBO. If software development. The author of this paper made efforts to update the Open-R and overcome the problems. More the shortcomings of the software environment can be fixed, the enhancements have been implemented in the core components, robot can be used for upcoming research topics.
    [Show full text]
  • Programming Robots for Activities of Everyday Life
    Thesis for The Degree of Licentiate of Engineering Programming Robots for Activities of Everyday Life Swaib Dragule Division of Software Engineering Department of Computer Science & Engineering Chalmers University of Technology and Gothenburg University Gothenburg, Sweden, 2021 Programming Robots for Activities of Everyday Life Swaib Dragule Copyright ©2021 Swaib Dragule except where otherwise stated. All rights reserved. Department of Computer Science & Engineering Division of Software Engineering Chalmers University of Technology and Gothenburg University Gothenburg, Sweden This thesis has been prepared using LATEX. Printed by Chalmers Reproservice, Gothenburg, Sweden 2021. ii ”Smiling to someone is an act of charity.” - Prophet Muhammad (P.B.U.H) iv v Abstract Text-based programming remains a challenge to novice programmers in all programming domains, including robotics. The use of robots is gaining considerable traction in several domains since robots are capable of assisting humans in repetitive and hazardous tasks. Soon robots will commonly be used in tasks-of-everyday-life in homes, hotels, airports, and museums. However, robotic missions have been either predefined or programmed using low-level APIs, making mission specification task-specific and error-prone. To harness the full potential of robots, it must be possible to define missions for specific application domains as needed. The specification of missions of robotic applications should be performed via easy-to-use, accessible ways, and at the same time, be accurate and unambiguous. Simplicity and flexibility in programming such robots are important since end-users come from diverse domains, not necessarily with sufficient programming knowledge. The main objective of this licentiate thesis is to empirically understand the state-of-the-art in languages and tools used for specifying robot missions by end-users.
    [Show full text]
  • Tag: Job Control in Urbiscript
    Tag: Job Control in urbiscript Jean-Christophe Baillie Akim Demaille Quentin Hocquet Matthieu Nottale May 7, 2010 Abstract The Urbi software platform for the development of applications for robots relies heavily on concur- rency. While concurrent programs have existed for decades, there is still no universal consensus for the proper means to control the complexity of parallelism. This paper presents some innovating features of Urbi: syntactic constructs to support concurrent jobs, and tags, used to control them. Urbi SDK is a software platform used to develop portable applications for robotics and artificial intel- ligence (Baillie, 2005). It is based on UObjects, a distributed component architecture, and on urbiscript, a parallel and event-driven scripting language. It’s current architecture has already described elsewhere (Baillie et al., 2008), this paper focuses on one specific feature of urbiscript: job control. Today, any computer runs many programs concurrently. The Operating System is in charge of provid- ing each process with the illusion of a fresh machine for it only, and of scheduling all these concurrent processes. In robots, jobs not only run concurrently, they collaborate. Each process is a piece of a complex behavior that emerges from the coordination/orchestration of these jobs. The Urbi platform aims to provide the developers with a convenient framework to orchestrate concur- rent, collaborating, tasks. Outline Section 1 introduces some of the features of urbiscript for parallel programming; it concludes on the common need for a high-level job control. Section 2 presents tags, the cornerstone of job control in Urbi. A real world example is presented in Section 3: safe interruption of the Nao walk.
    [Show full text]
  • Programming Robots with Events Truong Giang Le, Dmitriy Fedosov, Olivier Hermant, Matthieu Manceny, Renaud Pawlak, Renaud Rioboo
    Programming Robots With Events Truong Giang Le, Dmitriy Fedosov, Olivier Hermant, Matthieu Manceny, Renaud Pawlak, Renaud Rioboo To cite this version: Truong Giang Le, Dmitriy Fedosov, Olivier Hermant, Matthieu Manceny, Renaud Pawlak, et al.. Programming Robots With Events. 4th International Embedded Systems Symposium (IESS), Jun 2013, Paderborn, Germany. pp.14-25, 10.1007/978-3-642-38853-8_2. hal-00924489 HAL Id: hal-00924489 https://hal.inria.fr/hal-00924489 Submitted on 7 Jan 2014 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Distributed under a Creative Commons Attribution| 4.0 International License Programming Robots with Events Truong-Giang Le1, Dmitriy Fedosov2, Olivier Hermant3, Matthieu Manceny1, Renaud Pawlak4, and Renaud Rioboo5 1 LISITE - ISEP, 28 rue Notre-Dame des Champs, 75006 Paris, France 2 Saint-Petersbourg University of Aerospace Instrumentation, 67 Bolshaya Morskaya street, 190000, Saint Petersburg, Russia 3 CRI - MINES ParisTech, 35 rue ST-Honor´e, 77300 Fontainebleau, France 4 IDCapture, 2 rue Duphot, 75001 Paris, France 5 ENSIIE, 1 square de la R´esistance, F-91025 Evry´ CEDEX, France {le-truong.giang,matthieu.manceny}@isep.fr, {dvfdsv,renaud.pawlak}@gmail.com, [email protected], [email protected] Abstract.
    [Show full text]
  • Robotstadium: Online Humanoid Robot Soccer Simulation Competition
    RobotStadium: Online Humanoid Robot Soccer Simulation Competition Olivier Michel1,YvanBourquin1, and Jean-Christophe Baillie2 1 Cyberbotics Ltd., PSE C - EPFL, 1015 Lausanne, Switzerland [email protected], [email protected] http://www.cyberbotics.com 2 Gostai SAS, 15 rue Vergniaud 75013 Paris, France [email protected] http://www.gostai.com Abstract. This paper describes robotstadium: an online simulation con- test based on the new RoboCup Nao Standard League. The simulation features two teams with four Nao robots each team, a ball and a soccer field corresponding the specifications of the real setup used for the new RoboCup Standard League using the Nao robot. Participation to the contest is free of charge and open to anyone. Competitors can simply register on the web site and download a free software package to start programming their team of soccer-playing Nao robots. This package is based on the Webots simulation software, the URBI middleware and the Java programming language. Once they have programmed their team of robots, competitors can upload their program on the web site and see how their team behaves in the competition. Matches are run every day and the ranking is updated accordingly in the ”hall of fame”. New simulation movies are made available on a daily basis so that anyone can watch them and enjoy the competition on the web. The contest is running online for a given period of time after which the best ranked competitors will be selected for a on-site final during the next RoboCup event. This contest is sponsored by The RoboCup federation, Aldebaran Robotics, Cyberbotics and Gostai.
    [Show full text]
  • Software Architecture for an Exploration Robot Based on Urbi
    Software architecture for an exploration robot based on Urbi Jean-Christophe Baillie, Akim Demaille, Guillaume Duceux, David Filliat, Quentin Hocquet, Matthieu Nottale To cite this version: Jean-Christophe Baillie, Akim Demaille, Guillaume Duceux, David Filliat, Quentin Hocquet, et al.. Software architecture for an exploration robot based on Urbi. 6th National Conference on Control Architectures of Robots, INRIA Grenoble Rhône-Alpes, May 2011, Grenoble, France. 12 p. inria- 00599674 HAL Id: inria-00599674 https://hal.inria.fr/inria-00599674 Submitted on 10 Jun 2011 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Software architecture for an exploration robot based on Urbi Jean-Christophe Baillie1 Akim Demaille1 Guillaume Duceux1,2 David Filliat2 Quentin Hocquet1 Matthieu Nottale1 1Gostai S.A.S., 15 rue Jean-Baptiste Berlier, 75013 Paris. 2ENSTA ParisTech, Unit´e Electronique´ et Informatique, 32 boulevard Victor,75739 Paris Cedex 15. May 10, 2011 Abstract We present the software architecture of a mobile robot whose goal is to autonomously explore an unknown indoor environment and to build a semantic map containing high-level information. This robot was developed under the Panoramic and Active Camera for Ob- ject Mapping (PACOM) project whose goal is to participate in the French exploration and mapping contest CAROTTE.
    [Show full text]
  • Nao®, the Ideal Partner for Research and Education
    ACADEMICS EDITION NAO®, THE IDEAL PARTNER FOR RESEARCH Fully programmable AND EDUCATION IN THE FIELD OF ROBOTICS Multiple sensors Onboard computer Remote control Friendly design and lightweight Nao Academics Edition key features - 25 Degrees of Freedom - Two prehensile hands - x86 AMD Geode 500 Mhz CPU - 256 MB SDRAM / 2 GB Flash memory - Wi-Fi 802.11b and ethernet port - 2x 30 FPS CMOS videocam res. 640x480 - Vision processing capacities - Two loudspeakers and English vocal synthesis - Supports multiple programming environments Comes with software and complete documentation After 3 years of research, Aldebaran RoboticsTM has developed Nao® a 58 cm (23’’) tall biped robot. It’s a unique combination of hardware and software in a great design. Nao stands tall in all points amongst its robotic brethren. The hardware has been built from the ground up with the latest technologies providing great fluidity in its movements and offering a wide range of sensors. Platform agnostic, it can be programmed and controlled using Linux, Windows or Mac OS and comes with complete software and documentation. All-in-one MOVEMENT humanoid Nao comes with 25 degrees of freedom for great mobility. The inertial sensor provides great stability while moving and enables positioning within space. Sonars and FSRs allow Nao to detect its environment and to navigate seamlessly. robot His state-of-the-art onboard actuators give Nao extreme precision in its movements. INTERACTION Nao features embedded software modules allowing text to speech, sound localization, visual pattern and coloured shape detection, obstacle detection (based on the two channel sonar system) and visual effects or communication through the many LEDs.
    [Show full text]
  • A Scripting-Based Approach to Robot Behavior Engineering Using Hierarchical Generators
    A Scripting-based Approach to Robot Behavior Engineering Using Hierarchical Generators Thijs Jeffry de Haas, Tim Laue and Thomas Rofer¨ Abstract— When developing software for autonomous robots, The contribution of this paper is a domain-specific langua- the aspect of behavior engineering is, among tasks such as sen- ge called b-script to describe hierarchical agent behaviors sing, state estimation, and motion control, of major importance. using the programming concept of generators. We show that Current solutions range from basic behavior-based approaches to sophisticated reasoning systems, in each case depending on it is a convenient way to use hierarchical continuation-based the complexity of the robot’s task as well as the available routines to realize complex robot behaviors in an intuitive amount of computing time. In this paper, we present a behavior and clean way and that it can be used in large-scale appli- specification language, which is called b-script, to describe cations. This is achieved by using a specialized generator hierarchical agent behaviors using the programming concept implementation, similar to Python’s generators, including of generators. We show that this is a convenient approach to realize complex robot behaviors in an intuitive and clean implicit context maintenance. The language is in particular way that can be used in large-scale. Furthermore, the actual suited to be used on resource restricted embedded systems, implementation of this language is in particular suited to be such as the Nao robot [5], and was already successfully used on resource-restricted embedded systems. This is shown applied in actual competitions of the RoboCup [6] Standard in different examples of a Nao robot in a robot soccer scenario.
    [Show full text]