PLAY PODCASTS
Displaying 9 DoF orientation in a browser using webserial

Displaying 9 DoF orientation in a browser using webserial

Adafruit Industries

February 14, 20200m 57s

Audio is streamed directly from the publisher (adafruit-podcasts.s3.amazonaws.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

The CLUE board has a 9 DoF motion sensor (accel/gyro/mag) that can be used to calculate orientation. It's hard to visualize using just text. Normally folks would use a Processing sketch to display the 3D model but now that webserial is available in the browser, it's much easier to use that! This website uses webserial to get the Euler angles & three.js to display a bunny that moves around. We'll update it to use quaternions next :) #webserial #threejs #JavaScript3Dlibrary Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------