Giter Site home page Giter Site logo

mrdoob / daydream-controller.js Goto Github PK

View Code? Open in Web Editor NEW
153.0 153.0 30.0 151 KB

WebBluetooth Daydream Controller

Home Page: https://mrdoob.github.io/daydream-controller.js/

License: MIT License

HTML 60.02% JavaScript 39.98%
daydream javascript vr webbluetooth

daydream-controller.js's Introduction

daydream-controller.js's People

Contributors

beaufortfrancois avatar croquetx avatar mrdoob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daydream-controller.js's Issues

It still work?

My phone is not working this project. (https://mrdoob.github.io/daydream-controller.js/)

Galaxy S10+ (it is not support daydream platform)
and Daydream Controller.

and i checked controller from "BLE Scanner"

Hardware version: 0005.0003
Firmware version 1.3.5
Software version 825769af

It it not work normal?

Madgwick/sensor fusion is not required

I am pretty sure that the angle/axis vector you are getting from the controller is already properly computed on the controller. It is encoded as a unit vector multiplied by the angle. Further integration using Madgwick may actually destabilize the tracker orientation, and it isn't a cheap computation anyway. Works for me anyway.

Daydream controller JS emulator

First of all, thank you so much for your work, @mrdoob!

If I understood correctly, this is a Daydream controller receiver written in JavaScript using Web Bluetooth API.

Is it possible to write Daydream controller sender (emulator) completely in JavaScript using Web Bluetooth API and Motion Sensors APIs based on Generic Sensor API (https://www.chromestatus.com/feature/5698781827825664) that allows to use a device with relevant sensors (e.g. Android smartphone with gyroscope) in place of a Daydream controller?

Now I'm using native Daydream controller Android app: https://developers.google.com/vr/daydream/controller-emulator.

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.