xstrof00 / arcor2_sar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARCOR2 SAR

This repository contains user interface, based on projected augmented reality, which complements AREditor, the main user interface of the ARCOR2 system. Video, showcasing this project is published here: https://youtu.be/wQrgCxiG_Vg?si=mBBA77-IEYMHNidJ

Created scripts:

  • GameManager.cs

  • KinectCalibrationData.cs

  • ProjectorCalibrationData.cs

  • TransformKinect.cs

  • TransformProjector.cs

  • get_camera_pose.py

  • project_graycode.py

Edited scripts (or taken over without editing):

  • Arcor2Exceptions.cs

  • Singleton.cs

  • WebsocketManager.cs

  • gen_graycode_imgs.py

  • calibrate.py

Usage

Calibration

First of all, you need to calibrate the system. To help you with that, you can use this guide.

Building in Unity

After calibration, it is necessary to build the project in Unity, so that the project can use the calibration results from previous step when creating the scene. Open the folder in Unity Hub as a new project and open it.

Before building, you need to load the scene, containing Kinect, projector and Canvas objects. You can do that by going to File -> Open Scene and there, selecting the SampleScene.unity, which is located in the Assets/Resources folder. Then, import TMP packages if Unity asks you to.

After this, you can build it by going to File -> Build Settings... and there, make sure the Scene is selected. There, set your OS as a target platform and build the game.

Run the application

Last step is to run the application, using the built executable. It should connect to the ARServer automatically.

About


Languages

Language:C# 91.7%Language:Python 8.3%