Skip to content

This is a SRTP project in ZJU. A research on remote control technology based on mixed reality.

Notifications You must be signed in to change notification settings

FelixChristian011226/RoboticArmsControlWithMixedReality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is a SRTP project in ZJU. A research on remote control technology based on mixed reality.
You can drag the red ball. Then the UR5 robotic arm will follow your movement, with the green ball located at the UR5 head following the red ball precisely.

Results

unity
Unity Simulation
Hololens1
Hololens2 Deployment 1
Hololens2
Hololens2 Deployment 2

Usage

(0) Preparations

  1. Unity Hub and Unity Editor (2019.4 recommended).
  2. VMware Workstation the virtual machine.
  3. URsim, you could follow the official website for installation help.
  4. Visual Studio for deployment onto hololens2.

(1) Deploy on Unity

  1. Create a new 3D Core project.
  2. Import MRTK package to your project. You can download the Mixed Reality Feature Tool here, then discover and import features as told in learn.microsoft.com (you could just import the essential features).
  3. Import my into the Assets folder in your project.
  4. Open scene ur5control.
  5. Start your URsim virtual machine, open app 'URsim UR5', record the ip of your virtual machine ('关于' on the top right corner).
  6. Open file UR5Controller.cs, set the ip (line 93) to your URsim.
  7. Play the scene.

(2) Deploy on Hololens2

  1. Enter 'Build Settings' in Unity.
  2. Set 'Target Device' to hololens, 'Architecture' to ARM64 (x86 if you want to deploy it on hololens simulator).
  3. Enter 'Project Settings - Player', See 'Release Settings - Capabilities', check InternetClient, InternetClientServer and PrivateNetworkClientServer. (Or you will not be able to connect to your hololens device.)
  4. Build.
  5. Open the .sln project. If you have a hololens simulator, or your hololens is connected to your computer by USB, you can execute directly. Otherwise you'll need to publish an application package. Right click the solution, and release an application package.
  6. Install the package on your hololens device, then start the app. (Remember that your URsim and Hololens are under same network.)

About

This is a SRTP project in ZJU. A research on remote control technology based on mixed reality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages