Jump to content

Robotics simulator

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 2001:9e8:e5d5:f900:8942:8460:998:423a (talk) at 09:46, 27 April 2023 (Adjust reference and add more info to Gazebo). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A robotics simulator is a simulator used to create an application for a physical robot without depending on the physical machine, thus saving cost and time. In some case, such applications can be transferred onto a physical robot (or rebuilt) without modification.

The term robotics simulator can refer to several different robotics simulation applications. For example, in mobile robotics applications, behavior-based robotics simulators allow users to create simple worlds of rigid objects and light sources and to program robots to interact with these worlds. Behavior-based simulation allows for actions that are more biotic in nature when compared to simulators that are more binary, or computational. Also, behavior-based simulators may learn from mistakes and can demonstrate the anthropomorphic quality of tenacity.

Robologix robotics simulator

One of the most popular applications for robotics simulators is for 3D modeling and rendering of a robot and its environment. This type of robotics software has a simulator that is a virtual robot, which can emulate the motion of a physical robot in a real work envelope. Some robotics simulators use a physics engine for more realistic motion generation of the robot. The use of a robotics simulator to develop a robotics control program is highly recommended regardless of whether a physical robot is available or not. The simulator allows for robotics programs to be conveniently written and debugged off-line with the final version of the program tested on a physical robot. This applies mainly to industrial robotic applications, since the success of off-line programming depends on how similar the physical environment of a robot is to a simulated environment.

Sensor-based robot actions are much more difficult to simulate and/or to program off-line, since the robot motion depends on instantaneous sensor readings in the real world.

Features

Modern simulators tend to provide the following features:

  • Fast robot prototyping
    • Using the own simulator as creation tool.
    • Using external tools.
  • Physics engines for realistic movements. Most simulators use Bullet, ODE or PhysX.
  • Realistic 3d rendering. Standard 3d modeling tools or third-party tools can be used to build the environments.
  • Dynamic robot bodies with scripting. C, C++, Perl, Python, Java, URBI, MATLAB languages used by Webots; C++ used by Gazebo.

Simulators

Among the newest technologies available today for programming are those which use a virtual simulation. Simulations with the use of virtual models of the working environment and the robots themselves can offer advantages to both the company and programmer. By using a simulation, costs are reduced, and robots can be programmed off-line which eliminates any down-time for an assembly line. Robot actions and assembly parts can be visualised in a 3-dimensional virtual environment months before prototypes are even produced. Writing code for a simulation is also easier than writing code for a physical robot. While the move toward virtual simulations for programming robots is a step forward in user interface design, many such applications are only in their infancy.

General information

Software Developers Development status License 3D rendering engine Physics engine 3D modeller Platforms supported
Gazebo Classic Open Source Robotics Foundation (OSRF) Maintenance (EOL 2025) Apache 2.0 OGRE ODE, Bullet, Simbody, DART Internal Linux, macOS, Windows
Gazebo (former Ignition) Open Source Robotics Foundation (OSRF) Active Apache 2.0 OGRE v1.x, OGRE v2.x, OptiX DART, Bullet, TPE[1] Internal Linux, macOS, (Windows)
RoboDK RoboDK Active Proprietary OpenGL Gravity plug-in Internal Linux, macOS, Windows, Android, iOS, Debian
SimSpark O. Obst et al. (+26) Active GNU GPL (v2) Internal ODE None Linux, macOS, Windows
Webots Cyberbotics Ltd. Active Apache 2.0 Internal (WREN) Fork of ODE Internal Linux, macOS, Windows
OpenRAVE OpenRAVE Community Active GNU LGPL Coin3D, OpenSceneGraph ODE, Bullet Internal Linux, macOS, Windows
CoppeliaSim Coppelia Robotics Active Dual: commercial, GNU GPL Internal MuJoCo, Bullet, ODE, Vortex, Newton Internal Linux, macOS, Windows
Software Developers Development status License 3D rendering engine Physics engine 3D modeller Platforms supported

Technical information

Software Main programming language Formats support Extensibility External APIs Robotics middleware support Primary user interface Headless simulation
Gazebo Classic C++ SDF[2], URDF[3], OBJ, STL, COLLADA Plug-ins (C++) C++ ROS, Player, sockets (protobuf messages) GUI Yes
Gazebo (former Ignition) C++ SDF[2], URDF[3], USD[4], OBJ, STL, COLLADA Plug-ins (C++) C++, Python ROS, ROS 2, sockets (protobuf messages), Protocol buffers[5], ZeroMQ[5] GUI Yes
RoboDK Python SLDPRT, SLDASM, STEP, OBJ, STL, 3DS, COLLADA, VRML, URDF, Rhinoceros 3D, ... API,[6] Plug-In Interface[7] Python, C/C++, C#, Matlab, ... Socket GUI Yes
SimSpark C++, Ruby Ruby Scene Graphs Mods (C++) Network (sexpr) Sockets (sexpr) GUI, sockets Un­known
Webots C++ WBT, VRML, X3D, 3DS, Blender, BVH, COLLADA, FBX, STL, OBJ, URDF API, PROTOs, plug-ins (C/C++) C, C++, Python, Java, Matlab, ROS Sockets, ROS, NaoQI GUI Yes[8]
OpenRAVE C++, Python XML, VRML, OBJ, COLLADA Plug-ins (C++), API C/C++, Python, Matlab Sockets, ROS, YARP GUI, sockets Yes
CoppeliaSim C++, Python, Lua 3DS, Blender, COLLADA, STL, OBJ, URDF[3], SDF[2], GLTF, XML Plug-ins (C/C++), embedded scripts (Python, Lua), remote API (C, C++, Python, Java, MATLAB, Octave), add-ons (Python, Lua) C, C++, Python, Java, MATLAB, Octave, ROS, ROS 2.0 Sockets, ROS, ROS 2.0, ZeroMQ GUI Yes
Software Main programming language Formats support Extensibility External APIs Robotic middleware support Primary user interface Headless simulation

Infrastructure

Support

Software Mailing list API documentation Public forum, help system User manual Issue tracker Wiki Chat
Gazebo Classic Yes[9] Yes[10] Yes[11] Yes[12] Yes[13] No
Gazebo (former Ignition) Yes[14] Yes[15] Yes[16] Yes[17] Yes[18] No
RoboDK Yes[19] Yes[20] Yes[21] Yes[22] Yes[23] No Un­known
SimSpark Yes[24] Yes[25] No Yes[26] Yes[27] Yes[28] Un­known
Webots No Yes[29] Yes[30] Yes[31] Yes[32] Yes[33] Yes[34]
OpenRAVE Yes[35] Yes[36] Yes[37] Yes[38] Yes[37] Yes[39] Un­known
CoppeliaSim No Yes[40] Yes[41] Yes[42] Yes[43] Un­known No
Software Mailing list API documentation Public forum, help system User manual Issue tracker Wiki

Code quality

Software Static code checker Style checker Test system(s) Test function coverage Test branch coverage Lines of code Lines of comments Continuous integration
Gazebo Classic cppcheck[44] cpplint[44] gtest and qtest[44] 77.0%[44] 53.3%[44] 320k[44] 106k[44] Jenkins[44]
Gazebo (former Ignition) cppcheck[45] cpplint[46] GoogleTest 58% to 99%[47] every release branch > 100k Un­known GitHub Actions
RoboDK Un­known Un­known Un­known Un­known Un­known Un­known Un­known Un­known
SimSpark Un­known Un­known Un­known Un­known Un­known Un­known Un­known Un­known
Webots cppcheck[48] clang-format[49] unit tests[50] 100% of API functions[51] master,[52] develop[53] ~200k ~50k GitHub Actions
OpenRAVE Un­known Un­known Python nose Un­known Un­known Un­known Un­known Jenkins[54]
CoppeliaSim Un­known Un­known Un­known Un­known Un­known Un­known Un­known Un­known
Software Static code checker Style checker Test system(s) Test function coverage Test branch coverage Lines of code Lines of comments Continuous integration

Features

Software CAD to motion Dynamic collision avoidance Relative end effectors Off-line programming Real-time streaming control of hardware
Gazebo Classic Un­known Yes Yes Yes Yes
Gazebo (former Igniton) Un­known Yes Yes Yes Yes
RoboDK Yes Yes Yes Yes Yes
SimSpark Un­known No Un­known No No
Webots Un­known Yes Yes Yes Yes
OpenRAVE Un­known No Un­known No No
CoppeliaSim Un­known Yes Yes Yes Yes
Software CAD to motion Dynamic collision avoidance Relative end effectors Off-line programming Real-time streaming control

Robot families

Software UGV (ground mobile robot) UAV (aerial robots) AUV (underwater robots) Robotic arms Robotic hands (grasping simulation) Humanoid robots Human avatars Full list
Gazebo Classic Yes[55] Yes[56] Yes[57] Yes[58] Yes[59] Yes[60] Yes[61]
Gazebo (former Ignition) Yes[62] Yes[63] Yes[64] Yes[65] Yes[66] Yes[67] Yes[68] Yes[69]
RoboDK No No No Yes[70] No No No Yes[70]
SimSpark Yes No No Maybe Maybe Yes No
Webots Yes Yes Yes[71] Yes Yes Yes[72] Yes Yes[73]
OpenRAVE Yes Un­known Un­known Yes Yes Yes Yes
CoppeliaSim Yes Yes Yes Yes Yes Yes Yes Yes[74]
Software UGV (ground mobile robot) UAV (aerial robots) AUV (underwater robots) Robotic arms Robotic hands (grasping simulation) Humanoid robots Human avatars Full list

Supported actuators

Software Generic kinematic chains Force-controlled motion Full list Circular kinematic chains Kinematically redundant chains Bifurcated kinematic chains
Gazebo Classic Yes Yes Yes Yes Yes
Gazebo (former Ignition) Yes Yes Yes Yes Yes
RoboDK Un­known Un­known Un­known Un­known Un­known
SimSpark Yes No SimSpark effectors Un­known Un­known Un­known
Webots Yes Yes Webots actuators Yes Yes Yes
OpenRAVE Yes Yes Joints,Extra Actuators Yes[75] Yes Yes[76]
CoppeliaSim Yes Yes Yes Yes Yes
Software Generic kinematic chains Force-controlled motion Full list Circular kinematic chains Kinematically redundant chains Bifurcated kinematic chains

Supported sensors

Software Odometry IMU Collision GPS Monocular cameras Stereo cameras Depth cameras Omnidirectional cameras 2D laser scanners 3D laser scanners Full list
Gazebo Classic Yes Yes Yes[77] Yes Yes[78] Yes Yes Yes Yes[79] Yes[79]
Gazebo (former Ignition) Yes Yes Yes[80] Yes Yes[81] Yes Yes Yes Yes[79] Yes[79]
RoboDK Un­known Un­known Un­known Un­known Un­known Yes Yes Yes Yes Yes
SimSpark Yes Yes Yes[82] Partial[83] Yes Partial Un­known Un­known No No SimSpark perceptors
Webots Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Webots sensors
OpenRAVE Yes Yes Yes Yes Yes Yes Yes Un­known Yes Yes
CoppeliaSim Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Software Odometry IMU Collision GPS Monocular cameras Stereo cameras Depth cameras Omnidirectional cameras 2D laser scanners 3D laser scanners Full list

References

  1. ^ OSRF. "Announcing new physics engine TPE (Trivial Physics Engine)". https://community.gazebosim.org/. Retrieved 2023-04-25. {{cite web}}: External link in |work= (help)
  2. ^ a b c OSRF. "SDF". sdformat.org. Retrieved 2019-04-27.
  3. ^ a b c Cite error: The named reference urdfref was invoked but never defined (see the help page).
  4. ^ OSRF. "gz-usd". Command line tools to convert SDFormat to USD and viceversa. Retrieved 2023-04-27.
  5. ^ a b OSRF. "Transport library for component communication based on publication/subscription and service calls". github.com. Retrieved 2023-04-27.
  6. ^ "RoboDK API". GitHub. 22 October 2021.
  7. ^ "RoboDK Plug-In Interface". GitHub. 16 October 2021.
  8. ^ However, requires a connection on an X server for 3D rendering
  9. ^ "Gazebo Community". Retrieved 2019-04-27.
  10. ^ "Gazebo API". Gazebo Community. Retrieved 2019-04-27.
  11. ^ "Gazebo Answers". Gazebo Community. Retrieved 2019-04-27.
  12. ^ "Gazebo Tutorials". Gazebo Community. Retrieved 2019-04-27.
  13. ^ "Gazebo Issue Tracker". Gazebo Community. Retrieved 2019-04-27.
  14. ^ "Gazebo Community". Retrieved 2023-04-25.
  15. ^ "Gazebo Libs". Gazebo Community. Retrieved 2023-04-25.
  16. ^ "Gazebo Answers". Gazebo Community. Retrieved 2019-04-27.
  17. ^ "Gazebo Docs". Gazebo Community. Retrieved 2023-04-25.
  18. ^ "Gazebo". Gazebo Community. Retrieved 2023-04-25.
  19. ^ RoboDK mailing list
  20. ^ RoboDK API Documentation
  21. ^ RoboDK Forum
  22. ^ RoboDK Documentation
  23. ^ RoboDK Bug tracker
  24. ^ SimSpark mailing lists
  25. ^ SimSpark client protocols
  26. ^ SimSpark user manual (Wiki)
  27. ^ SimSpark Tracker
  28. ^ SimSpark Wiki
  29. ^ Webots Reference Manual
  30. ^ "Discussions · cyberbotics/Webots". GitHub.
  31. ^ Webots User Guide
  32. ^ Webots issues on GitHub
  33. ^ Webots technical wiki on GitHub
  34. ^ Webots Discord channel
  35. ^ OpenRAVE mailing list
  36. ^ OpenRAVE API
  37. ^ a b OpenRAVE Issue Tracker
  38. ^ OpenRAVE User Guide
  39. ^ OpenRAVE Wiki
  40. ^ CoppeliaSim API
  41. ^ Coppelia Robotics Forum
  42. ^ CoppeliaSim User Manual
  43. ^ Coppelia Robotics bug reports
  44. ^ a b c d e f g h OSRF. "Gazebo". gazebosim.org. Retrieved 2019-04-27.
  45. ^ GitHub Workflows
  46. ^ GitHub Workflows
  47. ^ Codecov
  48. ^ CppCheck
  49. ^ Clang Format
  50. ^ Unit tests
  51. ^ API tests
  52. ^ Webots master
  53. ^ Webots develop
  54. ^ Source
  55. ^ OSRF. "Gazebo : Tutorial : Beginner: Model Editor". gazebosim.org. Retrieved 2019-04-27.
  56. ^ OSRF. "Gazebo : Tutorial : Aerodynamics". gazebosim.org. Retrieved 2019-04-27.
  57. ^ OSRF. "Gazebo : Tutorial : Hydrodynamics". gazebosim.org. Retrieved 2019-04-27.
  58. ^ OSRF. "Gazebo : ARIAC". gazebosim.org. Retrieved 2019-04-27.
  59. ^ OSRF. "Gazebo : HAPTIX". gazebosim.org. Retrieved 2019-04-27.
  60. ^ "DARPA's legacy: Open source simulation for robotics development and testing". Robohub.org. Retrieved 2019-04-27.
  61. ^ OSRF. "Gazebo : Tutorial : Make an animated model (actor)". gazebosim.org. Retrieved 2019-04-27.
  62. ^ OSRF. "Gazebo : Tutorial : Beginner: Model Editor". gazebosim.org. Retrieved 2019-04-27.
  63. ^ OSRF. "Gazebo : Tutorial : Aerodynamics". gazebosim.org. Retrieved 2019-04-27.
  64. ^ OSRF. "Gazebo : Tutorial : Hydrodynamics". gazebosim.org. Retrieved 2019-04-27.
  65. ^ OSRF. "Gazebo : ARIAC". gazebosim.org. Retrieved 2019-04-27.
  66. ^ OSRF. "Gazebo : HAPTIX". gazebosim.org. Retrieved 2019-04-27.
  67. ^ "DARPA's legacy: Open source simulation for robotics development and testing". Robohub.org. Retrieved 2019-04-27.
  68. ^ OSRF. "Gazebo : Tutorial : Make an animated model (actor)". gazebosim.org. Retrieved 2019-04-27.
  69. ^ OSRF. "Gazebo - Latest models". gazebosim.org. Retrieved 2023-04-25.
  70. ^ a b RoboDK robot library
  71. ^ including Salamander robot
  72. ^ including Nao, DARwIn-OP, Fujitsu HOAP2, Kondo KHR-2HV, KHR-3, etc.
  73. ^ Webots robot models
  74. ^ CoppeliaSim main features
  75. ^ OpenRAVE Closed chains
  76. ^ OpenRAVE Dual-arm example
  77. ^ OSRF. "Gazebo : Tutorial : Contact Sensor". gazebosim.org. Retrieved 2019-04-27.
  78. ^ OSRF. "Gazebo : Tutorial : Camera Distortion". gazebosim.org. Retrieved 2019-04-27.
  79. ^ a b c d OSRF. "Gazebo : Tutorial : Intermediate: Velodyne". gazebosim.org. Retrieved 2019-04-27.
  80. ^ OSRF. "Gazebo : Tutorial : Contact Sensor". gazebosim.org. Retrieved 2019-04-27.
  81. ^ OSRF. "Gazebo : Tutorial : Camera Distortion". gazebosim.org. Retrieved 2019-04-27.
  82. ^ Collision detection uses a simplified model
  83. ^ Possible, no model for noise