henrioliv / sf9domahrs

Automatically exported from code.google.com/p/sf9domahrs
0 stars 0 forks source link

When is a compass not a compass #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Either a bug in the ahrs code or the python display code.

I found if I rotated the razor a full 360degrees in the horizontal plane, 
expecting the compass to traverse the full 360degrees, the compass oscillates 
around south instead.  

If I stand it on end it then seems to be able to spin all the way around, but 
if I deliberately turn the board 90degrees at a time the compass does not 
change by 90degrees each time.

If I hold it on its side I find that west and east align on the same plane.  
They are not on the local east-west plane (though I haven't checked whether 
this is the magnetic declination missing from the algorithms).  The niggly 
thing, the north-south plane, although they line up, are not 90degrees to the 
east-west.

Now is this a bug in the py code or just exactly how tedious is the 
configuration of this code??  Where is the info on the calibration of the 
sensors (short of the level and still at start up)?

Original issue reported on code.google.com by organicm...@gmail.com on 24 Jun 2012 at 5:35