I recently purchased the MediaTek GPS, from the DIYDrones store, for my APM board and so far have not been able to get it to respond (as in it will get gps lock but the C light on the oilpan does not light). I am running the APM 1.01 code. In the code I have GPS_PROTOCOL_MTK set. However, whenever I connect the HappyKillmore GCS it tells me that the GPS does not have a lock and the serial data displays all gps related variables as 0.
Any help would be greatly appreciated.
Thanks,
Spenser
Replies
If your Blue light on the GPS is not going steady you are not getting lock.
When I first got mine I left it for an hour and no lock
What i did was connect my FTDI cable to the GPS and use the utility in this download http://code.google.com/p/ardupilot/downloads/detail?name=MTK_DIYdro...=
and found I was getting a bad reception walked about and found best location and it now works fine when connected.
Once you have a lock GPS info will come to your GCS
If you want the number of satellites then add the following to GSC_Ardupilot tab then under the void print_position add
SendSer(",SAT:");
SendSer((int)GPS.num_sats);
I add it just before the following line
SendSerln(",***");
HI Spenser
Are you getting any info on the GCS ?
If your not then check your that you have setup GCS_PROTOCOL as GCS_PROTOCOL_LEGACY
with the correct ports and Baud rates
If you are indoors a lock may take some time then you will get data
As standard this will not give you number on satellites or sat lock