Abstract
High-quality and efficient simulation is a critical component of robotics development and research. Currently, simulations for multi-robot systems are split across several independent tools, such as Gazebo for physics and mobility, ROS2 for software development, and ns-3 for communications and networking infrastructure. Those are mature, well-tested tools worth reusing that implement different modeling techniques, interfaces, and, more importantly, time-passing representation strategies; Gazebo uses fixed time steps and ns-3 discrete events. This article presents CoCoSim, a framework that integrates both simulators to allow multi-robot co-simulation, capable of running experiments that combine all the involved robotic systems. We show how the time synchronization and data exchange between the simulators that keeps a consistent state across them is achieved with minimal modifications to their original code.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Acharya, S., Bharadwaj, A., Simmhan, Y., Gopalan, A., Parag, P., Tyagi, H.: CORNET: a co-simulation middleware for robot networks. In: 2020 International Conference on COMmunication Systems and NETworkS, COMSNETS 2020, pp. 245–251 (2020). https://doi.org/10.1109/COMSNETS48256.2020.9027459
Arkin, R.C., Arkin, R.C., et al.: Behavior-Based Robotics. MIT Press, Cambridge (1998)
Baidya, S., Shaikh, Z., Levorato, M.: FlyNetSim. In: Proceedings of the 21st ACM International Conference on Modeling, Analysis and Simulation of Wireless and Mobile Systems, pp. 37–45. ACM, New York (2018). https://doi.org/10.1145/3242102.3242118. https://dl.acm.org/doi/10.1145/3242102.3242118
Calvo-Fullana, M., Mox, D., Pyattaev, A., Fink, J., Kumar, V., Ribeiro, A.: ROS-NetSim: a framework for the integration of robotic and network simulators. IEEE Robot. Autom. Lett. 6(2), 1120–1127 (2021). https://doi.org/10.1109/LRA.2021.3056347
DDS Foundation: OMG Data Distribution Service (DDS™). https://www.dds-foundation.org/what-is-dds-3/. Accessed 30 July 2022
Eclipse Foundation: Eclipse Cyclone DDS™. https://projects.eclipse.org/projects/iot.cyclonedds. Accessed 31 July 2022
Koenig, N., Howard, A.: Design and use paradigms for gazebo, an open-source multi-robot simulator. In: 2004 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (IEEE Cat. No. 04CH37566), vol. 3, pp. 2149–2154. IEEE (2004)
Kudelski, M., Gambardella, L.M., Di Caro, G.A.: RoboNetSim: a integrated framework for multi-robot and network simulation. Robot. Auton. Syst. 61(5), 483–496 (2013). https://doi.org/10.1016/j.robot.2013.01.003
Liboni, G., Deantoni, J., Portaluri, A., Quaglia, D., De Simone, R.: Beyond time-triggered co-simulation of cyber-physical systems for performance and accuracy improvements. In: Proceedings of the Rapido 2018 Workshop on Rapid Simulation and Performance Evaluation: Methods and Tools, pp. 1–8 (2018)
Murphy, R.: Introduction to AI Robotics, 1st edn. MIT Press, Cambridge (2000)
Pinciroli, C., et al.: ARGoS: a modular, multi-engine simulator for heterogeneous swarm robotics. In: 2011 IEEE/RSJ International Conference on Intelligent Robots and Systems, pp. 5027–5034 (2011)
Quigley, M., et al.: ROS: an open-source robot operating system. In: ICRA Workshop on Open Source Software, Kobe, Japan, vol. 3, p. 5 (2009)
Riley, G., Henderson, T.: The ns-3 network simulator. In: Wehrle, K., Güneş, M., Gross, J. (eds.) Modeling and Tools for Network Simulation, pp. 15–34. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-12331-3_2
Siciliano, B., Khatib, O. (eds.): Springer Handbook of Robotics. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-32552-1
Thomas, D., Woodall, W., Fernandez, E.: Next-generation ROS: building on DDS. In: ROSCon Chicago 2014, Mountain View, CA. Open Robotics (2014). https://doi.org/10.36288/ROSCon2014-900183. https://vimeo.com/106992622
Acknowledgments
This work is partially supported by the project Co-simulación en Sistemas Ciber-Físicos funded by CSIC-UdelaR.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Richart, M., Velázquez, F., Ciuffardi, F., Visca, J., Baliosian, J. (2023). CoCoSim: A Tool for Co-simulation of Mobile Cooperative Robots. In: Masci, P., Bernardeschi, C., Graziani, P., Koddenbrock, M., Palmieri, M. (eds) Software Engineering and Formal Methods. SEFM 2022 Collocated Workshops. SEFM 2022. Lecture Notes in Computer Science, vol 13765. Springer, Cham. https://doi.org/10.1007/978-3-031-26236-4_22
Download citation
DOI: https://doi.org/10.1007/978-3-031-26236-4_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-26235-7
Online ISBN: 978-3-031-26236-4
eBook Packages: Computer ScienceComputer Science (R0)