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
#20
(2021-01-23, 10:37 AM)seandepagnier Wrote:
(2021-01-22, 03:57 PM)ironman Wrote: At the risk of going off-topic, but related nevertheless: after having leveled, how can pypilot distinguish between pitching an rolling?

It cannot unless you also manually dial in the correct compass offset angle.   This is also needed to get the correct compass heading rather than some relative heading.    If sensors are parallel or at right angles to the direction of the boat the this offset is 0, 90, 180 or -90.

In the future I intend for pypilot to be able to distinguish because of known boat motions (eg heeling) but this is not easy because of potential false assumptions.

With the way I oriented the IMU, pypilot always guesses pitch and rolling right, and normally I don't need much offset for the compass either. Below I documented how the IMU sits in my boat - mind it is upside down in the picture. Once 'leveled', with compass-offset=0, this way pitch and roll are indicated correctly; with compass-offset 90, pitch and roll swap, and with 180, they both flip. Never knew!

   

BTW I was getting interested in the pitch value ever since toying with the idea of snapshotting a masthead camera image when the pitch goes through zero. I'll let you know when that idea ever sees the light...
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: 1 Guest(s)