Hi,
I'm experiencing a weird problem related to the GPS module. When the GPS is not plugged in, the copter flies fine, but when I plug in the GPS, the APM becomes unresponsive 10-20 seconds after it boots. I'm running the ArduPiratesNG code.
I've tried various things. I've replaced the GPS module, and I've added Xbee for debugging. As far as I can tell the APM hangs in an I/O read some short time after startup. It is quite difficult to debug, because the behavior seems quite random. Could it be a power problem? This happens with and without the battery attached.
I'm wondering if anyone has any thoughts on what might be causing this? Any help would be greatly appreciated.
Have fun,
Arthur van Hoff
Replies
First thing to check:
* be sure that you are attaching the GPS to the APM, not the IMU. Double check that you are not attaching the GPS to the port on the blue PCB that is labeled "no GPS". That is the i2c port, and if you plug the GPS into that port, it will usually hang the APM just as you have described. Plug the GPS into the red PCB, down below.