Skip to content

andypotato/js-inv-mpu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InvenSense MPU Motion Driver

Asynchronous NodeJS module for accessing the DMP and sensor data from the InvenSense motion sensors. Based on the official MotionDriver v5. Adapted from rpicopter/MotionSensorExample.

Adaption for other MPU boards

If necessary, adjust the defines in binding.gyp to match your board.

Testing

A simple program would look like this:

const driver = require('js-inv-mpu');
driver.setSampleFreq(200);  // sampling frequency - default value
driver.setDlpf(20);         // digital low pass filter - default value
driver.measure(console.log);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 79.8%
  • C 19.3%
  • Other 0.9%