NOOB here at Robotics, and I would like to try using ROS tools and Unity Simulation Engine to simulate a Differential Drive Robot .
Thanks
I have used ROS on Ubuntu 20.04 Linux Setup… I am assuming that Unity and ROS will work on the same computer? I also use Windows and MacOS…
Any advice here before jumping into the packages…
Glad you’re interested in checking out the Robotics tools! You might want to get started with taking a look at our Navigation 2 SLAM Example , which uses a TurtleBot3:
This example provides a Unity Project and a colcon workspace that, when used together, allows a user to substitute Unity as the simulation environment for the purposes of following the Navigation 2 SLAM tutorials . In following the setup instructions below, you will exercise Unity’s ROS 2 integration, explore an example environment generated with our Robotics Warehouse randomizable environment, integrate visualizations with our Visualizations package, and learn about ways in which this project could be extended to support a more specific use case or automated to provide continuous integration testing of a robotics navigation stack.
Hope this helps!
I am stuck here Configure your Development Environment source previously mentioned…
My environment:
Build the Docker container
cd ros2_docker
docker build -t unity-robotics:nav2-slam-example ./
The above CLI commands did not work…
Under the git ros2_docker directory contains the following:
colcon_ws , Dockerfile , ros2-setup.bash
…, so what am I doing wrong?
Source:
# Configure your Development Environment
**Table of Contents**
- [Install the Unity Editor](#install-the-unity-editor)
- [Clone the Project](#clone-the-project)
- [Set Up the ROS 2 Environment](#set-up-the-ros-2-environment)
- [Build the Docker container](#build-the-docker-container)
- [(Optional) Using an alternative ROS 2 environment](#optional-using-an-alternative-ros-2-environment)
- [Continue on to Setting up the Unity Project](#continue-on-to-setting-up-the-unity-project)
---
## Install the Unity Editor
This project was most recently validated with the Editor version listed in the [ProjectVersion.txt file](https://github.com/Unity-Technologies/Robotics-Nav2-SLAM-Example/blob/dev/Nav2SLAMExampleProject/ProjectSettings/ProjectVersion.txt#L1). If you have a more recent version, it will most likely work fine, or you may download the exact version we used from the release page [here](https://unity3d.com/unity/qa/lts-releases). Note that if using a more recent version, you will receive some warnings to this effect when you first open the project, but you are fine to proceed through them.
---
## Clone the Project
Check out the project using your method of choice, or simply copy the following line into a terminal with the `git` CLI installed:
```
git clone --recurse-submodule git@github.com:Unity-Technologies/Robotics-Nav2-SLAM-Example.git
This file has been truncated. show original
When you say the commands “did not work”, what exactly happened?