This repo is a starter kit tutorial of unity side using Ros# to connect rosbridge_server.
This is a easy project to move a cube with keyboard or VR joystick.
You need another repo for ROS (python) side to run this project.
https://github.com/ARG-NCTU/oop-proj-unity-ros/tree/master
Unity version: 2020.3.36
- clone this repo
$ git clone git@github.com:ARG-NCTU/oop-proj-unity.git
-
Open with Unity Hub
-
Network environment setup
The network environment setup in this project shows below, if your setup different to this tutorial, remember do step 4 to change server ip setup. -
Choose the example scene at Assets/Scenes/SampleScene.unity
You can see a cube in scene with third person view. -
Modify server ip in project (if your setup different from step 3)