Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 8 months ago.
Orientation relative to magnetic north
hello guys,
Is possible with this device, have orientation relative to magnetic north. Or is necessary to use a magnetometer for to get this orientation??
thanks!!
Question relating to:
1 Answer
7 years, 8 months ago.
A GPS can't give you orientation but it can give you heading. Heading accuracy is somewhat dependent upon speed, if you are stationary or moving very slowly it'll be unreliable. The faster you are moving the more accurate it will be up to a certain point.
You will get the direction that the GPS antenna is traveling in not the direction you are facing.
The GPS output is true heading not magnetic heading. The $GPRMC output line includes a field for magnetic variation which would allow you to correct for this and output a heading relative to magnetic north however most GPS systems leave this field blank, you'd have to check on the one you have.