Integration of Robot Operating System and Ptolemy for Design of Real-Time Multi-robots Environments

  • Luis Feliphe Silva Costa
  • Alisson V. Brito
  • Tiago P. Nascimento
  • Thiago Henrique Menezes Bezerra
Conference paper
Part of the IFIP Advances in Information and Communication Technology book series (IFIPAICT, volume 523)


This work presents a technique for designing of real-time systems embedded applied to multi-robots scenarios, exploiting High-Level Architecture (HLA) standard for interoperability and simulation platforms, and Robot Operating System (ROS) with Robot-in-the-Loop simulations. The goal is to integrate existing consolidated standards and tools, rather than separately design and later hardly integrate. Through HLA, heterogeneous simulations can be synchronously co-simulated, enabling the joint execution of consolidated embedded system design tools for dedicated tasks, like, network simulation, circuits and algorithms design, etc. In parallel, ROS simplifies the task of creating complex robots across a wide variety of platforms. A bridge has been developed to provide an interface among HLA and ROS, exchanging data and keeping both synchronized. As proof of concept, the Ptolemy framework for Embedded System design has been integrated to Stage, a ROS compatible robotic simulator for 2D environments. This innovative integration has been successfully developed and validated, which enables future generalizations and opens opportunities to co-simulation of diverse tools for designing of embedded and robotics systems.


Co-simulation Robotics Embedded systems Real-time systems 


  1. 1.
    Ptolemaeus, C. (ed.): System Design, Modeling, and Simulation using Ptolemy II., Berkeley (2014). Scholar
  2. 2.
    Quigley, M., Conley, K., Gerkey, B., Faust, J., Foote, T., Leibs, J., Wheeler, R., Ng, A.Y.: ROS: an open-source robot operating system. In: ICRA Workshop on Open Source Software, vol. 3, no. 3.2, p. 5 (2009)Google Scholar
  3. 3.
    Kerr, J., Nickels, K.: Robot operating systems: bridging the gap between human and robot. In: 2012 44th Southeastern Symposium on in System Theory (SSST), pp. 99–104, March 2012Google Scholar
  4. 4.
    Bacic, M.: On hardware-in-the-loop simulation. In: 2005 44th IEEE Conference on Decision and Control and European Control Conference, CDC-ECC 2005, pp. 3194–3198, December 2005Google Scholar
  5. 5.
    Hu, X., Zeigler, B.P.: Measuring cooperative robotic systems using simulation-based virtual environment. In: Performance Metrics for Intelligent Systems Workshop (PerMIS), August 2004Google Scholar
  6. 6.
    Roth, C., Bucher, H., Brito, A., Sander, O., Becker, J.: A simulation tool chain for investigating future v2x-based automotive e/e architectures, vol. 1, no. 1, pp. 1739–1748, February 2014Google Scholar
  7. 7.
    Hu, X.: Applying robot-in-the-loop-simulation to mobile robot systems. In: 2005 Proceedings of the 12th International Conference on Advanced Robotics, ICAR 2005, pp. 506–513, July 2005Google Scholar
  8. 8.
    Brito, A.V., Negreiros, A.L.V., Roth, C., Sander, O.: Development and evaluation of distributed simulation of embedded systems using Ptolemy and HLA. In: 17th IEEE/ACM International Symposium on Distributed Simulation and Real Time Applications (2013)Google Scholar
  9. 9.
    Júnior, J.C.V.S., Brito, A.V., Nascimento, T.P.: Verification of embedded system designs through hardware-software co-simulation. Int. J. Inf. Electron. Eng. 5(1) (2015).
  10. 10.
    ROS: Rospy wiki, November 2014.
  11. 11.
    Nongnu: Pyhla - python bindings for M&S HLA, November 2014.
  12. 12.
    IEEE: IEEE standard for modeling and simulation - high level architecture (HLA) - federate interface specification. IEEE Std 1516.1-2010 (Revision of IEEE Std 1516.1-2000), pp. 1–378 (2010)Google Scholar
  13. 13.
    Brito, A., Negreiros, A., Roth, C., Sander, O., Becker, J.: Development and evaluation of distributed simulation of embedded systems using Ptolemy and HLA. In: 2013 IEEE/ACM 17th International Symposium on Distributed Simulation and Real Time Applications (DS-RT), pp. 189–196, October 2013Google Scholar
  14. 14.
    de Negreiros, A.L.V., Brito, A.V.: Analise da aplicacao de simulacao distribuida no projeto de sistemas embarcados. In: Simposio Brasileiro de Sistemas de Informacao (2013)Google Scholar
  15. 15.
    Savannah: CERTI resumo, November 2014.

Copyright information

© IFIP International Federation for Information Processing 2017

Authors and Affiliations

  1. 1.Federal University of Paraiba (UFPB)Joao PessoaBrazil

Personalised recommendations