Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mRes is wrong? #7

Open
yang614 opened this issue Jul 14, 2016 · 4 comments
Open

mRes is wrong? #7

yang614 opened this issue Jul 14, 2016 · 4 comments

Comments

@yang614
Copy link

yang614 commented Jul 14, 2016

Hi,Kriswiner

The mRes = 10.*1229./4096. is 3 , the comment says // Conversion from 1229 microTesla full scale (4096) to 12.29 Gauss full scale //actually has no change because 1T=10^4G .

I read the datasheet ,I think the mRes should be 1229./4096. not 10.*1229./4096. or tell me where I have the misunderstanding.

@kriswiner
Copy link
Owner

The 10 converts microTesla to milliGauss, which I prefer.

-----Original Message-----
From: yang614 [mailto:notifications@github.com]
Sent: July 13, 2016 11:21 PM
To: kriswiner/MPU-9150
Subject: [kriswiner/MPU-9150] mRes is wrong? (#7)

Hi,Kriswiner

The mRes = 10.*1229./4096. is 3 , the comment says // Conversion from 1229
microTesla full scale (4096) to 12.29 Gauss full scale //actually has no
change .

I read the datasheet ,I think the mRes should be 1229./4096. not
10.*1229./4096. or tell me where I have the misunderstanding.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#7 , or mute the thread
<https://github.com/notifications/unsubscribe/AGY1qvsopCfu6YoMw8IzHYYJdbU6NH
teks5qVdU_gaJpZM4JMHgU> .
<https://github.com/notifications/beacon/AGY1qjGDjM4bZf6f-t271vGZnaTLEmwsks5
qVdU_gaJpZM4JMHgU.gif>

@yang614
Copy link
Author

yang614 commented Jul 14, 2016

Ok, I see .
and I have another question where is the " conform to expected bias input format" in calibrateMPU9150(float * dest1, float * dest2) ?? I cant find it in the datasheet.

@kriswiner
Copy link
Owner

Consult the data sheet.

-----Original Message-----
From: yang614 [mailto:notifications@github.com]
Sent: July 14, 2016 12:26 AM
To: kriswiner/MPU-9150
Cc: Kris Winer; Comment
Subject: Re: [kriswiner/MPU-9150] mRes is wrong? (#7)

Oh,I see
I have another question is why set the gyro & acc FS_SEL 0 and divide the
raw data by 4&8 instead of
setting to 3 directly?

You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#7 (comment) , or
mute the thread
<https://github.com/notifications/unsubscribe/AGY1qpa3DIajm7vJO48MNbJNJY5dTX
Poks5qVeSFgaJpZM4JMHgU> .
<https://github.com/notifications/beacon/AGY1qr-k9vI2PNON_NyVeyaqtnErEwdcks5
qVeSFgaJpZM4JMHgU.gif>

@kriswiner
Copy link
Owner

There should be some discussion of the bias registers in the data sheet. In
any case IIRC the data format is expected to be counts at 8 g full scale.

-----Original Message-----
From: yang614 [mailto:notifications@github.com]
Sent: July 14, 2016 12:49 AM
To: kriswiner/MPU-9150
Cc: Kris Winer; Comment
Subject: Re: [kriswiner/MPU-9150] mRes is wrong? (#7)

Ok, I see .
and I have another question where is the " conform to expected bias input
format" in calibrateMPU9150(float * dest1, float * dest2) ?? I cant find it
from the datasheet.

You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#7 (comment) , or
mute the thread
<https://github.com/notifications/unsubscribe/AGY1qt0xojYMa9OaY2Z1ql47_JkfII
aiks5qVenrgaJpZM4JMHgU> .
<https://github.com/notifications/beacon/AGY1qtJdGQTYAInRYD3FWcC4PB5T2Fmmks5
qVenrgaJpZM4JMHgU.gif>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants