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
Vessel direction issue in OpenCPN
#1
Boat is tied up but the direction/heading in OpenCPN keep changing, from any direction to any  It seems random, but i cant figure out why.  I see i have some duplicated items in the Data Browser and wonder if this could be part of the problem?  

I'm attaching my Data Browser data here in the hope that someone can spot my error please.




Any ideas please?
Colin


Attached Files
.xlsx   databrowser.xlsx (Size: 22.47 KB / Downloads: 95)
Reply
#2
(2023-01-11, 04:56 PM)Sea-and-Sea Wrote: Boat is tied up but the direction/heading in OpenCPN keep changing, from any direction to any  It seems random, but i cant figure out why.  I see i have some duplicated items in the Data Browser and wonder if this could be part of the problem?  

I'm attaching my Data Browser data here in the hope that someone can spot my error please.




Any ideas please?
Colin

course over ground could be because the GPS is not moving, sometimes I´ll get a COG when stationary, though usually it´s Null. 
Were does  .Heading come from?  Looks like your AIS, does it have a compass?
Reply
#3
I also get this and have blamed my seatalk network for some time, however if I enable nmea as a plug-in and change the OpenCPN to use nmea rather thank SignalK it improves a lot.
Reply
#4
It looks like you are only getting a heading or course over ground from the AIS source, and not the OP source 9 at least at the minute.  Either way GPS units often calculate heading either by:
  • integrating the GPS signal (using consecutive signals and then calculating the direction based on the way that GPS position changes)
  • using differential GPS which is basically 2 receivers.
both of which are troublesome when you are "stationary", first - are you truly stationary when tied up?  No; and secondly - is the repeatability that good that the position error would not invert consecutive positions or two receivers that are close together? no again.


if you don't want to just ignore it, then you could fit a compass/magnetometer, <$10 and can be fitted via I2C to the Pi or ESP32, or you could filter it out in software.

I would definitely set one of those GPS sources as priority though (if you haven't already)
Reply
#5
ok - so i need to get my Moitessier HAT sorted to work with OP3. That will give me the compass data Smile

This probably explains why i wasn't seeing this earlier with OP2.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)