Please Help!.


I have tested the RTL mode and is OK!, but when I switch to AUTO mode the airplane come to home sometimes recognize it and then try to reach the second waypoint but never reach it.


I have used the last code for ardupilotmega and ArdupilotMegaPlanner.


Please Help!

Views: 281

Reply to This

Replies to This Discussion

What GPS module are you using?

Hi Chris:


I'm using UBLOX GPS

Hi Chris:

I didn't do anything in config.h, just gps in APM_Config.h.

I have loaded 2 waypoints, with 100 meters between them. I have adjust WP = 20/30/40/50/60  and ALT = 100 in ArdupilotMegaPlanner. I'm in Perú (-12,... ; -76,...)


I have seen the value of the UBLOX GPS in test/gps, It 's too variable.


There may be an issue with that module. All of our test flights were with MediaTeks and we're getting a number of reports of problems with UBlox in AUTO mode (not RTL), which we hadn't tested. GPS-module specific issues also don't show up on the HIL sim, so they can sneak through. We'll test that module with the next version of the code.

In the meantime, if you use a MediaTek you should be okay. We've largely migrated away from the uBlox because the MediaTek is smaller, cheaper and more robust, but we should still support it.

I'm just saying that we haven't tested 1.02 with uBlox in Auto mode. We tested in RTL, which worked fine (and Auto and RTL *should* work the same) so we assumed Auto would work, but there are some reports of an issue. An Issue Report has been submitted.


There are literally hundreds of combinations of hardware and software configurations and modes, and it would take several man years to test all of them in the field for every version of the software. Then there are geographic issues, like funky GPS results in the Southern Hemisphere and issues with comas vs periods in some European OSs that the US-based team can't test. So we test as many as we can on the sim, and then the main ones in the field. We count on the community to catch any outliers, which may be what we have here. 


It would be helpful if you could fly 1.02 with the uBlox and see if you can replicate a problem with Auto mode. 



Most people are flying MediaTek's so it didn't show up for them. But we've had four reports of this issue with uBlox, so it sounds repeatable.

I've the same problem,

When purchasing a UBLOX gps, i was thinking that it was the best GPS (cause of a big antenna and the cost?).

There a big problem using this GPS, i'm ok.

But I'm trying to search in all DIYDRONES SITE where I can fix the problem and i don't find an solution.

I'm stilling without any information to fix it.

So, why do you still selling this GPS in your store? I'm not talking about an "open source" project..., but SUPPORT about UBLOX GPS by DIYDRONE STORE

Please don't let us in "deadlock" situation.



i brought a UBLOX gps at christmas time because i thought it was the better one :( now im wondering if i should get the other one
Martinez, I'm not sure what you mean. The uBlox is supported. There seems to be a bug in one mode of one version of one codebase (out of the dozens we support), which we'll fix as soon as we can replicate. uBlox works perfectly with all our other codebases (basic ArduPilot, ArduCopter, previous version of APM, etc) and modes. These things happen, and we'll fix it as soon as we can. But I think you need to get a little perspective.

Ok, thank you for your reply Chris.

I have "no problem" about "These things happen...".OK, I understand and i'm happy to participate to debug the problem if i can.

But if you are working mostly on the "Mediatek GPS", can you highlight the "mediatek GPS" one on the APM homepage? I'm disappointed about my choice on Ublox Gps, twice the price, twice the size, and half on tests.


Thank you



Update on this: I just tested the current public code (APM 1.02) with both MediaTek and uBlox in both RTL and AUTO (four waypoints) in the field. It performed perfectly with both GPS modules, in both RTL and AUTO mode.

So I'm not sure what's causing problems with people's setups, but I cannot replicate them. Everything works exactly as it should when we test in the field.
Hello Chris, I am using APM2.012. I had two flights on a skywalker and looks it's working really fine. I have assigned channel 8 of the APM to three position switch manual/stabilize/auto. Now I want to assign channel 5 of APM to another two way switch of Futaba for OFF/RTL without changing the channel 8 three way switch. can u please suggest what part of the code needs to be changed.

Reply to Discussion


© 2018   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service