Skip to content

ZaneL/quaternion_sensor_3d_nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gets real-time orientation data from this library https://github.com/ZaneL/Teensy-ICM-20948 over a serial port and rotates a 3D object accordingly.

Video demo: https://streamable.com/ivmgfz

alt text alt text

After cloning this library, open index.js and change the serial port to the correct port. You also might need to edit index.html to swap the quaternion values around if things aren't rotating in the correct direction.

Then install the required packages:

  npm install

Run the app:

  node index.js

Open your web browser:

  http://localhost:3000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published