Any assistance is appreciated.
I am trying to connect an Arduimu+ V3 and the Mediatek GPS.
I can’t seem to get them working happily together.
I am not a developer and the sketches are a little tough for me to interpret. But I think my problem is with the MTK 1.6 firmware and AP_MTK Library.
In reading through all the other threads it appears I need to use the AP_MTK16 library and this is where I get stuck. I’ve tried:
How do I add the MKT16 libraries, make the correct changes in the arduimu code and get the program to load onto the board?
Thx in advance (BTW I have read all the threads. Whilst I can find elements of my problem, none seem to be able to take me from start to finish).
Downgrade your GPS firmware --> http://code.google.com/p/ardupilot/wiki/MediaTek
This will solve your problem
Is there some technical reason to not have MTK16 support on ? I just made this simple patch and it works.
Downgrade is not so attractive option, it is much more complicated than applying patch and it requires windows that is not so friendly for us, Mac and Linux users.
--- arduimu.pde (revision 201)
+++ arduimu.pde (working copy)
@@ -31,7 +60,7 @@
#define GPS_CONNECTION 0 // 0 for GPS pins, 1 for programming pins
// GPS Type Selection - Note Ublox or MediaTek is recommended. Support for NMEA is limited.
-#define GPS_PROTOCOL 4 // 1 - NMEA, 2 - EM406, 3 - Ublox, 4 -- MediaTek
+#define GPS_PROTOCOL 5 // 1 - NMEA, 2 - EM406, 3 - Ublox, 4 -- MediaTek, 5 -- MegiaTek 1.6
// Enable Air Start uses Remove Before Fly flag - connection to pin 6 on ArduPilot
#define ENABLE_AIR_START 0 // 1 if using airstart/groundstart signaling, 0 if not
@@ -89,6 +118,8 @@
#elif GPS_PROTOCOL == 4
+#elif GPS_PROTOCOL == 5
# error Must define GPS_PROTOCOL with a valid value.
I did some work to make it working with last GPS firmware.