Compass vs GPS for actual heading

Hi all,

I have been collecting and analyzing BS2 programs for an autonomous rover.

I have looked at Chris Anderson’s BS2p UAV program and found that he used the GPS for actual heading and desired heading.

Another person on the Parallax Robot Forum used the Hitachi HM55B compass to determine the acutal heading and the GPS for the desired heading.

Does anyone know the pros and cons of using either the compass or the GPs for the actual heading?

Regards,
TCIII

There is only one large issue that I know of.

The compass being a stand alone device can be putting out heading information all the time. Of course resolution may be lacking especially in cheaper units.

The GPS puts out very accurate direction data but, depending on the GPS unit there will be a refresh rate you have to contend with. I’m not an expert on the OEM modules by any means. Here is a good source for that kind of info.

rcgroups.com/uav-unmanned-ae … icles-238/

The handheld GPS units put out the RS232 data at a fairly slow rate but it may not be a factor in a slow moving ground based vehicle. 1 hz is typical.

Dan

The compass is affected by metal (magnetic fields) found in a building. Its output is always available.

GPS must be moving to determine heading, and also has trouble inside buildings.

Alan KM6VV