Quick and dirty Node.js module for reading DMP-processed yaw/pitch/roll and rotation data from an MPU6050.
This module has been developed and tested on a BeagleBone Black but should also work on a Raspberry Pi as well.
npm install mpu6050-dmp
var mpu = ; if mpu ;
Selecting an I2c device
This module is hard-coded to open the i2c device located at
/dev/i2c-1. To change this, you must simply do a search and replace in
src/I2Cdev.cpp. I may go back and make this configurable at runtime, but I'd like to expose some of the other MPU and DMP configuration options via the module exports and intialization routine first.
Credits and License
This project is licensed under the terms of the MIT license.