Author Topic: mpu6050 angle data  (Read 1456 times)

0 Members and 1 Guest are viewing this topic.

Offline huseyinkTopic starter

  • Contributor
  • Posts: 11
mpu6050 angle data
« on: July 06, 2018, 01:41:23 pm »
Hi

I read gyro and accel data from MPU6050. It is fine. But I wanna read the angle data from MPU6050.
Which calibration should I do? I mean that pitch_angel and roll_angle..
 

Offline JoeWright

  • Newbie
  • Posts: 6
  • Country: gb
Re: mpu6050 angle data
« Reply #1 on: July 08, 2018, 10:19:54 am »
You will need to get the quarternian data from the DMP.  Problem is, despite invensense hyping the DMP feature of their chips, the documentation is terrible.  For some of the chips you literally have to reverse engineer their example code if you want to know how to use it, but since the code is very badly written (even including bugs that prevent compilation), that's a tough ask.  If their support was good this wouldn't be an issue, but they don't interact with their forum, and don't answer emails.  They give the impression that they are going bust.  Obviously they are not, but they do give that feeling.  Shame really, great products, lousy support.  And you do want to use their DMP rather than do your own sensor fusion as they have done a very good job on the algorithms in comparison to standard techniques (that I have seen anyway).

Anyway, rant over.  Get on to the Invensense site, find the developer section, download the software for the 6050 and get that running.  I seem to recall that they do actually have documentation for the 6050 dmp on there as well, its just some of the newer chips that have that missing.  Whether or not that documentation is enough to code your own, or if you have to start with their software, I'm not sure for the 6050.  For some of the other chips they do stuff in their code that is simply not covered in the docs.

For one of the chips, the dmp documentation was on the shop page, not in the developers section, so you might want to hunt around or google for it.

Getting the dmp up and running is a lot more complicated than getting the raw acc and gyro data out so be prepared to spend some time.  Start with getting their software working and move on from there.
« Last Edit: July 08, 2018, 10:22:13 am by JoeWright »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->