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?

Tags: autopilot, gps, iq, lassen, parallax, propeller, wip

Views: 19

Attachments:

Reply to This

Replies to This Discussion

You may find Jordi's Arduino GPS parser code useful.
You might find the GPS to VGA object useful:
http://obex.parallax.com/objects/225/

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service