Skip to content

ARG-NCTU/oop-proj-unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oop-proj-unity

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

Setup: Import the project

  1. clone this repo
$ git clone git@github.com:ARG-NCTU/oop-proj-unity.git
  1. Open with Unity Hub

  2. 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. Network

  3. Choose the example scene at Assets/Scenes/SampleScene.unity
    You can see a cube in scene with third person view.

  4. Modify server ip in project (if your setup different from step 3) modify_ip

Usage: how to run this project

  1. Before you run the project you can choose VR joy stick control or keyboard control by click check mark of script shows below. choose_control

  2. Click play button to start project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%