[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] Magnetometer freeze problem occurring AR Drone 2.0
From: |
Oswald Berthold |
Subject: |
Re: [Paparazzi-devel] Magnetometer freeze problem occurring AR Drone 2.0 |
Date: |
Wed, 11 Jun 2014 17:27:50 +0200 |
User-agent: |
mu4e 0.9.9.5; emacs 24.3.1 |
just tested that in flight. there was only one occasion for resetting
which seemed to go glitch-free. while flying, i didn't notice it at all.
the value 600 (3s) might actually be reduced significantly because even
a few ten identical values in a row are extremely unlikely, looking at
IMU_MAG_RAW on the plotter while the drone sits on the table.
mag-reset.png
Description: PNG image
mag-reset-shell.png
Description: PNG image
bst, opt
Gautier Hattenberger writes:
> Nice that we may have a solution for the freeze of the magnetometer.
> Out of curiosity, does anyone knows which sensor is used for mag on the
> ardrone2 ?
>
> Gautier
>
> Le 05/06/2014 18:20, Oswald Berthold a écrit :
>> hi daren,
>>
>> very nice, i just tested your code in navdata.c and it seems to work.
>>
>> the MagFreezeCount needs to be reset in an else clause of
>>
>> if (LastMagValue == navdata.mx)
>>
>> have you tested how the 20ms or so navdata dropout is reflected during
>> flight? need to rush now, can only try that next week.
>>
>> cheers, opt
>>
>>
>> opersupport writes:
>>
>>> I believe the problem might still occur on Paparazzi, considering that this
>>> has happened with the "toilet bowl" effect with one particular incident.
>>>
>>> http://lists.paparazziuav.org/Interesting-flight-with-ARDrone2-and-master-branch-td14499.html#a14679
>>>
>>> For resetting the nav board, I modified some code by hand and re-compiled,
>>> not with the Paparazzi source. I believe you can write something simple to
>>> reset it yourself. My logic looks something like this, it occurs inside the
>>> navigation update function
>>>
>>>
>>>
>>>
>>> Use at your own risk, i've only tested on my custom code which works
>>> similarly to Paparazzi but is not set up exactly the same way
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://lists.paparazziuav.org/Magnetometer-freeze-problem-occurring-AR-Drone-2-0-tp15283p15575.html
>>> Sent from the paparazzi-devel mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> 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