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.
We're currently working on lots of things! Please take a short moment fill out our survey to help us identify what products and packages to build next.
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.
Brief steps on installing the Unity Robotics packages.
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.
A complete end-to-end demonstration in which we collect training data in Unity and use that data to train a deep neural network to predict the pose of a cube. This model is then deployed in a simulated robotic pick-and-place task.
A robot simulation demonstrating Unity's new physics solver (no ROS dependency).
An example simulation environment, integrated with ROS 2 and [New!] Visualizations, which enables the exercise of ROS 2's Navigation 2 and slam_toolbox packages using a simulated Turtlebot 3.
Tutorial | Description |
---|---|
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 |
[New!] Visualizations | Usage instructions for adding visualizations for incoming and outgoing ROS messages |
Repo | Functionality |
---|---|
ROS TCP Endpoint | ROS node for sending/receiving messages from Unity |
ROS TCP Connector | Unity package for sending, receiving, and visualizing messages from ROS |
URDF Importer | Unity package for loading URDF files |
Here’s a peek into what our Physics Team is hard at work on…
ROS2 support is now available! You can get started by following this tutorial.
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.
For questions or discussions about Unity Robotics package installations or how to best set up and integrate your robotics projects, please create a new thread on the Unity Robotics forum and make sure to include as much detail as possible.
For feature requests, bugs, or other issues, please file a GitHub issue using the provided templates and the Robotics team will investigate as soon as possible.
For any other questions or feedback, connect directly with the Robotics team at unity-robotics@unity3d.com.
To get notified about new updates and features, sign up for our newsletter!