Skip to content
dhprlabsPublic

About

Find the complete setup of ROS2 Humble with Unity

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

UniRos

This is a tutorial explaining how to connect your ros2 system with Unity engine.

So there are mainly 2 ways in order to setup them up together:

  • Using both Unity and ROS2 on the same machine.

  • Using 2 different machines for Unity and ROS2.

Let's first see how to set them on the same machine.

Requirements (On what configurations I built this)

  • Ubuntu 22.04

  • Unity editor 2022.3.62f3

  • ROS2 Humble

Step - 1

So, the first step is you download the UnityHub and install the Unity editor (2022.3.62f3). Then install ros2 humble framework for the official documentation. The installation of both the things is quite straight forward.

  • Unity Successfull Installation

Unity

  • ROS2 Humble Successfull Installation

ROS2 Humble

Step - 2

Clone the repo and copy the RosUnity folder to your main workspace.

cp -r /home/$USER/path-to-this-repo/RosUnity /home/$USER/

Okay, so now you need to add some packages in your Unity and configure it inorder to communicate with ROS2 framework. Below is a video showing the whole setup on the Unity side and after that is done you need to setup your ROS2 ecosystem.

About

Find the complete setup of ROS2 Humble with Unity

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages