Design Principles for a Universal Robotic Software Platform and Application to URBI

Design Principles for a Universal Robotic Software Platform and Application to URBI

Design Principles for a Universal Robotic Software Platform and Application to URBI Jean-Christophe Baillie Abstract— The number of generic robots available today on characteristics of URBI and compare it to other existing the market is increasing significantly. While this represents a software platforms. great opportunity to carry on research using advanced robotic devices, including humanoid robots, there is still a serious II. WHAT ARE THE KEY REQUIREMENTS FOR A limitation: all these robots are totally incompatible in term of software, and they are generally quite hard to program, lacking UNIVERSAL ROBOTIC SOFTWARE PLATFORM? the proper abstractions and properties needed in robotics. We The challenge that we are going to investigate is: how will present here a discussion on possible design rules for such could we design and promote a universal robotic software a universal software platform and review a few already existing platforms with these criteria in mind. We will also introduce the platform in the research community, what are the key re- URBI platform which is the result of our effort in an attempt quirement for such a platform? to design a universal platform following these guidelines. As a guideline, there are three main questions that we should keep in mind when we investigate the potential I. INTRODUCTION features: are these features necessary, acceptable and usable Looking at what happens today in Japan, Korea and the by the community? US, it appears that the number of generic robots available • Being necessary is an obvious requirement, however on the market will be increasing significantly in the coming sometimes overlooked by “over-featured” solutions that years [9]. By ”generic robots”, we mean robots not specif- can drawn the user in useless complexity. ically designed for an industrial task but general purpose • Being acceptable means that the community can realis- robots, commonly usable in labs for research. Many of these tically accept to use this feature which by essence cre- robots, including humanoid robots, integrate cameras, wifi ates certain constraints or enforces a point of view. For and on-board computers, and most of them are available for example, forcing the use of the C language exclusively an affordable price. This is a great opportunity for research or forcing the use of a very constrained class-based but while the hardware is making progresses, there is still architecture will not be acceptable by many users. no clear generic software platform emerging that could make • Finally, usability means that, however necessary and these robots compatible and bring the benefits of cross-robot acceptable the feature is, it should be relatively easy compatibility and component reuse. This is a major issue and to understand and integrate. The risk is otherwise to several studies have highlighted the benefits of having such have a kind of ”complexity barrier” that prevents the a universal software platform [4], [8], [5], [6]. widespread usage of the platform. Of course, robot programming can be done in C++, even in C, and to a certain extend every software platform is Breaking one of the three above requirements might be formally identical. But we believe that the debate should not one the main reasons why we have not seen any successful be between using Java vs C++, or using a given technology platform emerging yet. vs another. The important question is to think about good We detail below four key characteristics that we believe are properties of such a universal platform that would facilitate required for a successful universal platform and whose im- its adoption by a vastly heterogeneous community, mostly plementation should fit with the necessary/acceptable/usable knowledgeable and sometimes already on-track with a soft- constraints presented above. ware platform of their own. How could such a paradox be A. Flexibility solved: to have a universal but also very flexible platform, which still brings value added in the process and does Being flexible means that the platform should be working not stand just as an empty shell, while providing a clear with any operating system, be interfaced easily with any orientation towards robotics. This will be the topic of our programming language and of course be suitable for any discussion in this article. type of robotic application. We claim that the URBI software platform developed in A non flexible platform will typically enforce several our lab makes a significant progress in the direction of design choices and will, to a certain extend, constrain the user such a universal platform. We will shortly present the key into a predefined way. While this has the advantage to im- prove general coherence and structure, it is also generally not This work was supported by Gostai S.A.S., France acceptable (in the sense defined above) by the community. J.C. Baillie is with the National Institute of Advanced Technologies, Cognitive Robotics Lab, 75015 Paris, France In fact, many research topics are precisely about finding a [email protected] good architecture, a good paradigm or structure for robotics. One can always bypass these constraints but at the cost of brought something new to modular development. The bene- heavy custom-made layers. The difficulty here is that most fits of the abstractions available in C++ today compared to C platform developers claim to have a flexible solution, in the are now widely recognized, even if some resistance existed sense that it is possible to do anything with it, as long as at the beginning, and we claim that such a paradigm shift one is ready to put enough effort in the process. A C++ is needed for robotics as well, to integrate parallelism and library, like OPENR on the Aibo[10], is a good example. event-based programming at the core of the platform. Here, the notion of usability that we have introduced before Introducing some smart C++ classes to handle parallelism plays a central role. The flexility must be easy to implement, will raise the problem of flexibility. Theses classes will natural (using well known concepts, like objet oriented not be available in Python, Java or Matlab and, even if programming) and possibly transparent: no need to read a it is possible, a important effort would have to be done long documentation to know how to use it, and no need to provide a unified set of abstractions for all possible to develop, port or recreate preliminary tools/interfaces to languages. A intermediary programming scripting language, benefit from it. with proper interfaces with other languages and integration of Note that non-flexible platforms have been imposed al- parallel and event-driven abstractions is the direction we have ready in other domains, like desktop computers, but there chosen. More and more, scripting languages are used as glue was already a quasi monopolistic player to enforce it, which between other compiled languages. Python or Ruby are two is not the case today for robotics. So we believe that a non- famous examples. What these languages lack however for the flexible platform (in the usable sense) will unlikely become moment is the necessary abstractions adapted for robotics, at a widely used universal robotic platform. least with a sufficient level of usability, as described above. B. Modularity D. Simplicity The above requirements generally tend to give birth to Modularity adds the possibility to plug components in the very complicated software architectures which are confusing platform to extend its capabilities. This is necessary to be and prevent the users to adopt them. Simplicity for usability able to start cooperations between labs and the industry, by is a requirement of both the modular component architecture developing and reusing modules for robotics. It is the basis and of the core platform technology in general. of a software industry for robotics. The need for modularity It is of course hard to assess what is difficult and what is widely recognized, see for example [11], [15], [12]. is simple, it will highly depend on the level of experience Modularity is also imperative to move towards plug&play of the user. This criteria can only be enforced by following hardware components for robotics. some common sense principle: reuse notions that exist, limit Again, this constraint will be acceptable only if it is very the number of abstractions, build layered architectures where easy to deploy. Anyone should be able to develop compo- the complexity of the knowledge necessary to perform a task nents and the unavoidable structuring constraints should be is proportional to the complexity of the task, etc. reduced to the minimal, for the solution to be usable. It is however possible to measure the level of simplicity reached once the platform has been released by looking at C. Powerful abstractions for robotics the average user appreciation. This measure should be done Robotics is unlike classical computer related domains. The by any platform developer to validate his approach. main difference is that robots have to explore hypotheses, runs things in parallel, react to events at various levels and III. ADOPTION STRATEGIES generally speaking integrate vastly more software technolo- Beyond the technical questions mentioned above, the gies than a regular PC. Among the important technical dif- question of the promotion of the platform is a generally ferences, parallelism and event-based programming are two underestimated problem. The issue is not only to have the core requirement in any robotic application. The underlying platform adopted by the research community but also by platform must support these abstractions natively. robot manufacturers. Relying on standardization comities Thread-based libraries on top of C++ or other languages is a long and uncertain process, and releasing open-source do not offer the appropriate abstraction needed for robotics.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us