paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Magnetometer offset int_cmpl_quat


From: David Conger
Subject: Re: [Paparazzi-devel] Magnetometer offset int_cmpl_quat
Date: Tue, 5 Jun 2012 07:34:37 -0700

Yes, please, IMU with itg3200, adxl345 and hmc5843 are plentiful. 
Maybe not used simply because the support is not there? 
If the support is there people will use them (I am one). 
 -David

On Jun 5, 2012, at 1:42 AM, Christophe De Wagter wrote:

is anyone using aspirin2_i2c and in need of mag? I can fill the missing part.

-Christophe 



On Tue, Jun 5, 2012 at 10:39 AM, Felix Ruess <address@hidden> wrote:
Ah, the aspirin2_i2c subsystem currently does not read the mag (connected as slave to the MPU6000).


On Tue, Jun 5, 2012 at 7:36 AM, Romney, Jefferson S <address@hidden> wrote:
Well, it turns out that I was wrong. the magnetometer does not have a 90 degree offset. The autopilot seems to be initializing to North every time no matter how the plane is oriented. I don't think it is using magnetometer data at all.
________________________________________
From: paparazzi-devel-bounces+romneyj=address@hidden [paparazzi-devel-bounces+romneyj=address@hidden] on behalf of Romney, Jefferson S [address@hidden]
Sent: Monday, June 04, 2012 8:04 PM
To: address@hidden
Subject: Re: [Paparazzi-devel] Magnetometer offset int_cmpl_quat

git://gist.github.com/2872011.git here is the url for my airframe file.
________________________________________
From: paparazzi-devel-bounces+romneyj=address@hidden [paparazzi-devel-bounces+romneyj=address@hidden] on behalf of Felix Ruess [address@hidden]
Sent: Monday, June 04, 2012 5:37 PM
To: address@hidden
Subject: Re: [Paparazzi-devel] Magnetometer offset int_cmpl_quat

Can you please post your full config (airframe file)? Preferrably gist or pastebin...
Otherwise it's impossible to tell what exactly you are using....

On Tue, Jun 5, 2012 at 1:30 AM, Romney, Jefferson S <address@hidden<mailto:address@hidden>> wrote:
This is the magnetometer calibration from my airframe file:

<section name="IMU" prefix="IMU_">
 <define name="MAG_X_SIGN" value="1"/>
 <define name="MAG_Y_SIGN" value="1"/>
 <define name="MAG_Z_SIGN" value="1"/>
</section>
<section name="AHRS" prefix="AHRS_">
 <define name="H_X" value=" 0.5189098"/>
 <define name="H_Y" value="-0.0565782"/>
 <define name="H_Z" value=" 0.8529546"/>
</section>


________________________________________
From: paparazzi-devel-bounces+romneyj=address@hidden<mailto:address@hidden> [paparazzi-devel-bounces+romneyj=address@hidden<mailto:address@hidden>] on behalf of Felix Ruess [address@hidden<mailto:address@hidden>]
Sent: Monday, June 04, 2012 3:28 PM
To: address@hidden<mailto:address@hidden>
Subject: Re: [Paparazzi-devel] Magnetometer offset int_cmpl_quat

If you have an offset, but a correct mag calibration<http://paparazzi.enac.fr/wiki/ImuCalibration#Calibrating_the_Magnetometer> and have your local magnetic field set, then the mag axes (or signs) are wrong.
Can you please post your config?

On Mon, Jun 4, 2012 at 10:41 PM, Romney, Jefferson S <address@hidden<mailto:address@hidden><mailto:address@hidden<mailto:address@hidden>>> wrote:
I am using the Aspirin v2.1 with a Yapa and because of the calibration problem, I use the int_cmpl_quat AHRS algorithm. But the magnetometer is 90 degrees off. With this AHRS algorithm, is there any offset that can change only the orientation of the magnetometer and not the accelerometer and gyroscope? if not, how do I fix it? Changing the IMU_BODY offsets also switches the pitch and roll.

_______________________________________________
Paparazzi-devel mailing list
address@hidden<mailto:address@hidden><mailto:address@hidden<mailto:address@hidden>>
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden<mailto:address@hidden>
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]