Giter Site home page Giter Site logo

abrarrobotics / arduino-steamvr-controller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peter10110/arduino-steamvr-controller

0.0 1.0 0.0 96 KB

The arduino code for one of my other projects, where i try to emulate Vive controllers with Leap Motion, and an Arduino based custom built controller

License: MIT License

C++ 86.70% C 13.30%

arduino-steamvr-controller's Introduction

Arduino-SteamVR-controller

The arduino code for one of my other projects, where i try to emulate Vive controllers with Leap Motion, and an Arduino based custom built controller

What is this?

This is the code of my custom built motion controller, used for my other project, where I try to emulat Vive controllers. The buttons and the orientation are from two of these controllers, and the positional data is from a Leap Motion.

Known issues

  • Currently the orientation data is the built-on DMP's (Digital Motion Processor) output, without any further processing. It's quite good and stable, but it uses only the gyroscope, and the accelerometer, not the magnetometer. With intense movements, it can drift quite easily.
  • As the communication is on USB only, you need two, quite long USB cables. This is far from comfortable, especially when using it with a VR headset (what is the intended use).

Future plans for improvements

  • Add Bluetooth, and a battery, to enable wireless operation.

Build process

I've built two of these controllers, from an Arduino Nano, an MPU-9255 IMU, and a cheap one-handed controller from ebay. Some photos from the build process can be found here: http://imgur.com/gallery/ihOr1

Special thanks

Thanks for github user rpicopter, for the DMP enabled motion processing library for the MPU9250. I used this, to get the DMP data from my MPU-9255. https://github.com/rpicopter/ArduinoMotionSensorExample

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.