First Autopilot(VERY WIP)

I'm working on my first autopilot. For the moment, it's just the GPS part of the autopilot. I have a GPS that is outputting NMEA data and I'm trying to develop a parser for that data. I'm using the parallax propeller and It's 1:42 in the morning so the code is only about 1/4 the way done. So far my approach seems very.. tedious. I was wondering if anybody had any suggestions.The .spin file is attached. I'm pretty much going thru the data, checking for the A of GGA to tell if it's position data, and then checking to see if the first bit of the Lat is a "comma." If it is, there is not position fix and I just restart. I've also added preliminary code for way points and Return to Home functionality. I would be happy with a .spin file that just told my computer: "I'm at XXXXXlong and YYYYYlat." Anybody have any suggestions?

LassenIQ.spin

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

Join diydrones

Email me when people reply –

Replies

This reply was deleted.

Activity