Git Product home page Git Product logo

tjucam's Introduction

TJUCam

SteamVR Compatible Motion Controller with ESP8266 and Raspberry Pi

This project allows you to quciky setup a VIVE-like motion controller with opensource hardware and software.

Inspired by [1] and [2].

Demonstration

Demonstration video on youtube

Features

  • SteamVR-Compatible Windows Driver (with OpenVR SDK)
  • MQTT protocol for underlying messaging system
  • Avahi for automatic node discovery
  • Automatic calibration for MPU9250 on Target Node
  • Web-based control & configuration (with Golang on Raspbery Pi and HTTPServer on ESP8266)
  • Kalman Filter fusing data form MVG and inertia sensor

Setup

Hardware

  • Camera Node
    • Raspberry Pi with built-in Wi-Fi or ethernet connected
    • PI NOIR CAMERA V2 (Sony IMX219 8-megapixel sensor)
    • IR-pass filter (optional)
  • Target Node
    • ESP8266 (NodeMCU v2 board)
    • IR-Leds or markers for tracking
    • MPU9250 (GY-9255 board)
    • Joystick for simulating touchpad behavior (3D Joystick Repair Parts for XBox 360)
    • Buttons for triggers
    • Battery
    • Custom-built PCB holding everything above
  • Central Node
    • PC with good enough video card for VR rendering
    • VR headset or cardboard (optional)

Dependency

  • Camera Node
    • Arch Linux for ARM
    • OpenCV 3.1
    • paho.mqtt.c
    • Avahi
    • base-devel, gcc (build)
  • Target Node
    • Arduino for ESP8266
  • Central Node (Windows-side)
    • SteamVR for game support
    • OpenVR SDK
    • Visual Studio (build)
  • Central Node (Linux-side)
    • Arch Linux environment with VM or WSL (or you can build on any one of the existing Camera Nodes if you hate VMs)
    • OpenCV 3.1 with opencv_contrib (for MVG features)
    • any kind of MQTT broker (mosquito, etc.)
    • paho.mqtt.c
    • Avahi
    • base-devel, gcc and golang (build)

Images

TargetNode TargetNode

Note

This project was built for a Hackathon-style event held in Jun, 2017 at TJU. Currently, it is able to demonstrate basic functionality, but the design and code need more polish due to limited time.

Contributions are welcome!

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.