sandeepmistry / node-sensortag

Node.js lib for the TI SensorTag
MIT License
218 stars 111 forks source link

how to use the MPU-9250 integrated DMP instead of the raw data from the gyro & accelero ? #106

Closed gotgot1995 closed 6 years ago

gotgot1995 commented 6 years ago

Hi everyone,

I'm struggling to get smooth data from the motion sensors even after filtering the raw data with an A.H.R.S.

Any ideas on how to calibrate the magnetometer ?

Perhaps you could implement a "calibrate" function.

Thanks in advance,

sandeepmistry commented 6 years ago

The only info i can find is hear: http://processors.wiki.ti.com/index.php/CC2650_SensorTag_User's_Guide#Calibration

Maybe TI's iOS or Android apps can calibrate the sensors?

Perhaps you could implement a "calibrate" function.

Pull requests welcome for this.

gotgot1995 commented 6 years ago

Hi thanks for your quick answer.

I've done some reading of the MPU-9250 specification and there seems to be a integrated component (DMP) to compute all three sensors data into valuable data (quaternion, pedometer, orientation etc...).

Arduino implementation exists here.