Giter VIP home page Giter VIP logo

imu_demo's Introduction

IMU DEMO

This is an example of VMG-PROV IMU 3-dof rendering. IMU information is syned and encoded into image frame by hardware. "/RenderingPLuginExample52/RenderingPlgun/VisualStudio2013" holds a Visual Studio 2013 project building a dll render call of Unity. "/RenderingPLuginExample52/UnityProject" holds a unity project the camera rotates exactly like the VMG-PROV headset. This project could be use as a start of 3-dof VR.

Requirement:

  1. Recommended specs: Intel Core i5-4460/8G RAM/GTX 660/at least two USB3.0/
  2. Windows x64 version.(tested on win7/win10)

Installation

  1. Install Unity 64bit editor(tested on Unity 5.4.0f3 (64-bit))

  2. (Optional)Download and install Visual Studio 2013. Compiled and minimum dependencies dlls is provided in "/RenderingPluginExample52/UnityProject/Assets/Plugins/x86_64". The Unity project could run directly. If you would like to build the dlls, visual studio 2013 is needed.

  3. (Optional) Download and install OpenCV(version 2.4.X) as: http://docs.opencv.org/2.4.11/doc/tutorials/introduction/windows_install/windows_install.html. Minimum opencv dlls is provided in "/Assets/Plugins/" in the Unity project. However, we strongly recomend a full installation of opencv and config opencv dlls into the environment variable.

  4. (Optional) "/RenderingPluginExample52/RenderingPlugin/VisualStudio2013" folder holds a Visual Studio 2013 project, which builds a RenderingPlugin.dll and copy to Unity plugin. If you need to compile and build it, open "/RenderingPluginExample52/RenderingPlugin/VisualStudio2013/RenderingPlugin.sln" with Visual Studio 2013 and config it to your opencv environment following:http://docs.opencv.org/2.4.11/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html. Besieds opencv, this project needs videoInput to retrieve camera name and "/RenderingPluginExample52/RenderingPlugin/VMG_IMU_Paritycheck" to parity check bitcode. Prebuild lib for vs2013 x64 is provided.

How to Run

  1. Make sure VMG-PROV device is running.

  2. Open this project with Unity editor and open the scene "scene".

alt text

  1. Run the project and the camera would rotates as VMG-PROV headset.

alt text

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.