Normal Magneto Heading Values

Hi guys,

 

I've taken an LSM303DLH magneto board from sparkfun and adapted the ArduPiratesNG code to work with it.  I think everything is working great but I'm seeing some odd values for heading in the Configurator and I want to confirm this is correct.

 

At true north I see 0 deg as expected but then as I turn west the heading changes from 0,-1,-2,...-179.  Once I hit south it flips over to 179 and proceeds 178,177,...,1,0 at north again.

 

Is this normal or should I be seeing a true compass heading of 0-359 deg?  

 

Thanks!

-Chris

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

Join diydrones

Email me when people reply –

Replies

  • what is - 170°? right, it's the same as 190°

    so your values are correct (add 360° when it gets negative to get your "real" values)

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…