masternader / lifescope-northstar-unity

LifeScope North Star / Polaris AR Unity tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hey North Star community! I’m Liam Broza @mrhegemon with Michelle Juarez @ojosgitanos working on a North Star / Polaris AR project based off our Unity tools and 3D maps.

https://github.com/LifeScopeLabs/lifescope-unity

We are building tools to show 3D maps at worldscale, record the world, record people, and playback sensor data in AR.

  • Log in with LifeScope using the North Star headset display.
  • 3D maps and LifeScope locations in North Star headset display.
    • AR Miniature
    • AR World Scale
  • Record 3D data with Leap Motion and Occipital Perception Engine.
    • Hand tracking
    • Room tracking

Looking forward to collaborating with you all!

Special thanks to Noa Labs & Polaris AR!

Notes

Voltage Regulation

Guides

Parts

Videos

Photos

Tools

Masterpiece Studio

Editor XR

Code

Occipital Perception Engine

  • JACOB ERVIN jacob@occipital.com Twitter: JacobKyleErvin
  • Sign up for Occipital Developer Portal (developer.structure.io)
  • Download Structure SDK (Cross Platform) 0.7.1
  • Update FW + Install Drivers

Core Streaming (Optional)

  • Install CMake + Install Visual Studio 2017
  • Generate the Visual Studio Solution
> mkdir build
> cd build
>cmake -G"Visual Studio 15 2017 Win64" ..
  • Open build\StructureSDK-CrossPlatform.sln
  • Build and Run CorePlayground
  • If a Unix-like environment such as Git Bash (part of Git for Windows) or MSYS2 is installed, the included build script may be used instead. $ Scripts/build.sh

Perception Engine

  • Download Perception Engine + Sample Unity Package
  • Launch Tools/XRService (launches into Windows System Tray)
  • Right Click —> Start
  • Navigate to Samples/XRUnity/Assets/Scenes
  • Double-click on FirstPersonScene.unity
  • Play in Simulator

Integrating North Star

Part 1

  • Install Custom Leap Motion Drivers
  • Duplicate Occipital Unity Sample
  • Import North Star Plugin 
(https://github.com/leapmotion/ProjectNorthStar)
  • Copy Everything From Leap Motion Sample Scene Into FirstPersonScene.unity
  • Remove Ground Plane
  • Scale World Objects to 0.1

Part 2

  • Set Windows Display Scale to 100%
  • ARCameraRig, X Shift = Display Width
  • Select ARCameraRig, Close All Game Views
  • ARCameraRig Move Game View to Headset
  • ARCameraRig/Head/Leap provider —> X rotation = 37

Part 3

  • Set Windows Display Scale to 100%
  • ARCameraRig, X Shift = Display Width
  • Select ARCameraRig, Close All Game Views
  • ARCameraRig Move Game View to Headset
  • ARCameraRig/Head/Leap provider —> X rotation = 37

Part 4

  • Comment out ARRaytracer.cs Line 73

Pumori

Project North Star: Software

This Unity Package contains the Unity Assets, Scenes, and Prewarping systems necessary to build Unity applications with the Project North Star headset.

Compatibility

These assets require the Multi-Device Beta Service to display hands.

These assets are dependent on Release 4.4.0 of the Leap Motion Unity Modules (included in the package).

Elements of type INLINE_IMAGE are not supported

Getting Started:

  • Make sure your North Star AR Headset is plugged in
  • Create a new Project in Unity 2018.2 or above
  • Import "LeapAR.unitypackage"
  • Navigate to LeapMotion/North Star/Scenes/NorthStar.unity
  • Click on the ARCameraRig game object and look for the WindowOffsetManagercomponent
  • Here, you can adjust the X and Y Shift that should be applied to the Unity Game View for it to appear on the North Star's display
  • When you're satisfied with the placement; press "Move Game View To Headset"
  • With the Game View on the Headset, you should be able to preview your experience in play mode!

Key Code Shortcuts in NorthStar.unity (in the Editor with the Game View in focus and playing)

  • C to Toggle Visibility of Calibration Bars

Calibrating your Headset

We have included a pre-built version of the internal calibration tool. We can make no guarantees about the accuracy of the process in DIY environments; this pipeline is built from multiple stages, each with multiple points of failure. Included in the .zip file are a python script for calibrating the calibration cameras, a checkerboard .pdf to be used with that, and Windows-based Calibrator exe, and a readme describing how to execute the entire process.

Click for friendlier video overview:

About

LifeScope North Star / Polaris AR Unity tools

License:MIT License