c73c9cdec8 | ||
---|---|---|
.github | ||
.yamato | ||
images | ||
tutorials | ||
.gitignore | ||
.gitmodules | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
Third Party Notices.md | ||
faq.md |
README.md
Unity Robotics Hub
This is a central repository for tools, tutorials, resources, and documentation for robotic simulation in Unity.
The contents of this repository are in active development. Its features and API are subject to significant change as development progresses.
Introduction
Simulation plays an important role in robotics development, and we’re here to ensure that roboticists can use Unity for these simulations. We're starting off with a set of tools to make it easier to use Unity with existing ROS-based workflows. Try out some of our samples below to get started quickly.
Getting Started with Unity Robotics
Tutorial | Description |
---|---|
Quick Installation Instructions | Brief steps on installing the Unity Robotics packages |
Pick-and-Place Demo | A complete end-to-end demonstration, including how to set up the Unity environment, how to import a robot from URDF, and how to set up two-way communication with ROS for control |
ROS–Unity Integration | A set of component-level tutorials showing how to set up communication between ROS and Unity |
URDF Importer | Steps on using the Unity package for loading URDF files |
Articulations Robot Demo | A robot simulation demonstrating Unity's new physics solver (no ROS dependency) |
Component Repos
Repo | Functionality |
---|---|
TCP Endpoint | ROS node for sending/receiving messages from Unity |
TCP Connector | Unity package for sending/receiving messages from ROS |
URDF Importer | Unity package for loading URDF files |
Additional Resources
Blog Posts and Talks
- (November 19, 2020) Robotics simulation in Unity is as easy as 1, 2, 3! blog post
- (November 12, 2020) Unite Now 2020: Simulating Robots with ROS and Unity video
- (August 26, 2020) Announcing Unity Robotic Simulation blog post
- (May 20, 2020) Use articulation bodies to easily prototype industrial designs with realistic motion and behavior blog post
More from Unity
New Physics Features in Unity
New Features
- Contact Modification API This API will allow users to define custom contact reactions, such as ignoring subsets of contact points, in order to help simulate holes, slippery surfaces, soft contacts, and more. It is available in Unity versions 2021.2a12+. Read more about the new Contact Modification API.
- Collision detection modes exposed for ArticulationBody: discrete, sweep-based CCD, and speculative CCD. New continuous collision detection (CCD) modes will ensure that fast-moving objects collide with objects, instead of tunneling or passing through those objects, which can happen in the default “discrete” mode. This API is available in Unity versions 2020.3.5f1+. Read more about continuous collision detection.
Coming Soon
Here’s a peek into what our Physics Team is hard at work on…
- Wheel Collider shapes. This feature will allow the user to specify the shape of the collider to be used for collision detection. Currently the collider shape is fixed to a cylinder, and collision detection is performed by casting a ray from the center of the cylinder. Custom shapes will improve the accuracy of simulating wheels over rough terrains, holes, etc. Read more about Wheel Collider.
- Force/Torque Sensor API. This API will allow users to get the force and torque acting on an articulation body (useful for simulating a force/torque sensor!), as well as to get the motor torque applied by an articulation drive.
- Query primitives. These simple, GameObject-less shapes allow for collision detection without requiring simulation (i.e., without calling Physics.Simulate). This feature will allow users to initialize objects in feasible locations, and can also be used for motion planning.
FAQs
Community and Feedback
The Unity Robotics projects are open-source and we encourage and welcome contributions. If you wish to contribute, be sure to review our contribution guidelines and code of conduct.
Support
For general questions, feedback, or feature requests, connect directly with the Robotics team at unity-robotics@unity3d.com.
For bugs or other issues, please file a GitHub issue and the Robotics team will investigate the issue as soon as possible.