This is a central repository for tools, tutorials, resources, and documentation for robotic simulation in Unity.
If you have questions please feel free to contact us here
- Knowlege of ROS and a working ROS environment
- This tutorial was made using ROS Melodic and Python 2.
- Unity 2020.2 or newer
Robotics Demo
with example implementations of:
- Launch File
- Custom Message Types
- Custom Service
- Publisher Script
- Service Script
- TCP Endpoint Script
Example scripts on how to implement a ROS Publisher, Subscriber, or Service.
-
RosPublishExample.cs
- Publishes the position of a gameobject every 0.5 seconds.
-
RosServiceExample.cs
- Each time service is called return a destination position for a game object to move towards.
-
RosSubscriberExample.cs
- Subscribes to a topic that accepts color messages and uses them to change the color of a game object in the Unity scene.