This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bad Compass
#21
Yes, it's true a small adjustment may be always needed especially if there are magnetic distortions. Then again, pypilot compass is for relative purposes and depending on distortions (or the actual mpu9255 used) you will not get exactly 90 degrees of change when the boat rotates 90 degrees.

So the compass offset will affect the pitch/roll alignment. Ideally you would set the compass offset to ensure there is no pitch when rolling, and accept the slight compass differences. The calibration is a compromise to ensure quick convergence rather than absolute precision which isn't needed for an autopilot, but then dialing the pypilot compass to read the same as a magnetic compass for example may lead to sligh pitch/roll mis alignments (hopefully a few degrees at most) This won't prevent the autopilot from basically working well because the basic pilot anyway makes use of the rate of change around the stationary z axis (which makes use of all the gyros) but is not affected by the compass alignment. In the future more algorithms may make use of other sensors, but I intend this to be for self-learing pilots which would end up compensating the misalignment anyway, although transferring the knowledge learned to a different pilot or even boat could be an issue...
Reply


Messages In This Thread
Bad Compass - by Vince - 2020-09-18, 06:33 PM
RE: Bad Compass - by seandepagnier - 2020-09-18, 09:50 PM
RE: Bad Compass - by Vince - 2020-09-21, 08:15 PM
RE: Bad Compass - by seandepagnier - 2020-09-21, 10:16 PM
RE: Bad Compass - by Vince - 2020-09-27, 05:29 AM
RE: Bad Compass - by Vince - 2020-09-29, 03:35 PM
RE: Bad Compass - by seandepagnier - 2020-09-29, 10:52 PM
RE: Bad Compass - by Vince - 2020-10-02, 02:18 AM
RE: Bad Compass - by CapnKernel - 2020-09-30, 08:44 AM
RE: Bad Compass - by CapnKernel - 2021-01-21, 12:33 AM
RE: Bad Compass - by seandepagnier - 2020-10-01, 12:21 AM
RE: Bad Compass - by seandepagnier - 2020-10-02, 03:26 AM
RE: Bad Compass - by seandepagnier - 2021-01-21, 02:19 AM
RE: Bad Compass - by CapnKernel - 2021-01-21, 07:41 AM
RE: Bad Compass - by seandepagnier - 2021-01-22, 01:55 AM
RE: Bad Compass - by ironman - 2021-01-22, 03:57 PM
RE: Bad Compass - by seandepagnier - 2021-01-23, 10:37 AM
RE: Bad Compass - by ironman - 2021-01-23, 11:21 PM
RE: Bad Compass - by hreuver - 2021-01-22, 05:36 PM
RE: Bad Compass - by hreuver - 2021-01-23, 11:03 AM
RE: Bad Compass - by seandepagnier - 2021-01-24, 04:23 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)