Close

Get the location in space and Quaternions

A project log for Kano Wand Hack

Project to create a DIY version of Kano Wand

sabasSabas 12/20/2018 at 12:500 Comments

Hi

I am working for get the location in space of the arduino WiFi Rev2 and get Quaternions and position as the example explains

https://github.com/sabas1080/kano-devices-sdk/blob/master/demo/pointer/conversion.js#L21

I have modified an example for Arduino 101 and ported to arduino WiFi

I modified the example of "Visualize101" for Arduino 101 and ported to @arduino WiFi Rev2, thanks to the Madgwick libraries and @sparkfun LSM6 pic.twitter.com/I9Mi2VMH2C

— 🛰️ Sabas.uf2🚀 (@Sabasacustico) December 19, 2018

Now i should get Quaternions 

            x {int} -- X position of wand (Between -1000 and 1000)
            y {int} -- Y position of wand (Between -1000 and 1000)
            pitch {int} -- Pitch of wand (Between -1000 and 1000)
            roll {int} -- Roll of wand (Between -1000 and 1000)

Discussions