APM 2.0 MTK GPS Noisy readings

Hi,

in the last few test flights I noticed strange quadcopter behavior in gps-dependant modes (loiter, position hold, rtl). after brief investigation the problem was found - turns out gps output became very noisy compared to the previously logged flights. However I still cant figure out why it happened at the first place?

The only changes made to the quad was frame structure upgrade, but none whatsoever modifications in electronics or even relative components position. Also upped arducopter to 2.7.1 version.

Here is the graphs from log browser (GPS lat channel)

#1 is what its used to be

#2 what i have now

PS. the jitter is in range +/- 5-8 meters. Lock is good: 7-9 sats.

PPS. the second log with a same problem shows even more percular features

Update:  2.6 Arducopter under same conditions has no problem whatsoever. It looks to me like some sort of least significant bits of the gps coords are xored / inverted OR floating point precision loss.

Update 2: ArduCopter both 2.7 - 2.71 exhibit the same erratic coordinates behavior. Having a first peek in to the whole codebase and a numerous changes since 2.6 my first suspect is (and I could be very wrong though) AP_LeadFilter.

Update 3: Ok, turns out to be exactly that 'filter' thingy. Commenting out get_position to return a position solved a case.

Jason Short, your turn)

 

Any ideas?

 

Thanks in advance.

 

mhgh2h.png

Log #2

2w4ifet.png

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • In my case jitter behaviour of  MTK doesn't depend on firmware version and mode. I've done clean experiment just walking around with armed quad and then analysed log files (2.6 and 2.7.1). I see ~3.5 Hz "stairs" in raw GPS readings. It's probably different issue from yours, not sure. Looks like problem with hardware, not soft. Will post separate topic.

  • I see what in the mean time original developer just made a changes to the not yet released version (2.7.3 perhaps) which will help with (/ hide) this particular issue in question.

  • I noticed this too ,  seems to be  a 2.7  change  , I assume having to do with  gps code for new ublox

    this should be posted in the multicopter forum

     

    gpsgraph.png

This reply was deleted.

Activity

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…