Skip to content

A tutorial on how to add your mobile robot and sensors in Unity Simulation with ROS communication

License

Notifications You must be signed in to change notification settings

anqitongxue/Mobile-Robot-Demo-with-Unity-ROS

 
 

Repository files navigation

Mobile-Robot-Demo-with-Unity-ROS

image

Dependencies

This repository has been developed and tested in Ubuntu 18.04 and ROS Melodic, with Unity 20.3.12f1 LTS.

Before running this package, it is highly recommended to try the Unity Robotics Hub pick&place demo first. It shows the steps to import robot, convert messages, and communicate with ROS in details. But you could still run this package by following the steps below.


Clone this project by git clone --recurse-submodules git@github.com:ZhuoyunZhong/Mobile-Robot-Demo-with-Unity-ROS.git

image

This part includes how to import the mobile robot in Unity scene, and control the mobile robot with your keyboard.

image

This part includes how to attach common sensors: camera, laser and robot state readers to the robot.

image

This part includes how to add ROS communication scripts and set up the ROS node to communicate with robots in Unity.

TODO List

  • Robot State Publisher (Publish tf frames)
  • RGB-D Camera / Pointcloud
  • More publishers and subscribers to use Unity as control or vision interface

About

A tutorial on how to add your mobile robot and sensors in Unity Simulation with ROS communication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 71.1%
  • CMake 24.4%
  • Python 4.5%