Can Ardupilot use magnetic heading vice GPS

I am interested in using the ArduPilot on an autonomous surface marine vehicle to control the rudder. The vehicle control system is predicated on having the vehicle's bow (front) pointed in a steady direction; not on having the vehicle make a specific course over the ground. The vehicle has a flux-gate electronic magnetic compass that provides NMEA data on heading. What would be required to modify the code to replace the GPS heading with heading from the compass?
Thanks

Views: 33


3D Robotics
Comment by Chris Anderson on February 19, 2009 at 4:00pm
Sure, that's very possible. It would require some changes in the NMEA parser and navigation routines, but nothing that an afternoon of coding can't solve. I don't have any specific advice, since we've never done what you suggest, but the code is pretty well commented and there are no technical barriers that I can think of to do this.

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

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