If you are not using NMEA disregard.

I recently discovered what I think is a parsing error for the NMEA lat/long decimal minutes in the latest version(s) of the GPS library.  I found this when doing van testing with 2.50 to check out the new IMU compensation.  BTW, AHRS works great IF the magnetomer is working well (also something to keep in mind and you need to check magnetometer function before flying; also check that the 3 new gains at the top of the list are not zero). 

Lat and Long jump about a minute at predictable locations.  Interestingly, when the "#define WITH_NMEA_MODE 1" line is uncommented in AP_GPS_Auto.cpp the stock receiver shows the same issue.  Also, when APM is restarted in a location known to have the problem, the problem goes away and nominal tracking occurs. 

After reading several older posts (and one new one) it seems that some variation in sentences can be possible, problems have been seen with altitude parsing (fixed).... which pointed me to the parser and a compare for AP_GPS_NMEA.cpp with Arduplane 2.28 libraries that I know work with my Venus GPS.  The code did get updated sometime after 2.28.  I know 2.40 and 2.50 have the same code.  I don't pretend to understand the code in this section, but I was able to merge 2.28 and pass van testing.

Point is, if you are using NMEA you should probably screen for this issue.  Jumps of a km or so in position do bad things to heading to target. Of course this isn't a big deal if the plane is supervised. 

Regards,

Larry G

3690953914?profile=original

 

AP_GPS_NMEA.cpp

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    Larry,

         Thanks for this report.  We made a code change suggested by one of the core developers to fix another NMEA issue..perhaps the two are related so I'll point that person at this post.

    -Randy

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @_JonMyer: 🚨Attention DeepRacer's including #UndergroundDeepRacer🚨 Check our our LIVE stream that including @IAM_dbro Take a few moments…
Wednesday
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Monday
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Monday
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Monday
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Aug 1
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Jul 31
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
DIY Robocars via Twitter
RT @openmvcam: I love this: Mega or Mini? Image Classification on the 1MB OpenMV Cam H7 by Ish Ot Jr. in OpenMV, Edge Impulse, Internet of…
Jul 23
More…