UnityRos2: Tutorial notes - org-arl/r2c2 GitHub Wiki
Terminology
- Ubuntu host
- Ubuntu host set up via https://github.com/org-arl/r2c2/wiki/UnityRos2:-Tutorial-preflight-checklist-for-Ubuntu
- Ubuntu guest
- Vagrant/VirtualBox-based Ubuntu guest set up via https://github.com/org-arl/r2c2/wiki/UnityRos2:-Tutorial-preflight-checklist-for-other-OS
Misc (TODO)
- Slides with architecture diagrams
Steps
Start ROS2 nodes
Ubuntu host only
- From the directory where the UnityRos2 repository was cloned to
cd docker/turtlebot3_navigation docker-compose up --build
Ubuntu guest only
- Build the ROS2 nodes:
git clone https://github.com/ngyewch/UnityRos2-supplementary.git cd UnityRos2-supplementary ./build.sh - Start ROS2 nodes:
./run.sh
Open the UnityRos2 Unity project in the Unity Editor
Ubuntu host or Ubuntu guest
- Check out the UnityRos2 repository:
git clone https://github.com/DynoRobotics/UnityRos2 - Open Unity Hub.
- Open the Unity project.
- From the Projects tab, click on the 'ADD' button.
- Select the directory where the repository was cloned to.
- If you are experiencing problems opening the project, you may need to create a new Unity project first, exit Unity and retry.
TODO