Computer Science ›› 2020, Vol. 47 ›› Issue (11A): 593-598.doi: 10.11896/jsjkx.200300131

• Interdiscipline & Application • Previous Articles     Next Articles

Study on Simulation Optimization of Gazebo Based on Asynchronous Mechanism

ZENG Lei1, LI Hao2, LIN Yu-fei2, ZHANG Shuai2   

  1. 1 Tianjin Artificial Intelligence Innovation Center,Tianjin 300457,China
    2 The Academy of Military Science,Beijing 100000,China
  • Online:2020-11-15 Published:2020-11-17
  • About author:ZENG Lei,born in 1989,master.His main research interests include compu-ter simulation and high performance computing.
    LI Hao,born in 1990,Ph.D,assistant researcher.His main research interests include parallel computing,robotics and computer simulation.

Abstract: In the process of large-scale robot simulation,in order to ensure the accuracy of simulation,the propulsion mechanism based on time step is usually adopted.In this mechanism,the simulation accuracy can be flexibly controlled by adjusting the simulation time step.However,when the simulation scale is large,a large number of plug-in codes for updating posture or state need to be executed in the way of synchronous blocking in each iteration of the simulation cycle,which reduces the performance of the simulation.In order to solve the contradiction between the accuracy and performance of this large-scale robot simulation,an optimization scheme based on asynchronous strategy is proposed,and the optimization scheme is designed and implemented in the popular robot simulator Gazebo.Finally,the validity of the scheme is verified based on the case of the fixed wing of rosflight UAV.The experimental results show that the acceleration ratio of the simulation is over 5.0 after the asynchronous strategy is used to optimize the simulation of 100 fixed wing UAVs.

Key words: Asynchronous strategy, Gazebo, High-precision, Large-scale, Optimal reconstruction, Real time simulation, ROS

CLC Number: 

  • TP391.9
[1] MEYER J,SENDOBRY A,KOHLBRECHER S.Comprehen-sive Simulation of Quadrotor UAVs Using ROS and Gazebo[J].Lecture Notes in Computer Science,2012:400-411.
[2] ROBERTS D J,WOLFF R,OTTO O.Constructing a Gazebo:Supporting Team Work in a Tightly Coupled,Distributed Task in Virtual Reality[J].Presence,2003,12(6):644-657.
[3] FOLGADO E,RINCÓNM J R,ÁLVAREZ R.A Multi-robotSurveillance System Simulated in Gazebo[C]//International Work-Conference on the Interplay Between Natural and Artificial Computation.1970.
[4] FURRER F,BURRI M,ACHTELIK M.RotorS-A Modular Gazebo MAV Simulator Framework[M].Springer International Publishing,2016.
[5] HSIEH M A,KUMAR V,CHAIMOWICZ L.Decentralizedcontrollers for shape generation with robotic swarms[J].Robotica,2008,26(5):691-701.
[6] FAIGL J,KRAJNIK T,CHUDOBA J,et al.Low-cost embedded system for relative localization in robotic swarms[C]//IEEE International Conference on Robotics & Automation.IEEE,2013.
[7] BACHRACH J,BEAL J,MCLURKIN J.Composable conti-nuous-space programs for robotic swarms[J].Neural Compu-ting & Applications,2010,19(6):825-847.
[8] KOENIG N,HOWARD A.Design and use paradigms for Gazebo,an open-source multi-robot simulator[C]//2004 IEEE/RSJ International Conference on Intelligent Robots and Systems,2004(IROS 2004).IEEE,2004.
[9] LU Y.A framework for problem standardization and algorithm comparison in multibody system[C]// International Design Engineering Technical Conferences and Computers and Information in Engineering Conference.2014.
[10] DRUMWRIGHT E,SHELLD .An evaluation of methods for modeling contact in multibody simulation[C]//IEEE Int.Conf.on Robotics and Automation,2011:1695-1701.
[11] SHAMSHIRI R R,HAMEED I A,PITONAKOVA L,et al.Simulation software and virtual environments for acceleration of agricultural robotics:Features highlights and performance comparison[J].Int. J. Agric. & Biol. Eng.,2018;11(4):15-31.
[12] TODOROV E,EREZ T,TASSA Y.Mujoco:A physics engine for modelbased control[C]//IEEE/RSJ Int.Conf.on Intelligent Robots and Systems.2012:5026-5033.
[13] TODOROV E.A convex,smooth and invertible contact model for trajectory optimization[C]//IEEE Int.Conf.on Robotics and Automation.2011:1071-1076.
[14] ROGLIATO B,DAM A T,PAOLI L,et al.Numerical simulation of finite dimensional multibody nonsmooth mechanicalsystems[J].Applied Mechanics Reviews,2002,55:107-150.
[15] JIA Y B.Three-dimensional impact:energy-based modeling of tangential compliance[J].Int.J.Robotic Research,2013,32(1):56-83.
[16] DURIEZ C.Control of elastic soft robots based on real-time finite element method[C]//IEEE International Conference on Robotics and Automation.IEEE,2013:3982-3987.
[17] DURIEZ C,DUBOIS F,KHEDDAR A,et al.Realistic hapticrendering of interacting deformable objects in virtual environments[J].IEEE Transactions on Visualization and Computer Graphics,2006,12(1):36-47.
[18] JACKSON J,ELLINGSON G,MCLAIN T.ROSflight:A lightweight,inexpensive MAV research and development tool[C]//2016 International Conference on Unmanned Aircraft Systems (ICUAS).IEEE,2016.
[19] FEATHERSTONE R.Rigid Body Dynamics Algorithms[M].Springer,New York,2008.
[20] HOLLARS M,ROSENTHAL D,SHERMAN M.SD/FASTuser's manual[J].Bioinformatics,1991,20(2):3258-3260.
[21] CORKE P.A robotics toolbox for MATLAB[J].Robotics & Automation Magazine,IEEE,1996,3(1):24-32.
[1] ZHANG Jia, DONG Shou-bin. Cross-domain Recommendation Based on Review Aspect-level User Preference Transfer [J]. Computer Science, 2022, 49(9): 41-47.
[2] NIE Xiu-shan, PAN Jia-nan, TAN Zhi-fang, LIU Xin-fang, GUO Jie, YIN Yi-long. Overview of Natural Language Video Localization [J]. Computer Science, 2022, 49(9): 111-122.
[3] CAO Xiao-wen, LIANG Mei-yu, LU Kang-kang. Fine-grained Semantic Reasoning Based Cross-media Dual-way Adversarial Hashing Learning Model [J]. Computer Science, 2022, 49(9): 123-131.
[4] DAI Yu, XU Lin-feng. Cross-image Text Reading Method Based on Text Line Matching [J]. Computer Science, 2022, 49(9): 139-145.
[5] FANG Yi-qiu, ZHANG Zhen-kun, GE Jun-wei. Cross-domain Recommendation Algorithm Based on Self-attention Mechanism and Transfer Learning [J]. Computer Science, 2022, 49(8): 70-77.
[6] ZENG Zhi-xian, CAO Jian-jun, WENG Nian-feng, JIANG Guo-quan, XU Bin. Fine-grained Semantic Association Video-Text Cross-modal Entity Resolution Based on Attention Mechanism [J]. Computer Science, 2022, 49(7): 106-112.
[7] PAN Zhi-yong, CHENG Bao-lei, FAN Jian-xi, BIAN Qing-rong. Algorithm to Construct Node-independent Spanning Trees in Data Center Network BCDC [J]. Computer Science, 2022, 49(7): 287-296.
[8] WU Su-jie, ZHOU Jie, WANG Xue-ying, LYU Zhi-kang, SHAO Gen-fu. Study on Characteristics of Millimeter-wave MIMO Channel in Rainfall Environment [J]. Computer Science, 2022, 49(7): 297-303.
[9] LI Dan-dan, WU Yu-xiang, ZHU Cong-cong, LI Zhong-kang. Improved Sparrow Search Algorithm Based on A Variety of Improved Strategies [J]. Computer Science, 2022, 49(6A): 217-222.
[10] YANG Yue, FENG Tao, LIANG Hong, YANG Yang. Image Arbitrary Style Transfer via Criss-cross Attention [J]. Computer Science, 2022, 49(6A): 345-352.
[11] CHEN Yan-bing, ZHONG Chao-ran, ZHOU Chao-ran, XUE Ling-yan, HUANG Hai-ping. Design of Cross-domain Authentication Scheme Based on Medical Consortium Chain [J]. Computer Science, 2022, 49(6A): 537-543.
[12] CHEN Jun-wu, YU Hua-shan. Strategies for Improving Δ-stepping Algorithm on Scale-free Graphs [J]. Computer Science, 2022, 49(6A): 594-600.
[13] WANG Xian-fang, ZHANG Liang, ZHANG Ning. Evolutionary Game Analysis of WeChat Health Information Quality Optimization Based on Prospect Theory [J]. Computer Science, 2022, 49(6A): 694-704.
[14] HUANG Shao-bin, SUN Xue-wei, LI Rong-sheng. Relation Classification Method Based on Cross-sentence Contextual Information for Neural Network [J]. Computer Science, 2022, 49(6A): 119-124.
[15] HAN Hong-qi, RAN Ya-xin, ZHANG Yun-liang, GUI Jie, GAO Xiong, YI Meng-lin. Study on Cross-media Information Retrieval Based on Common Subspace Classification Learning [J]. Computer Science, 2022, 49(5): 33-42.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!