|Subject:||Re: [Paparazzi-devel] Plane changing direction in GCS|
|Date:||Sat, 25 Jul 2015 19:31:57 +0200|
So I did some further testing again today and I think i may still have some issues.If I set the USE MAGNETOMETER flag to TRUE, then the icon(psi value) will return back to the direction it was initialized at. Also if I initialize it with the board pointing north the psi value I read is 169 degrees, if I initialize when pointing west the psi value I read be with a few degrees of 169 degrees. Yet I can rotate the board and watch as the icon makes a full smooth 360 degree rotation.If I set it to FALSE and AHRS USE GPS HEADING to TRUE the plane icon will initialize to 90 degrees. The icon rotates normally when I rotate the board but has the incorrect direction since the board always initializes to 90degrees on start up no matter the initial orientation. I'm assuming this won't be an issue in flight as the GPS has speed and can be used for direction.I would really like to get magnetic orientation, primarily in high winds where a lot of strafing can occur.How can I get an accurate Mag Heading that is completely independent of GPS?Also is the IMU MAG message in messages after applying current calibration, magnetic deviation and magnetic variation?A similar issue was brought up before, http://lists.gnu.org/archive/html/paparazzi-devel/2013-12/msg00080.htmlThanksOn Thu, Jul 23, 2015 at 7:57 PM, rijesh [via Paparazzi UAV] <[hidden email]> wrote:Thanks Felix,
Everything seems to be working fine for me. I was running a version of v5.4 that may have been incorrectly merged. I thinking that could have been the cause of my trouble.
Anyway the Use Magnetometer flag seems to be working now and I am getting the desired results.
Thanks again for the time and support!
If you reply to this email, your message will be added to the discussion below:http://lists.paparazziuav.org/Plane-changing-direction-in-GCS-tp17206p17215.html
View this message in context: Re: Plane changing direction in GCS
Sent from the paparazzi-devel mailing list archive at Nabble.com.
Paparazzi-devel mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|