-
Notifications
You must be signed in to change notification settings - Fork 472
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
Azimuth #484
Comments
I don't know anything about how the DMP works so not sure what could be the
trouble. Usually this kind of error is due to insufficient or improper
calibration. How can you be using the MPU9250 DMP AND the HMC5881
magnetometer? I do not understand this...
…On Sat, Oct 22, 2022 at 2:31 AM valon51 ***@***.***> wrote:
Hi Kris, I would like advice on the correct formula for calculating
Azimuth.. I have Euler Angels output from the dmp and when I tilt to the
sides (- roll) the Azimuth fluctuates quite a bit, on the other hand it is
not the case.. Otherwise, I have a hmc588l magnetometer.. Magnetometer I
have them calibrated well.. Thank you in advance..
—
Reply to this email directly, view it on GitHub
<#484>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTDLKWJE5F7JY24M4HYQFTWEOX7NANCNFSM6AAAAAARLYWJQE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
no, I use mpu6050 together with hmc588l.. Pith and Roll are completely accurate and the Heading in the plane, and unfortunately I can't find the right formula anywhere that will cover me in all directions inclined heading. If the Roll goes into the minus, then the Heading fluctuates even by 20 degrees.. That's my problem, I'd rather help with the formula, because I'm 100% sure that the problem is only that. |
You need to make sure that the sensor data is properly configured, meaning
once you select which direction is N, then select your convention (either
NED, or ENU, for example) the sensor data are treated consistent with these
choices. So for NED, the accel/gyro data need to be treated as aN, aE, aD
and gN, gE, gD, and likewise this needs to align with the mN, mE, mD data.
This is opposed to trying to align the axes arbitrarily, which will cause
the kinds of behavior you report.
…On Sat, Oct 22, 2022 at 11:09 AM valon51 ***@***.***> wrote:
no, I use mpu6050 together with hmc588l.. Pith and Roll are completely
accurate and the Heading in the plane, and unfortunately I can't find the
right formula anywhere that will cover me in all directions inclined
heading. If the Roll goes into the minus, then the Heading fluctuates even
by 20 degrees.. That's my problem, I'd rather help with the formula,
because I'm 100% sure that the problem is only that.
—
Reply to this email directly, view it on GitHub
<#484 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTDLKV7QB57L674CWB2FXLWEQUV3ANCNFSM6AAAAAARLYWJQE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
As I said, I'm using data from dmp and the values I measured really fit... I just think that I don't have the correct formula for calculating the virtual plane for the compass |
Is the order you are passing data to the Madgwick filter NED?
…On Sat, Oct 22, 2022 at 11:47 AM valon51 ***@***.***> wrote:
[image: Screenshot_20221022-111754_Chrome]
<https://user-images.githubusercontent.com/72665077/197357596-1ae73b39-7548-4285-9792-77fdfb285b71.jpg>
i still have a question i give this formula roll from 0 to 90 degree
please..
—
Reply to this email directly, view it on GitHub
<#484 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTDLKV4FUQFAXFZUYCBLV3WEQZD5ANCNFSM6AAAAAARLYWJQE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I get data from dmp in the form of a matrix.. |
Uploading received_464663602154494.mp4… |
In the Madgwick filter call you have to pass in the data as NED, so as aN,
aE, aD, gN, gE, gD, mN, mE, mD...do you see what I mean. I don't know how
to make it any clearer. If you do not, you will get very bad behavior, as
seen.
Do you aX, gX, and mX all point North?
…On Sat, Oct 22, 2022 at 12:30 PM valon51 ***@***.***> wrote:
Uploading received_464663602154494.mp4…
—
Reply to this email directly, view it on GitHub
<#484 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTDLKTRJRLPXURNUEYJHWDWEQ6EVANCNFSM6AAAAAARLYWJQE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi Kris, I would like advice on the correct formula for calculating Azimuth.. I have Euler Angels output from the dmp and when I tilt to the sides (- roll) the Azimuth fluctuates quite a bit, on the other hand it is not the case.. Otherwise, I have a hmc588l magnetometer.. Magnetometer I have them calibrated well.. Thank you in advance..
The text was updated successfully, but these errors were encountered: