Robotics simulator
A robotics simulator is a simulator used to create application for a physical robot without depending on the actual machine, thus saving cost and time. In some case, these applications can be transferred onto the physical robot (or rebuilt) without modifications.
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 biological in nature when compared to simulators that are more binary, or computational. In addition, behavior-based simulators may "learn" from mistakes and are capable of demonstrating the anthropomorphic quality of tenacity.
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 is capable of emulating the motion of an actual 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 for development of a robotics control program is highly recommended regardless of whether an actual 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 an actual robot. This primarily holds for industrial robotic applications only, since the success of off-line programming depends on how similar the real environment of the robot is to the simulated environment.
Sensor-based robot actions are much more difficult to simulate and/or to program off-line, since the robot motion depends on the 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, Python 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 | Open Source Robotics Foundation(OSRF) | Active | Apache 2.0 | OGRE | ODE/Bullet/Simbody/DART | Internal | Linux, macOS, Windows |
RoboDK | RoboDK | Active | Proprietary | OpenGL | Gravity plugin | 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 |
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 | C++ | SDF[1]/URDF[2], OBJ, STL, Collada | Plugins (C++) | C++ | ROS, Player, Sockets (protobuf messages) | GUI | Yes |
RoboDK | Python | SLDPRT, SLDASM, STEP, OBJ, STL, 3DS, Collada, VRML, URDF, Rhinoceros_3D, ... | API[3], Plug-In Interface[4] | Python, C/C++, C#, Matlab, ... | Socket | GUI | Unknown |
SimSpark | C++, Ruby | Ruby Scene Graphs | Mods (C++) | Network (sexpr) | Sockets (sexpr) | GUI, Sockets | Unknown |
Webots | C++ | WBT, VRML, X3D, 3DS, Blender, BVH, Collada, FBX, STL, OBJ, URDF | API, PROTOs, Plugins (C/C++) | C, C++, Python, Java, Matlab, ROS | Sockets, ROS, NaoQI | GUI | Yes[5] |
OpenRAVE | C++, Python | XML, VRML, OBJ, Collada | Plugins (C++), API | C/C++, Python, Matlab | Sockets, ROS, YARP | GUI, Sockets | 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 | Yes[6] | Yes[7] | Yes[8] | Yes[9] | Yes[10] | Yes[11] | |
RoboDK | Yes[12] | Yes[13] | Yes[14] | Yes[15] | Yes[16] | No | Unknown |
SimSpark | Yes[17] | Yes[18] | No | Yes[19] | Yes[20] | Yes[21] | Unknown |
Webots | No | Yes[22] | Yes[23] | Yes[24] | Yes[25] | Yes[26] | Yes[27] |
OpenRAVE | Yes[28] | Yes[29] | Yes[30] | Yes[31] | Yes[32] | Yes[33] | Unknown |
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 | cppcheck[34] | cpplint[34] | gtest and qtest[34] | 77.0%[34] | 53.3%[34] | 320k[34] | 106k[34] | Jenkins[34] |
RoboDK | Unknown | Unknown | Unknown | Unknown | Unknown | Unknown | Unknown | Unknown |
SimSpark | Unknown | Unknown | Unknown | Unknown | Unknown | Unknown | Unknown | Unknown |
Webots | cppcheck[35] | clang-format[36] | unit tests[37] | 100% of API functions[38] | master[39], develop[40] | ~200k | ~50k | Travis[41], AppVeyor[42], GitGuardian[43], Github Actions |
OpenRAVE | Unknown | Unknown | Python nose | Unknown | Unknown | Unknown | Unknown | Jenkins[44] |
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 | Unknown | Yes | Yes | Yes | Yes |
RoboDK | Yes | Yes | Yes | Yes | Yes |
SimSpark | Unknown | No | Unknown | No | No |
Webots | Unknown | Yes | Yes | Yes | Yes |
OpenRAVE | Unknown | No | Unknown | No | No |
Software | CAD to Motion | Dynamic Collision Avoidance | Relative End Effectors | Off-line Programming | Real-time Streaming Control |
Families of robots
Software | UGV (ground mobile robot) | UAV (aerial robots) | AUV (underwater robots) | Robotic arms | Robotic hands (grasping simulation) | Humanoid robots | Human avatars | Full list |
---|---|---|---|---|---|---|---|---|
Gazebo | Yes[45] | Yes[46] | Yes[47] | Yes[48] | Yes[49] | Yes[50] | Yes[51] | |
RoboDK | No | No | No | Yes[52] | No | No | No | Yes[53] |
SimSpark | Yes | No | No | Maybe | Maybe | Yes | No | |
Webots | Yes | Yes | Yes[54] | Yes | Yes | Yes[55] | Yes | Yes[56] |
OpenRAVE | Yes | Unknown | Unknown | Yes | Yes | Yes | Yes | |
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 | Yes | Yes | Yes | Yes | Yes | |
RoboDK | Unknown | Unknown | Unknown | Unknown | Unknown | |
SimSpark | Yes | No | SimSpark effectors | Unknown | Unknown | Unknown |
Webots | Yes | Yes | Webots actuators | Yes | Yes | Yes |
OpenRAVE | Yes | Yes | Joints,Extra Actuators | Yes[57] | Yes | Yes[58] |
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 | Yes | Yes | Yes[59] | Yes | Yes[60] | Yes | Yes | Yes | Yes[61] | Yes[61] | |
RoboDK | Unknown | Unknown | Unknown | Unknown | Unknown | Yes | Yes | Yes | Yes | Yes | |
SimSpark | Yes | Yes | Yes[62] | Partial[63] | Yes | Partial | Unknown | Unknown | 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 | Unknown | Yes | Yes | |
Software | Odometry | IMU | Collision | GPS | Monocular cameras | Stereo cameras | Depth cameras | Omnidirectional cameras | 2D laser scanners | 3D laser scanners | Full list |
References
- OSRF. "SDF". sdformat.org. Retrieved 2019-04-27.
- "urdf - ROS Wiki". wiki.ros.org. Retrieved 2017-10-06.
- https://github.com/RoboDK/RoboDK-API
- https://github.com/RoboDK/Plug-In-Interface
- However, requires a connection on an X server for 3D rendering
- "Gazebo Community". Gazebo Community. Retrieved 2019-04-27.
- "Gazebo API". Gazebo Community. Retrieved 2019-04-27.
- "Gazebo Answers". Gazebo Community. Retrieved 2019-04-27.
- "Gazebo Tutorials". Gazebo Community. Retrieved 2019-04-27.
- "Gazebo Issue Tracker". Gazebo Community. Retrieved 2019-04-27.
- "Gazebo Wiki". Gazebo Community. Retrieved 2019-04-27.
- RoboDK mailing list
- RoboDK API Documentation
- RoboDK Forum
- RoboDK Documentation
- RoboDK Bug tracker
- SimSpark mailing lists
- SimSpark client protocols
- SimSpark user manual (Wiki)
- SimSpark Tracker
- SimSpark Wiki
- Webots Reference Manual
- Webots Forum
- Webots User Guide
- Webots issues on GitHub
- Webots technical wiki on GitHub
- Webots Discord channel
- OpenRAVE mailing list
- OpenRAVE API
- OpenRAVE Issue Tracker
- OpenRAVE User Guide
- OpenRAVE Issue Tracker
- OpenRAVE Wiki
- OSRF. "Gazebo". gazebosim.org. Retrieved 2019-04-27.
- CppCheck
- Clang Format
- Unit tests
- API tests
- Webots master
- Webots develop
- Source:
- Source:
- Source:
- Source:
- OSRF. "Gazebo : Tutorial : Beginner: Model Editor". gazebosim.org. Retrieved 2019-04-27.
- OSRF. "Gazebo : Tutorial : Aerodynamics". gazebosim.org. Retrieved 2019-04-27.
- OSRF. "Gazebo : Tutorial : Hydrodynamics". gazebosim.org. Retrieved 2019-04-27.
- OSRF. "Gazebo : ARIAC". gazebosim.org. Retrieved 2019-04-27.
- OSRF. "Gazebo : HAPTIX". gazebosim.org. Retrieved 2019-04-27.
- "DARPA's legacy: Open source simulation for robotics development and testing | Robohub". robohub.org. Retrieved 2019-04-27.
- OSRF. "Gazebo : Tutorial : Make an animated model (actor)". gazebosim.org. Retrieved 2019-04-27.
- RoboDK robot library
- RoboDK robot library
- including Salamander robot
- including Nao, DARwIn-OP, Fujitsu HOAP2, Kondo KHR-2HV, KHR-3, etc.
- Webots robot models
- OpenRAVE Closed chains
- OpenRAVE Dual-arm example
- OSRF. "Gazebo : Tutorial : Contact Sensor". gazebosim.org. Retrieved 2019-04-27.
- OSRF. "Gazebo : Tutorial : Camera Distortion". gazebosim.org. Retrieved 2019-04-27.
- OSRF. "Gazebo : Tutorial : Intermediate: Velodyne". gazebosim.org. Retrieved 2019-04-27.
- Collision detection uses a simplified model
- Possible, no model for noise