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
Solve ST2000 fluxgate compass problem using PyPilot?
#7
Thanks for all the replies.

Personally, I'm reluctant to modify a working ST2000 AP, which functions reasonably well and is very useful as is. So what I am looking to do is improve it's performance without any hardware modification to the AP itself.

On perusing the Seatalk protocol (http://www.thomasknauf.de/rap/seatalk2.htm), I see:

89 U2 VW XY 2Z Compass heading sent by ST40 compass instrument
(it is read as a compass heading by the ST1000(+) or ST2000(+) autopilot)
Compass heading in degrees:
The two lower bits of U * 90 +
the six lower bits of VW * 2 +
the two higher bits of U / 2 =
(U & 0x3) * 90 + (VW & 0x3F) * 2 + (U & 0xC) / 8
Locked stear reference (only send by the ST40 compass):
The two higher bits of V * 90 + XY / 2
Z & 0x2 = 0 : St40 in Standby mode
Z & 0x2 = 2 : St40 in Locked stear mode
Corresponding NMEA sentences: HDM, HDG, HDT, VHW

So my question shifts somewhat. Can PyPilot send Seatalk compass heading messages derived from the IMU?
Reply


Messages In This Thread
RE: Solve ST2000 fluxgate compass problem using PyPilot? - by madhatter101 - 2020-10-27, 03:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)